summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* scons: Remove old pipebuffer SConscriptJakob Bornecrantz2010-11-051-18/+0
|
* gallivm: add const qualifiers, fix comment stringBrian Paul2010-11-051-4/+4
|
* gallivm: alloca() was called too often for temporary arraysBrian Paul2010-11-051-0/+2
| | | | | | 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.
* tgsi: remove unused functionBrian Paul2010-11-041-11/+0
|
* gallivm: implement execution mask for scatter storesBrian Paul2010-11-041-7/+34
|
* gallivm: added lp_elem_type()Brian Paul2010-11-042-0/+20
|
* gallivm: add pixel offsets in scatter storesBrian Paul2010-11-041-2/+18
| | | | | We want to do the scatter store to sequential locations in memory for the vector of pixels we're processing in SOA format.
* gallivm: added debug code to dump temp registersBrian Paul2010-11-041-0/+51
|
* tgsi/build: Reduce interface clutter.Michal Krol2010-11-042-541/+367
| | | | Make private those functions that are used internally only.
* tgsi/exec: Get rid of obsolete condition codes.Michal Krol2010-11-042-33/+4
|
* tgsi/exec: Cleanup the remaining arithmetic instructions.Michal Krol2010-11-041-378/+413
| | | | As a result remove some nasty macros.
* gallivm: add some LLVM var labelsBrian Paul2010-11-031-6/+6
|
* gallivm: implement scatter stores into temp register fileBrian Paul2010-11-031-4/+47
| | | | | Something is not quite right, however. The piglit tests mentioned in fd.o bug 31226 still don't pass.
* scons: Revamp how to specify targets to build.José Fonseca2010-11-011-34/+37
| | | | | | | | | | | | | | | | | | | | | | 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.
* gallivm: Remove the EMMS opcodes.José Fonseca2010-10-281-10/+0
| | | | | Unnecessary now that lp_set_target_options() successful disables MMX code emission.
* gallivm: always enable LLVMAddInstructionCombiningPass()José Fonseca2010-10-281-7/+1
|
* gallium: Avoid using __doc__ in python scripts.José Fonseca2010-10-282-4/+4
|
* Fix build on systems where "python" is python 3.Kenneth Graunke2010-10-271-5/+5
| | | | | | | | | | | 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 <[email protected]> Signed-off-by: Matthew William Cox <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]>
* translate: remove unused prototypesBrian Paul2010-10-251-9/+0
|
* translate: use function typedefs, casts to silence warningsBrian Paul2010-10-252-27/+35
|
* rtasm: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+1
|
* util: use pointer_to_func() to silence warningBrian Paul2010-10-251-1/+2
|
* Merge branch 'primitive-restart-cleanup'Brian Paul2010-10-211-1/+85
|\ | | | | | | | | | | | | | | 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.
| * draw: implement primitive splitting for primitive restartBrian Paul2010-10-211-1/+85
| |
* | draw: fix typo in commentBrian Paul2010-10-211-1/+1
| |
* | gallivm: Silence uninitialized variable warning.Vinson Lee2010-10-211-1/+1
| | | | | | | | | | | | | | 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
* | gallivm: Silence uninitialized variable warnings.Vinson Lee2010-10-211-1/+1
| | | | | | | | | | | | | | 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
* | gallivm: Silence uninitialized variable warnings.Vinson Lee2010-10-211-2/+2
|/ | | | | | | | | | | | | 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
* draw: Remove unnecessary header.Vinson Lee2010-10-211-1/+0
|
* draw: use float version of LLVM Mul/Add instructionsBrian Paul2010-10-201-7/+7
| | | | LLVM 2.8 is pickier about int vs float instructions and operands.
* llvmpipe/draw: always enable LLVMAddInstructionCombiningPass()Brian Paul2010-10-201-7/+1
| | | | | | 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.
* draw: Move loop variable declaration outside for loop.Vinson Lee2010-10-191-1/+2
| | | | Fixes MSVC build.
* draw: make sure viewport gets updated in draw llvm shaderKeith Whitwell2010-10-193-27/+47
| | | | The viewport state was being baked in at compile time (oops...)
* Merge branch 'llvm-cliptest-viewport'Keith Whitwell2010-10-195-42/+455
|\
| * draw: corrections to allow for different cliptest casesHui Qi Tay2010-10-191-3/+5
| |
| * llvmpipe: clean up fields in draw_llvm_variant_keyKeith Whitwell2010-10-172-14/+9
| |
| * draw: corrections for w coordinateHui Qi Tay2010-10-171-2/+3
| |
| * draw: sanitize llvm variant keyHui Qi Tay2010-10-142-1/+3
| | | | | | | | Fixes recompilation, but seems to be broken with llvm 2.8.
| * draw: some changes to allow for runtime changes to userclip planesdelphi2010-10-105-20/+67
| |
| * draw: added userclip planes and updated variant_keydelphi2010-10-042-47/+99
| |
| * draw: added viewport and cliptest flagsHui Qi Tay2010-09-293-50/+98
| | | | | | | | | | | | | | Corrections in store_clip to store clip coordinates in AoS form. Viewport & cliptest flag options based on variant key. Put back draw_pt_post_vs and now 2 paths based on whether clipping occurs or not.
| * draw: cliptest and viewport done in a single loop in vertex shaderHui Qi Tay2010-09-292-27/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cliptesting now done at the end of vs in draw_llvm instead of draw_pt_post_vs. Added viewport mapping transformation and further cliptesting to vertex shader in draw_llvm.c Alternative path where vertex header setup, clip coordinates store, cliptesting and viewport mapping are done earlier in the vertex shader. Still need to hook this up properly according to the return value of "draw_llvm_shader" function.
* | gallivm: fix incorrect type for zero vector in emit_kilp()Brian Paul2010-10-191-1/+2
| | | | | | | | http://bugs.freedesktop.org/show_bug.cgi?id=30974
* | gallivm: Add a note about SSE4.1's nearest mode rounding.José Fonseca2010-10-181-0/+6
| |
* | gallivm: Comment lp_build_insert_new_block().José Fonseca2010-10-171-0/+8
| |
* | gallivm: Fix SoA cubemap derivative computation.José Fonseca2010-10-171-4/+4
| | | | | | | | | | | | Derivatives are now scalar. Broken since 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3.
* | gallivm: use util_snprintf()Brian Paul2010-10-151-1/+2
| |
* | gallivm: added lp_build_load_volatile()Brian Paul2010-10-152-0/+16
| | | | | | | | | | There's no LLVM C LLVMBuildLoadVolatile() function so roll our own. Not used anywhere at this time but can come in handy during debugging.
* | gallivm: added lp_build_print_vec4()Brian Paul2010-10-152-0/+24
| |
* | target-helpers: Remove per target software wrapper checkJakob Bornecrantz2010-10-152-18/+33
| | | | | | | | | | 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.