Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tgsi: scan for additional info: uses_fogcoord, uses_frontfacing | Brian Paul | 2008-12-18 | 2 | -15/+37 |
| | |||||
* | tgsi: Reenable OPCODE_ARR. | Michal Krol | 2008-11-26 | 1 | -3/+2 |
| | |||||
* | tgsi: Fix build. | Michal Krol | 2008-11-26 | 1 | -6/+2 |
| | |||||
* | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | |||||
* | tgsi: Implement OPCODE_SSG/SGN. | Michal Krol | 2008-11-26 | 2 | -2/+46 |
| | |||||
* | gallium: disable TGSI_OPCODE_ARR case until emit_rnd() is redone. | Brian Paul | 2008-11-26 | 1 | -1/+2 |
| | |||||
* | Revert "tgsi: Implement OPCODE_ROUND for SSE2 backend." | Brian Paul | 2008-11-26 | 1 | -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 Krol | 2008-11-26 | 2 | -5/+7 |
| | |||||
* | tgsi: Implement OPCODE_ROUND for SSE2 backend. | Michal Krol | 2008-11-26 | 1 | -1/+28 |
| | |||||
* | 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 |
| |