summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2008-11-12draw: Add missing include.Michal Krol
2008-11-09gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics onlyBrian
This allows us to use SSE codegen with debug builds again. When PIPE_ARCH_SSE is set (w/ gcc -msse -msse2) we will also use the gcc SSE intrinsic functions.
2008-11-06Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-11-06gallium: debug code to print vertex array data (disabled)Brian Paul
2008-11-05Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
2008-11-05gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
2008-11-05gallium: added some debug code (disabled)Brian Paul
2008-11-05gallium: disable some debug outputBrian Paul
2008-11-05draw: Implement TGSI_OPCODE_TRUNC.michal
2008-11-05draw: Implement TGSI_OPCODE_TRUNC.michal
2008-10-29gallium: no longer pass max_inst to ppc_init_func()Brian Paul
2008-10-29gallium: clean-upsBrian Paul
2008-10-28gallium: remove old codeBrian Paul
2008-10-28gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵Brian Paul
as with constants
2008-10-23scons: ppc support.Michel Dänzer
2008-10-22gallium: new PPC built-in constants arrayBrian Paul
It's hard to form PPC vector immediates so load them from an array.
2008-10-22cell: turn on PPC assembly vertex transformBrian Paul
gears runs with it now (3x faster FPS than before).
2008-10-22gallium: temporarily disable PPC vertex shader until more things runBrian Paul
2008-10-22gallium: PPC vertex shader supportBrian Paul
Works, but dead code lingering, debug code present, etc.
2008-10-15gallium: fix the test in vs_exec_prepare() to avoid redundant bindingsBrian Paul
Fixes regressions seen in progs/samples/prim.c, progs/demos/ray.c
2008-10-15draw: don't assume output buffer pointer is alignedKeith Whitwell
(cherry picked from commit 23cc303994eb630c56b1224dfdac51dcea41ed03)
2008-10-10Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
2008-10-10gallium: silence warningAlan Hourihane
2008-10-07draw: don't assume output buffer pointer is alignedKeith Whitwell
2008-10-07draw: add switch for drivers to force vertex data passthroughKeith Whitwell
2008-10-07gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.
2008-10-06draw: Fix compiler errors on Windows.Michal Krol
2008-10-06make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell
2008-10-02draw: modify prefetching slightlyKeith Whitwell
2008-10-02draw: don't keep refetching constant inputsKeith Whitwell
2008-10-02draw: add streamlined paths for fetching linear vertsKeith Whitwell
2008-10-02Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-10-02draw: modify prefetching slightlyKeith Whitwell
2008-10-02draw: don't keep refetching constant inputsKeith Whitwell
2008-10-02draw: add streamlined paths for fetching linear vertsKeith Whitwell
2008-09-28Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-09-18Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell
Conflicts: src/mesa/shader/slang/slang_link.c
2008-09-17gallium: fix wide point / point coord semantic info (generic, not fog)Brian Paul
2008-09-14draw: Silence compiler warnings on Windows.Michal Krol
2008-09-12gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec pathBrian Paul
tgsi_exec_machine_bind_shader() isn't cheap so avoiding unecessary calls is a big win. A similar change should be done for softpipe's fragment exec path but extra care needs to be taken with the texture sampler state/params.
2008-09-03draw: Describe the steps in emit_load_R32G32B32A32.José Fonseca
2008-09-02gallium: fix out of bounds array errors in SSE executionBrian Paul
1. #define MAX_INPUTS/OUTPUTS/TEMPS/etc with better values. 2. Add assertions in aos_get_x86() to check register file indexes 3. Assert that constant regs haven't changed after running SSE code.
2008-09-02draw: Put INLINES where appropriate.José Fonseca
In the hope of MSVC inline some more functions, but without much result.
2008-08-26draw: attempt atomic submit of large drawelements callsKeith Whitwell
2008-08-25gallium: added const qualifiers on some draw funcsBrian
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: replace align_int() with align()Brian Paul
The two functions are identical. Removed align_int() from p_util.h
2008-08-22gallium: stop using FABSF() macroBrian Paul
2008-08-22gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
2008-08-20gallium: fix typo in LINE() macro (replace i+1 with i1 var)Brian Paul
We were sometimes referencing an invalid vertex. Fixes progs/trivial/line-clip.c test among others.