summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | wrapper: Add a way to dewrap a pipe screen without destroying itJakob Bornecrantz2010-10-151-2/+2
| |
* | wrapper: Fix spellingJakob Bornecrantz2010-10-151-1/+1
| |
* | gallium: move some intrinsics helpers to u_sse.hKeith Whitwell2010-10-151-0/+74
| |
* | tgsi: add scanner support for centroid inputsDave Airlie2010-10-152-0/+2
| |
* | gallivm: add compile-time option to emit inst addrs and/or line numbersBrian Paul2010-10-141-3/+10
| | | | | | | | Disabling address printing is helpful for diffing.
* | gallivm: More accurate float -> 24bit & 32bit unorm conversion.José Fonseca2010-10-131-40/+86
| |
* | gallivm: work-around trilinear mipmap filtering regression with LLVM 2.8Brian Paul2010-10-131-0/+20
| | | | | | | | The bug only happens on the AOS / fixed-pt path.
* | gallivm: Remove unnecessary header.Vinson Lee2010-10-131-1/+0
| |
* | gallivm: only use lp_build_conv 4x4f -> 1x16 ub fastpath with sse2Roland Scheidegger2010-10-131-19/+5
| | | | | | | | | | | | | | | | This is relying on lp_build_pack2 using the sse2 pack intrinsics which handle clamping. (Alternatively could have make it use lp_build_packs2 but it might not even produce more efficient code than not using the fastpath in the first place.)