summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi
Commit message (Collapse)AuthorAgeFilesLines
* gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.cBrian2008-11-061-1/+58
|
* 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.
* 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
|
* gallium: added some sanity check assertions for constant buffer indexingBrian Paul2008-11-051-0/+4
|
* tgsi: Implement OPCODE_TRUNC.michal2008-11-051-1/+17
|
* tgsi: Build tgsi_text with makeJakob Bornecrantz2008-09-181-0/+1
|
* tgsi: Make tgsi dumps look more like mesa shader dumps.Jakob Bornecrantz2008-09-181-2/+3
|
* gallium: fix tgsi sanity checker with respect to END.Brian Paul2008-09-171-9/+7
| | | | | | 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.
* gallium: fix info entries for KIL, KILPBrian Paul2008-09-161-2/+2
| | | | KIL takes 1 src register. KILP uses no registers (uses cond codes).
* tgsi: Make tgsi_sanity.c compile with makeJakob Bornecrantz2008-09-162-0/+7
|
* tgsi: Fix newline pos.José Fonseca2008-09-101-1/+1
|
* tgsi: Verify constants are set before attempting to read them.José Fonseca2008-09-101-0/+1
|
* tgsi: Cleanup code.Michal Krol2008-09-081-50/+37
|
* tgsi: Refactor tgsi_dump to avoid using string buffers when dumping.José Fonseca2008-09-051-77/+83
| | | | | | | | 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...
* gallium: increase string buffer size to 16000 to avoid truncated output of ↵Brian Paul2008-09-021-1/+1
| | | | long shaders
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-2410-10/+11
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* gallium: replace LOG2() macro with util_fast_log2() inline funcBrian Paul2008-08-221-4/+4
|
* gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul2008-08-222-0/+49
| | | | | New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
* tgsi: Implement LOG opcode for SSE2 codegen.Michal Krol2008-08-192-5/+36
|
* tgsi: Implement EXP opcode for SSE2.Michal Krol2008-08-192-19/+53
|
* tgsi: Fix ARL opcode in SSE2 codegen.Michal Krol2008-08-192-25/+68
|
* tgsi: Workaround debug output buffer size limitations.Michal Krol2008-08-191-3/+18
|
* tgsi: Use NUM_CHANNELS.Michal Krol2008-08-191-4/+4
|
* tgsi: Update condition code vector when storing dest register.Michal Krol2008-08-181-1/+48
|
* tgsi: Saturate modifier obeys ExecMask.Michal Krol2008-08-181-4/+18
| | | | Implement NVIDIA [-1;+1] saturate mode.
* tgsi: Respect condition codes when storing destination register.Michal Krol2008-08-181-8/+113
|
* tgsi: Cosmetic changes.Michal Krol2008-08-181-19/+12
|
* tgsi: Add condition code (CC) register.Michal Krol2008-08-182-7/+35
|
* gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RETBrian Paul2008-08-131-4/+10
| | | | Fixes a few glean glsl regressions.
* tgsi: Initial code for KILP, needs CCs working to be complete.Michal Krol2008-08-131-3/+21
|
* tgsi: Use a homebrew version of toupper().Michal Krol2008-08-131-10/+17
|
* tgsi: Fix typo.Michal Krol2008-08-132-3/+3
|
* tgsi: Validate instruction opcode and operand counts.Michal Krol2008-08-131-0/+15
|
* tgsi: Use tgsi_info to dump opcode names.Michal Krol2008-08-132-257/+6
|
* tgsi: Use tgsi_opcode_info.Michal Krol2008-08-131-134/+3
|
* make: List tgsi_info.c.Michal Krol2008-08-131-0/+1
|
* scons: List tgsi_info.c.Michal Krol2008-08-131-0/+1
|
* tgsi: Opcode information.Michal Krol2008-08-132-0/+214
|
* tgsi: Swap meanings of KIL and KILP opcodes.Michal Krol2008-08-132-10/+24
|
* gallium: distinguish between KIL and KILPBrian Paul2008-08-121-2/+18
| | | | Note: KIL (unconditional) not done yet.
* tgsi: Prevent division by zero.José Fonseca2008-08-121-4/+12
|
* tgsi: Dump shaders to a string too.José Fonseca2008-08-092-46/+127
| | | | Again.
* tgsi: Put a newline after IMM.Michal Krol2008-08-041-13/+5
|
* tgsi: Insert newlines after the statements, instead of before.José Fonseca2008-07-301-3/+6
| | | | Prevents shader dumps from getting concatenated with the next debug message.
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-2827-32/+30
|
* tgsi: Silent msvc warning.José Fonseca2008-07-241-1/+1
| | | | | | Rather stupid warning: msvc is warning that converting from a 1bit structure bitfield to a unsigned char looses precision... /WX makes this an error.
* gallium: bump TGSI_EXEC_NUM_TEMPS to 128Brian Paul2008-07-231-1/+1
|
* gallium: print extended swizzle negation flagsBrian Paul2008-07-231-0/+8
|