summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-06-02gallivm: bump up LP_BUILD_FLOW_MAX_VARIABLESBrian Paul
Fixes failed assertion with piglit fbo-drawbuffers-fragcolor.c See fd.o bug 28358. With 8 color buffers + Z we need to declare 33 vars, at least.
2010-06-02gallivm: Add a lp_build_const_elem().José Fonseca
2010-06-02llvmpipe: Store often used LLVM types in the lp_build_context.José Fonseca
2010-06-02gallivm: Zero min_lod and max_lod when only one view is selected and min/mag ↵José Fonseca
filter are equal.
2010-06-02gallivm: Make lp_build_sample_wrap_int usage more accurate.José Fonseca
Fixes mesa texwrap demo border with GL_CLAMP.
2010-06-02gallivm: Don't use reciprocate in lp_build_sample_wrap_linear().José Fonseca
Always clamp the scaled coordinates.
2010-06-02gallivm: Avoid fp arithmetic in lp_build_sample_wrap_nearest().José Fonseca
2010-06-02gallivm: Don't use lp_build_sample_wrap_nearest()José Fonseca
Always clamp with scaled coordinates.
2010-06-01tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca
It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
2010-06-01tgsi: Remove tgsi-instruction-set.txt.José Fonseca
Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
2010-06-01tgsi: Determine which shader input channels are effectively.José Fonseca
TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
2010-05-31gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu
Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
2010-05-30util: Add inline function for approximate floating point comparison.José Fonseca
2010-05-30draw: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30util: Generic pointer to func conversion helper.José Fonseca
That observes strict-aliasing rules.
2010-05-27gallivm: add assertions to check type of phi variablesBrian Paul
2010-05-27util: Also add a define for the dynamic library's prefix.José Fonseca
2010-05-26gallivm: Remove unnecessary headers.Vinson Lee
2010-05-26util: Remove unnecessary headers.Vinson Lee
2010-05-25util: update comments at blitterMarek Olšák
2010-05-25util: fix indentation in blitterMarek Olšák
2010-05-25r300g,util: remove pipe_surface from the util_blitter_copy interface and ↵Marek Olšák
clean up
2010-05-25r300g,util: remove pipe_surface from the util_blitter_fill interface and ↵Marek Olšák
clean up
2010-05-25util: remove unused util_blitter_copy_surfaceMarek Olšák
2010-05-25gallivm: Choose an appropriate code generation optimization level.José Fonseca
'Default' unless GALLIVM_DEBUG=nopt option is set.
2010-05-24gallivm: Efficient implementation of sin/cos.Qicheng Christopher Li
Based on Julien Pommier's SSE and SSE2 algorithms. Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-23util/blitter: allow NULL clear colorMarek Olšák
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-20gallivm: rename a var: s/val/array_size/Brian Paul
2010-05-20gallivm: fix spelling in commentBrian Paul
2010-05-20gallivm: handle pointer types in lp_dump_llvmtype()Brian Paul
2010-05-20gallium: fix/update tex target dumpingBrian Paul
2010-05-20gallium: added util_dump_logicop()Brian Paul
2010-05-19util: fix obvious util_blitter_copy bugs...Roland Scheidegger
2010-05-19util: util_blitter_fill no longer needs to handle overlapRoland Scheidegger
2010-05-18util: fix some leftover util_surface_fill/copy callsRoland Scheidegger
2010-05-17gallium/util: adapt util code to interface changesRoland Scheidegger
The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
2010-05-14draw: fix front/back error in unfilled pipeline stageKeith Whitwell
2010-05-14draw: fix typo checking for unfilled polygonsKeith Whitwell
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-05-14util: fix copy_rect stride in default transfer_inline_writeKeith Whitwell
2010-05-13rtasm: fix void * / func * casting warningsBrian Paul
2010-05-13draw: silence casting warningsBrian Paul
2010-05-13gallivm: silence uninitialized var warningBrian Paul
2010-05-13gallivm: silence casting warningBrian Paul
2010-05-13gallivm: silence uninitialized var warningBrian Paul
2010-05-13llvmpipe: silence uninitialized var warningsBrian Paul
2010-05-13gallivm: added lp_dump_llvmtype() debug helperBrian Paul