summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
2009-01-27tgsi: silence some warningsKeith Whitwell
2009-01-19tgsi: change an if to an else-if, added const qual, added commentsBrian Paul
2009-01-10gallium: use tgsi_dump_instruction() instead of ppc_comment()Brian Paul
2009-01-10gallium: remove unused struct typeBrian Paul
2009-01-10gallium: fix register clobber bug in TGSI->PPC codegenBrian Paul
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.
2009-01-10gallium: emit comments in TGSI->PPC codegenBrian Paul
2009-01-08Merge commit 'origin/gallium-0.1' into gallium-0.2José Fonseca
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
2009-01-06gallium: added centroid/invarient fields to declarationsBrian Paul
(cherry picked from commit 4de360e67d83cd6503fb8ad053bb8afe507db5fa)
2009-01-06tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul
(cherry picked from commit 434e255eae90b0f3d836d452b7d3b0c5aadf78b8)
2008-12-30gallium: Remove unused variables.José Fonseca
2008-12-24gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul
2008-12-23tgsi: fix incomplete rename of loop counter variableKeith Whitwell
2008-12-23tgsi: Dump indirect register swizzle.Michal Krol
2008-12-22tgsi: Return 0.0 for negative constant register indices.Michal Krol
2008-12-22tgsi: Keep address register as a floating point.Michal Krol
2008-12-18tgsi: scan for additional info: uses_fogcoord, uses_frontfacingBrian Paul
2008-12-18tgsi: scan for additional info: uses_fogcoord, uses_frontfacingBrian Paul
2008-12-16tgsi: use flr(), not trunc() for ARLBrian Paul
2008-12-01gallium: minor texture-related clean-ups, comments, etcBrian
2008-11-26tgsi: Reenable OPCODE_ARR.Michal Krol
2008-11-26tgsi: Fix build.Michal Krol
2008-11-26tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol
2008-11-26tgsi: Implement OPCODE_SSG/SGN.Michal Krol
2008-11-26gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone.Brian Paul
2008-11-26Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend."Brian Paul
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.
2008-11-26tgsi: Implement OPCODE_SSG/SGN.Michal Krol
2008-11-26tgsi: Implement OPCODE_ARR.Michal Krol
2008-11-26tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol
2008-11-26tgsi: Implement OPCODE_ARR.Michal Krol
2008-11-26tgsi: Implement OPCODE_ROUND for SSE2 backend.Michal Krol
2008-11-25gallium: added centroid/invarient fields to declarationsBrian Paul
2008-11-24tgsi: add tgsi_declaration fields for centroid sampling, invariant optimizationBrian Paul
2008-11-23softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
2008-11-18tgsi: Return 0.0 for negative constant register indices.Michal Krol
2008-11-18tgsi: Keep address register as a floating point.Michal Krol
2008-11-12tgsi: More comments on source register indirect and 2D indexing.Michal Krol
2008-11-12tgsi: Fix a bug with saving/restoring xmm registers upon func call.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-08gallium: implement SSE codegen for TGSI_OPCODE_NRM/NRM4Brian
2008-11-07gallium: added SSE for DP2, DP2ABrian Paul
2008-11-07gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4Brian Paul
2008-11-07Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-11-06gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.cBrian
2008-11-06Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-11-05gallium: check execution mask in indirect register loadsBrian
Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing).
2008-11-05gallium: don't range check tgsi register index for indirect accessesBrian
Fixes progs/vp/arl.txt test.
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 tgsi_set_exec_mask()Brian Paul
2008-11-05gallium: added some sanity check assertions for constant buffer indexingBrian Paul