Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: Fix build -- rename Size to NrTokens. | Michal Krol | 2009-02-10 | 8 | -20/+20 |
| | |||||
* | tgsi: silence some warnings | Keith Whitwell | 2009-01-27 | 1 | -0/+37 |
| | |||||
* | tgsi: change an if to an else-if, added const qual, added comments | Brian Paul | 2009-01-19 | 1 | -3/+5 |
| | |||||
* | gallium: use tgsi_dump_instruction() instead of ppc_comment() | Brian Paul | 2009-01-10 | 1 | -84/+7 |
| | |||||
* | gallium: remove unused struct type | Brian Paul | 2009-01-10 | 1 | -8/+0 |
| | |||||
* | gallium: fix register clobber bug in TGSI->PPC codegen | Brian Paul | 2009-01-10 | 1 | -10/+41 |
| | | | | | | | | When negating a src vector that's stored in a altivec register, need to put negated value into a new register so we don't upset the original value. This solves the dark colors in the mandelbrot GLSL demo. Also, use new predicate functions to check if a TGSI temp is stored in an altivec register. | ||||
* | gallium: emit comments in TGSI->PPC codegen | Brian Paul | 2009-01-10 | 1 | -2/+90 |
| | |||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | José Fonseca | 2009-01-08 | 2 | -4/+7 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_exec.c src/gallium/drivers/cell/spu/spu_command.h src/gallium/include/pipe/p_shader_tokens.h src/mesa/main/config.h src/mesa/main/mtypes.h src/mesa/shader/prog_execute.c src/mesa/shader/slang/slang_emit.c src/mesa/state_tracker/st_program.c src/mesa/state_tracker/wgl/stw_wgl.h src/mesa/state_tracker/wgl/stw_wgl_pixelformat.h | ||||
| * | gallium: added centroid/invarient fields to declarations | Brian Paul | 2009-01-06 | 2 | -0/+8 |
| | | | | | | | | (cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa) | ||||
| * | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization | Brian Paul | 2009-01-06 | 2 | -0/+10 |
| | | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8) | ||||
| * | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4 | Brian Paul | 2008-12-24 | 1 | -3/+19 |
| | | |||||
| * | tgsi: fix incomplete rename of loop counter variable | Keith Whitwell | 2008-12-23 | 1 | -1/+1 |
| | | |||||
| * | tgsi: Dump indirect register swizzle. | Michal Krol | 2008-12-23 | 1 | -3/+6 |
| | | |||||
| * | tgsi: Return 0.0 for negative constant register indices. | Michal Krol | 2008-12-22 | 1 | -8/+16 |
| | | |||||
| * | tgsi: Keep address register as a floating point. | Michal Krol | 2008-12-22 | 1 | -20/+9 |
| | | |||||
| * | tgsi: scan for additional info: uses_fogcoord, uses_frontfacing | Brian Paul | 2008-12-18 | 2 | -15/+37 |
| | | |||||
| * | tgsi: Reenable OPCODE_ARR. | Michal Krol | 2008-11-26 | 1 | -3/+2 |
| | | |||||
| * | tgsi: Fix build. | Michal Krol | 2008-11-26 | 1 | -6/+2 |
| | | |||||
| * | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | | |||||
| * | tgsi: Implement OPCODE_SSG/SGN. | Michal Krol | 2008-11-26 | 2 | -2/+46 |
| | | |||||
| * | gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone. | Brian Paul | 2008-11-26 | 1 | -1/+2 |
| | | |||||
| * | Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend." | Brian Paul | 2008-11-26 | 1 | -28/+1 |
| | | | | | | | | | | | | | | This reverts commit 685fd2c035e284db2447ede0f6da278adaa70a0d. Does not compile since emit_rnd() is trying to pass 4 params to emit_func_call_dst() which takes 3 params. | ||||
| * | tgsi: Implement OPCODE_ARR. | Michal Krol | 2008-11-26 | 2 | -5/+7 |
| | | |||||
| * | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | | |||||
* | | gallium: Remove unused variables. | José Fonseca | 2008-12-30 | 1 | -1/+0 |
| | | |||||
* | | tgsi: scan for additional info: uses_fogcoord, uses_frontfacing | Brian Paul | 2008-12-18 | 2 | -15/+37 |
| | | |||||
* | | tgsi: use flr(), not trunc() for ARL | Brian Paul | 2008-12-16 | 1 | -1/+1 |
| | | |||||
* | | gallium: minor texture-related clean-ups, comments, etc | Brian | 2008-12-01 | 1 | -2/+2 |
| | | |||||
* | | tgsi: Implement OPCODE_SSG/SGN. | Michal Krol | 2008-11-26 | 2 | -2/+46 |
| | | |||||
* | | tgsi: Implement OPCODE_ARR. | Michal Krol | 2008-11-26 | 2 | -5/+7 |
| | | |||||
* | | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | | |||||
* | | gallium: added centroid/invarient fields to declarations | Brian Paul | 2008-11-25 | 2 | -0/+8 |
| | | |||||
* | | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimization | Brian Paul | 2008-11-24 | 2 | -0/+10 |
| | | |||||
* | | softpipe: remove old/unneeded dependencies between TGSI exec and softpipe | Brian | 2008-11-23 | 2 | -13/+6 |
| | | | | | | | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs. | ||||
* | | tgsi: Return 0.0 for negative constant register indices. | Michal Krol | 2008-11-18 | 1 | -8/+16 |
| | | |||||
* | | tgsi: Keep address register as a floating point. | Michal Krol | 2008-11-18 | 1 | -20/+9 |
| | | |||||
* | | tgsi: More comments on source register indirect and 2D indexing. | Michal Krol | 2008-11-12 | 2 | -10/+65 |
| | | |||||
* | | tgsi: Fix a bug with saving/restoring xmm registers upon func call. | Michal Krol | 2008-11-12 | 1 | -3/+3 |
| | | |||||
* | | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics only | Brian | 2008-11-09 | 1 | -9/+33 |
| | | | | | | | | | | | | 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. | ||||
* | | gallium: implement SSE codegen for TGSI_OPCODE_NRM/NRM4 | Brian | 2008-11-08 | 1 | -1/+33 |
| | | |||||
* | | gallium: added SSE for DP2, DP2A | Brian Paul | 2008-11-07 | 1 | -2/+22 |
| | | |||||
* | | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4 | Brian Paul | 2008-11-07 | 1 | -3/+19 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-11-07 | 1 | -1/+58 |
|\| | |||||
| * | gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.c | Brian | 2008-11-06 | 1 | -1/+58 |
| | | |||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-11-06 | 2 | -5/+32 |
|\| | |||||
| * | gallium: check execution mask in indirect register loads | Brian | 2008-11-05 | 1 | -0/+23 |
| | | | | | | | | | | Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing). | ||||
| * | gallium: don't range check tgsi register index for indirect accesses | Brian | 2008-11-05 | 1 | -5/+9 |
| | | | | | | | | Fixes progs/vp/arl.txt test. | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-11-05 | 3 | -3/+61 |
|\| | | | | | | | | | | | | | | | | | 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 | ||||
| * | gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code | Brian Paul | 2008-11-05 | 1 | -3/+32 |
| | | | | | | | | | | This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments. | ||||
| * | gallium: added tgsi_set_exec_mask() | Brian Paul | 2008-11-05 | 1 | -0/+25 |
| | |