summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/tgsi
AgeCommit message (Collapse)Author
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-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
2008-11-05tgsi: Implement OPCODE_TRUNC.michal
2008-09-18tgsi: Build tgsi_text with makeJakob Bornecrantz
2008-09-18tgsi: Make tgsi dumps look more like mesa shader dumps.Jakob Bornecrantz
2008-09-17gallium: fix tgsi sanity checker with respect to END.Brian Paul
Subroutine code may be found after the END instruction so it's not always the last instruction. At least check for presence of exactly one END instruction though.
2008-09-16gallium: fix info entries for KIL, KILPBrian Paul
KIL takes 1 src register. KILP uses no registers (uses cond codes).
2008-09-16tgsi: Make tgsi_sanity.c compile with makeJakob Bornecrantz
2008-09-10tgsi: Fix newline pos.José Fonseca
2008-09-10tgsi: Verify constants are set before attempting to read them.José Fonseca
2008-09-08tgsi: Cleanup code.Michal Krol
2008-09-05tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.José Fonseca
This fixes a stack overflow when dumping shaders. It ended up being pretty much as the original code Michal had before, before I went on a cleanup rampage on it and took things that ended up needing...
2008-09-02gallium: increase string buffer size to 16000 to avoid truncated output of ↵Brian Paul
long shaders
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 LOG2() macro with util_fast_log2() inline funcBrian 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-19tgsi: Implement LOG opcode for SSE2 codegen.Michal Krol
2008-08-19tgsi: Implement EXP opcode for SSE2.Michal Krol
2008-08-19tgsi: Fix ARL opcode in SSE2 codegen.Michal Krol
2008-08-19tgsi: Workaround debug output buffer size limitations.Michal Krol
2008-08-19tgsi: Use NUM_CHANNELS.Michal Krol
2008-08-18tgsi: Update condition code vector when storing dest register.Michal Krol
2008-08-18tgsi: Saturate modifier obeys ExecMask.Michal Krol
Implement NVIDIA [-1;+1] saturate mode.
2008-08-18tgsi: Respect condition codes when storing destination register.Michal Krol
2008-08-18tgsi: Cosmetic changes.Michal Krol
2008-08-18tgsi: Add condition code (CC) register.Michal Krol
2008-08-13gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RETBrian Paul
Fixes a few glean glsl regressions.
2008-08-13tgsi: Initial code for KILP, needs CCs working to be complete.Michal Krol
2008-08-13tgsi: Use a homebrew version of toupper().Michal Krol
2008-08-13tgsi: Fix typo.Michal Krol
2008-08-13tgsi: Validate instruction opcode and operand counts.Michal Krol
2008-08-13tgsi: Use tgsi_info to dump opcode names.Michal Krol
2008-08-13tgsi: Use tgsi_opcode_info.Michal Krol
2008-08-13make: List tgsi_info.c.Michal Krol
2008-08-13scons: List tgsi_info.c.Michal Krol
2008-08-13tgsi: Opcode information.Michal Krol
2008-08-13tgsi: Swap meanings of KIL and KILP opcodes.Michal Krol
2008-08-12gallium: distinguish between KIL and KILPBrian Paul
Note: KIL (unconditional) not done yet.
2008-08-12tgsi: Prevent division by zero.José Fonseca
2008-08-09tgsi: Dump shaders to a string too.José Fonseca
Again.
2008-08-04tgsi: Put a newline after IMM.Michal Krol
2008-07-30tgsi: Insert newlines after the statements, instead of before.José Fonseca
Prevents shader dumps from getting concatenated with the next debug message.
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-24tgsi: Silent msvc warning.José Fonseca
Rather stupid warning: msvc is warning that converting from a 1bit structure bitfield to a unsigned char looses precision... /WX makes this an error.
2008-07-23gallium: bump TGSI_EXEC_NUM_TEMPS to 128Brian Paul
2008-07-23gallium: print extended swizzle negation flagsBrian Paul
2008-07-23tgsi: Fix tgsi_util_get_full_src_register_extswizzle().Michal Krol