summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-11-12tgsi: fill out CAPs for indirect addressingMarek Olšák
2010-11-10gallivm: implement indirect addressing over inputsZack Rusin
Instead of messing with the callers simply copy our inputs into a alloca array at the beginning of the function and then use it. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2010-11-09gallivm: Allocate TEMP/OUT arrays only once.José Fonseca
2010-11-09gallivm: implement indirect addressing of the output registersZack Rusin
2010-11-08os: Open file streams in binary mode.Michal Krol
Otherwise we'll get garbled data on Windows.
2010-11-05scons: Remove old pipebuffer SConscriptJakob Bornecrantz
2010-11-05gallivm: add const qualifiers, fix comment stringBrian Paul
2010-11-05gallivm: alloca() was called too often for temporary arraysBrian Paul
Need to increment the array index to point to the last value. Before, we were calling lp_build_array_alloca() over and over for no reason.
2010-11-04tgsi: remove unused functionBrian Paul
2010-11-04gallivm: implement execution mask for scatter storesBrian Paul
2010-11-04gallivm: added lp_elem_type()Brian Paul
2010-11-04gallivm: add pixel offsets in scatter storesBrian Paul
We want to do the scatter store to sequential locations in memory for the vector of pixels we're processing in SOA format.
2010-11-04gallivm: added debug code to dump temp registersBrian Paul
2010-11-04tgsi/build: Reduce interface clutter.Michal Krol
Make private those functions that are used internally only.
2010-11-04tgsi/exec: Get rid of obsolete condition codes.Michal Krol
2010-11-04tgsi/exec: Cleanup the remaining arithmetic instructions.Michal Krol
As a result remove some nasty macros.
2010-11-03gallivm: add some LLVM var labelsBrian Paul
2010-11-03gallivm: implement scatter stores into temp register fileBrian Paul
Something is not quite right, however. The piglit tests mentioned in fd.o bug 31226 still don't pass.
2010-11-01scons: Revamp how to specify targets to build.José Fonseca
Use scons target and dependency system instead of ad-hoc options. Now is simply a matter of naming what to build. For example: scons libgl-xlib scons libgl-gdi scons graw-progs scons llvmpipe and so on. And there is also the possibility of scepcified subdirs, e.g. scons src/gallium/drivers If nothing is specified then everything will be build. There might be some rough corners over the next days. Please bare with me.
2010-10-28gallivm: Remove the EMMS opcodes.José Fonseca
Unnecessary now that lp_set_target_options() successful disables MMX code emission.
2010-10-28gallivm: always enable LLVMAddInstructionCombiningPass()José Fonseca
2010-10-28gallium: Avoid using __doc__ in python scripts.José Fonseca
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-25translate: remove unused prototypesBrian Paul
2010-10-25translate: use function typedefs, casts to silence warningsBrian Paul
2010-10-25rtasm: use pointer_to_func() to silence warningBrian Paul
2010-10-25util: use pointer_to_func() to silence warningBrian Paul
2010-10-21Merge branch 'primitive-restart-cleanup'Brian Paul
Conflicts: docs/relnotes-7.10.html This branch is a re-do of the primitive-restart branch with all the intermediate/temporary stuff cleaned out.
2010-10-21draw: implement primitive splitting for primitive restartBrian Paul
2010-10-21draw: fix typo in commentBrian Paul
2010-10-21gallivm: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. gallivm/lp_bld_tgsi_aos.c: In function 'lp_build_tgsi_aos': gallivm/lp_bld_tgsi_aos.c:516: warning: 'dst0' may be used uninitialized in this function gallivm/lp_bld_tgsi_aos.c:516: note: 'dst0' was declared here
2010-10-21gallivm: Silence uninitialized variable warnings.Vinson Lee
Fixes these GCC warnings. gallivm/lp_bld_sample_aos.c: In function 'lp_build_sample_image_nearest': gallivm/lp_bld_sample_aos.c:271: warning: 't_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:271: warning: 'r_ipart' may be used uninitialized in this function
2010-10-21gallivm: Silence uninitialized variable warnings.Vinson Lee
Fixes these GCC warnings. gallivm/lp_bld_sample_aos.c: In function 'lp_build_sample_image_linear': gallivm/lp_bld_sample_aos.c:439: warning: 'r_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_ipart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart_hi' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:438: warning: 't_fpart_lo' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart_hi' may be used uninitialized in this function gallivm/lp_bld_sample_aos.c:439: warning: 'r_fpart_lo' may be used uninitialized in this function
2010-10-21draw: Remove unnecessary header.Vinson Lee
2010-10-20draw: use float version of LLVM Mul/Add instructionsBrian Paul
LLVM 2.8 is pickier about int vs float instructions and operands.
2010-10-20llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul
We were working around an LLVM 2.5 bug but we're using LLVM 2.6 or later now. This basically reverts commit baddcbc5225e12052b3bc8c07a8b65243d76574d. This fixes the piglit bug/tri-tex-crash.c failure.
2010-10-19draw: Move loop variable declaration outside for loop.Vinson Lee
Fixes MSVC build.
2010-10-19draw: make sure viewport gets updated in draw llvm shaderKeith Whitwell
The viewport state was being baked in at compile time (oops...)
2010-10-19Merge branch 'llvm-cliptest-viewport'Keith Whitwell
2010-10-19draw: corrections to allow for different cliptest casesHui Qi Tay
2010-10-19gallivm: fix incorrect type for zero vector in emit_kilp()Brian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=30974
2010-10-18gallivm: Add a note about SSE4.1's nearest mode rounding.José Fonseca
2010-10-17gallivm: Comment lp_build_insert_new_block().José Fonseca
2010-10-17llvmpipe: clean up fields in draw_llvm_variant_keyKeith Whitwell
2010-10-17draw: corrections for w coordinateHui Qi Tay
2010-10-17gallivm: Fix SoA cubemap derivative computation.José Fonseca
Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3.
2010-10-15gallivm: use util_snprintf()Brian Paul
2010-10-15gallivm: added lp_build_load_volatile()Brian Paul
There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
2010-10-15gallivm: added lp_build_print_vec4()Brian Paul
2010-10-15target-helpers: Remove per target software wrapper checkJakob Bornecrantz
Instead of having a NAME_SOFTWARE check just use the GALLIUM_DRIVER instead but set the default to native which is the same as not wrapped.