Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.c | Brian | 2008-11-06 | 1 | -1/+58 |
| | |||||
* | 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. | ||||
* | 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 |
| | |||||
* | gallium: added some sanity check assertions for constant buffer indexing | Brian Paul | 2008-11-05 | 1 | -0/+4 |
| | |||||
* | tgsi: Implement OPCODE_TRUNC. | michal | 2008-11-05 | 1 | -1/+17 |
| | |||||
* | tgsi: Build tgsi_text with make | Jakob Bornecrantz | 2008-09-18 | 1 | -0/+1 |
| | |||||
* | tgsi: Make tgsi dumps look more like mesa shader dumps. | Jakob Bornecrantz | 2008-09-18 | 1 | -2/+3 |
| | |||||
* | gallium: fix tgsi sanity checker with respect to END. | Brian Paul | 2008-09-17 | 1 | -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, KILP | Brian Paul | 2008-09-16 | 1 | -2/+2 |
| | | | | KIL takes 1 src register. KILP uses no registers (uses cond codes). | ||||
* | tgsi: Make tgsi_sanity.c compile with make | Jakob Bornecrantz | 2008-09-16 | 2 | -0/+7 |
| | |||||
* | tgsi: Fix newline pos. | José Fonseca | 2008-09-10 | 1 | -1/+1 |
| | |||||
* | tgsi: Verify constants are set before attempting to read them. | José Fonseca | 2008-09-10 | 1 | -0/+1 |
| | |||||
* | tgsi: Cleanup code. | Michal Krol | 2008-09-08 | 1 | -50/+37 |
| | |||||
* | tgsi: Refactor tgsi_dump to avoid using string buffers when dumping. | José Fonseca | 2008-09-05 | 1 | -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 Paul | 2008-09-02 | 1 | -1/+1 |
| | | | | long shaders | ||||
* | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | 2008-08-24 | 10 | -10/+11 |
| | | | | Also, rename p_tile.[ch] to u_tile.[ch] | ||||
* | gallium: replace LOG2() macro with util_fast_log2() inline func | Brian Paul | 2008-08-22 | 1 | -4/+4 |
| | |||||
* | gallium: use new util_fast_exp2(), _log2(), pow() functions | Brian Paul | 2008-08-22 | 2 | -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 Krol | 2008-08-19 | 2 | -5/+36 |
| | |||||
* | tgsi: Implement EXP opcode for SSE2. | Michal Krol | 2008-08-19 | 2 | -19/+53 |
| | |||||
* | tgsi: Fix ARL opcode in SSE2 codegen. | Michal Krol | 2008-08-19 | 2 | -25/+68 |
| | |||||
* | tgsi: Workaround debug output buffer size limitations. | Michal Krol | 2008-08-19 | 1 | -3/+18 |
| | |||||
* | tgsi: Use NUM_CHANNELS. | Michal Krol | 2008-08-19 | 1 | -4/+4 |
| | |||||
* | tgsi: Update condition code vector when storing dest register. | Michal Krol | 2008-08-18 | 1 | -1/+48 |
| | |||||
* | tgsi: Saturate modifier obeys ExecMask. | Michal Krol | 2008-08-18 | 1 | -4/+18 |
| | | | | Implement NVIDIA [-1;+1] saturate mode. | ||||
* | tgsi: Respect condition codes when storing destination register. | Michal Krol | 2008-08-18 | 1 | -8/+113 |
| | |||||
* | tgsi: Cosmetic changes. | Michal Krol | 2008-08-18 | 1 | -19/+12 |
| | |||||
* | tgsi: Add condition code (CC) register. | Michal Krol | 2008-08-18 | 2 | -7/+35 |
| | |||||
* | gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RET | Brian Paul | 2008-08-13 | 1 | -4/+10 |
| | | | | Fixes a few glean glsl regressions. | ||||
* | tgsi: Initial code for KILP, needs CCs working to be complete. | Michal Krol | 2008-08-13 | 1 | -3/+21 |
| | |||||
* | tgsi: Use a homebrew version of toupper(). | Michal Krol | 2008-08-13 | 1 | -10/+17 |
| | |||||
* | tgsi: Fix typo. | Michal Krol | 2008-08-13 | 2 | -3/+3 |
| | |||||
* | tgsi: Validate instruction opcode and operand counts. | Michal Krol | 2008-08-13 | 1 | -0/+15 |
| | |||||
* | tgsi: Use tgsi_info to dump opcode names. | Michal Krol | 2008-08-13 | 2 | -257/+6 |
| | |||||
* | tgsi: Use tgsi_opcode_info. | Michal Krol | 2008-08-13 | 1 | -134/+3 |
| | |||||
* | make: List tgsi_info.c. | Michal Krol | 2008-08-13 | 1 | -0/+1 |
| | |||||
* | scons: List tgsi_info.c. | Michal Krol | 2008-08-13 | 1 | -0/+1 |
| | |||||
* | tgsi: Opcode information. | Michal Krol | 2008-08-13 | 2 | -0/+214 |
| | |||||
* | tgsi: Swap meanings of KIL and KILP opcodes. | Michal Krol | 2008-08-13 | 2 | -10/+24 |
| | |||||
* | gallium: distinguish between KIL and KILP | Brian Paul | 2008-08-12 | 1 | -2/+18 |
| | | | | Note: KIL (unconditional) not done yet. | ||||
* | tgsi: Prevent division by zero. | José Fonseca | 2008-08-12 | 1 | -4/+12 |
| | |||||
* | tgsi: Dump shaders to a string too. | José Fonseca | 2008-08-09 | 2 | -46/+127 |
| | | | | Again. | ||||
* | tgsi: Put a newline after IMM. | Michal Krol | 2008-08-04 | 1 | -13/+5 |
| | |||||
* | tgsi: Insert newlines after the statements, instead of before. | José Fonseca | 2008-07-30 | 1 | -3/+6 |
| | | | | Prevents shader dumps from getting concatenated with the next debug message. | ||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 27 | -32/+30 |
| | |||||
* | tgsi: Silent msvc warning. | José Fonseca | 2008-07-24 | 1 | -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 128 | Brian Paul | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | gallium: print extended swizzle negation flags | Brian Paul | 2008-07-23 | 1 | -0/+8 |
| |