summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Fix build -- rename Size to NrTokens.Michal Krol2009-02-108-20/+20
|
* tgsi: silence some warningsKeith Whitwell2009-01-271-0/+37
|
* tgsi: change an if to an else-if, added const qual, added commentsBrian Paul2009-01-191-3/+5
|
* gallium: use tgsi_dump_instruction() instead of ppc_comment()Brian Paul2009-01-101-84/+7
|
* gallium: remove unused struct typeBrian Paul2009-01-101-8/+0
|
* gallium: fix register clobber bug in TGSI->PPC codegenBrian Paul2009-01-101-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 codegenBrian Paul2009-01-101-2/+90
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca2009-01-082-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 declarationsBrian Paul2009-01-062-0/+8
| | | | | | | | (cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa)
| * tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2009-01-062-0/+10
| | | | | | | | (cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
| * gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul2008-12-241-3/+19
| |
| * tgsi: fix incomplete rename of loop counter variableKeith Whitwell2008-12-231-1/+1
| |
| * tgsi: Dump indirect register swizzle.Michal Krol2008-12-231-3/+6
| |
| * tgsi: Return 0.0 for negative constant register indices.Michal Krol2008-12-221-8/+16
| |
| * tgsi: Keep address register as a floating point.Michal Krol2008-12-221-20/+9
| |
| * tgsi: scan for additional info: uses_fogcoord, uses_frontfacingBrian Paul2008-12-182-15/+37
| |
| * tgsi: Reenable OPCODE_ARR.Michal Krol2008-11-261-3/+2
| |
| * tgsi: Fix build.Michal Krol2008-11-261-6/+2
| |
| * tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol2008-11-261-1/+28
| |
| * tgsi: Implement OPCODE_SSG/SGN.Michal Krol2008-11-262-2/+46
| |
| * gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone.Brian Paul2008-11-261-1/+2
| |
| * Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend."Brian Paul2008-11-261-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 Krol2008-11-262-5/+7
| |
| * tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol2008-11-261-1/+28
| |
* | gallium: Remove unused variables.José Fonseca2008-12-301-1/+0
| |
* | tgsi: scan for additional info: uses_fogcoord, uses_frontfacingBrian Paul2008-12-182-15/+37
| |
* | tgsi: use flr(), not trunc() for ARLBrian Paul2008-12-161-1/+1
| |
* | gallium: minor texture-related clean-ups, comments, etcBrian2008-12-011-2/+2
| |
* | tgsi: Implement OPCODE_SSG/SGN.Michal Krol2008-11-262-2/+46
| |
* | tgsi: Implement OPCODE_ARR.Michal Krol2008-11-262-5/+7
| |
* | tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol2008-11-261-1/+28
| |
* | gallium: added centroid/invarient fields to declarationsBrian Paul2008-11-252-0/+8
| |
* | tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul2008-11-242-0/+10
| |
* | softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-232-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 Krol2008-11-181-8/+16
| |
* | tgsi: Keep address register as a floating point.Michal Krol2008-11-181-20/+9
| |
* | tgsi: More comments on source register indirect and 2D indexing.Michal Krol2008-11-122-10/+65
| |
* | tgsi: Fix a bug with saving/restoring xmm registers upon func call.Michal Krol2008-11-121-3/+3
| |
* | gallium: use PIPE_ARCH_SSE to protect use of SSE instrinsics onlyBrian2008-11-091-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/NRM4Brian2008-11-081-1/+33
| |
* | gallium: added SSE for DP2, DP2ABrian Paul2008-11-071-2/+22
| |
* | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul2008-11-071-3/+19
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-071-1/+58
|\|
| * gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.cBrian2008-11-061-1/+58
| |
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-062-5/+32
|\|
| * gallium: check execution mask in indirect register loadsBrian2008-11-051-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 accessesBrian2008-11-051-5/+9
| | | | | | | | Fixes progs/vp/arl.txt test.
* | Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-053-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 codeBrian Paul2008-11-051-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 Paul2008-11-051-0/+25
| |