Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-22 | gallium: simplify tgsi_full_immediate struct | Keith Whitwell | |
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables. | |||
2009-07-16 | tgsi: no need to separately malloc input and output arrays | Keith Whitwell | |
Can now guarantee alignment in the initial allocation of the tgsi exec machine. | |||
2009-07-16 | gallium: proper constructor and destructor for tgsi_exec_machine | Keith Whitwell | |
Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives. | |||
2009-07-10 | tgis: implement indirect addressing for destination registers | Brian Paul | |
Includes the TGSI interpreter, but not the SSE/PPC/etc code generators. | |||
2009-04-29 | tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled) | Brian Paul | |
The TGSI interpeter operates in SOA style. We need to check for data dependencies in instructions which read from and write to the same register. For now just adding some debug code to detect that condition. Actual fixes to follow. | |||
2009-04-03 | tgsi/exec: Actually enable switch-case for FLR. | Michal Krol | |
2009-03-31 | tgsi: added some helpful debug functions in the tgsi interpreter | Brian Paul | |
Check for NaN/Inf, print exec vectors, print temp registers. | |||
2009-03-26 | tgsi: pass zero vector to texture sampler for 1D case instead of NULL | Brian Paul | |
Fixes segfault when sampling 1D textures. | |||
2009-03-12 | tgsi: Localise SCS code. | Michal Krol | |
2009-03-12 | tgsi: Rewrite NRM opcode, store 1.0 in W component. | Michal Krol | |
2009-03-11 | tgsi: Implement RFL, SFL, STR, X2D opcodes. | Michal Krol | |
2009-03-11 | tgsi: Implement RCC opcode. | Michal Krol | |
2009-03-10 | tgsi: Untabify. | Michal Krol | |
2009-03-10 | tgsi: Implement CLAMP opcode. | Michal Krol | |
2009-03-10 | tgsi: Consider INDEX, NEGATE, MULTIPLYMATRIX opcodes for removal. | Michal Krol | |
2009-03-10 | tgsi: ARL and FLOOR opcodes have the same implementation. | Michal Krol | |
2009-03-09 | tgsi: Implement CND, CND0 opcodes. | Michal Krol | |
2009-03-09 | tgsi: Remove redundant micro_ge() -- use micro_le(). | Michal Krol | |
2009-02-20 | gallium: use the TGSI_TEXTURE_SHADOW1D/2D/RECT texture types for TEX ↵ | Brian Paul | |
instructions These texture types were defined but never put to use. For the time being though, the Mesa->TGSI translater isn't emitting these targets. See the XXX comment in map_texture_target(). | |||
2009-02-16 | gallium: fix glean's vertProg1 | Alan Hourihane | |
RSQ test 2 (reciprocal square toot of negative value) | |||
2009-02-10 | tgsi: Fix build -- rename Size to NrTokens. | Michal Krol | |
2009-01-27 | tgsi: silence some warnings | Keith Whitwell | |
2008-12-16 | tgsi: use flr(), not trunc() for ARL | Brian Paul | |
2008-12-01 | gallium: minor texture-related clean-ups, comments, etc | Brian | |
2008-11-26 | tgsi: Implement OPCODE_SSG/SGN. | Michal Krol | |
2008-11-26 | tgsi: Implement OPCODE_ARR. | Michal Krol | |
2008-11-23 | softpipe: remove old/unneeded dependencies between TGSI exec and softpipe | Brian | |
Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs. | |||
2008-11-18 | tgsi: Return 0.0 for negative constant register indices. | Michal Krol | |
2008-11-18 | tgsi: Keep address register as a floating point. | Michal Krol | |
2008-11-12 | tgsi: More comments on source register indirect and 2D indexing. | Michal Krol | |
2008-11-07 | gallium: implement TGSI_OPCODE_DP2A, add sqrt to NRM3/NRM4 | Brian Paul | |
2008-11-07 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
2008-11-06 | gallium: implement TGSI_OPCODE_NRM/NRM4 in tgsi_exec.c | Brian | |
2008-11-06 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
2008-11-05 | gallium: check execution mask in indirect register loads | Brian | |
Zero-out the index for disabled execution channels to avoid using potential garbage values (thus avoiding bad array indexing). | |||
2008-11-05 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian 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-05 | gallium: added some sanity check assertions for constant buffer indexing | Brian Paul | |
2008-09-12 | gallium: silence warning | Brian Paul | |
2008-09-10 | tgsi: Verify constants are set before attempting to read them. | José Fonseca | |
2008-08-24 | gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h | Brian Paul | |
Also, rename p_tile.[ch] to u_tile.[ch] | |||
2008-08-22 | gallium: use new util_fast_exp2(), _log2(), pow() functions | Brian Paul | |
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug. | |||
2008-08-19 | tgsi: Implement LOG opcode for SSE2 codegen. | Michal Krol | |
2008-08-19 | tgsi: Implement EXP opcode for SSE2. | Michal Krol | |
2008-08-19 | tgsi: Fix ARL opcode in SSE2 codegen. | Michal Krol | |
2008-08-18 | tgsi: Update condition code vector when storing dest register. | Michal Krol | |
2008-08-18 | tgsi: Saturate modifier obeys ExecMask. | Michal Krol | |
Implement NVIDIA [-1;+1] saturate mode. | |||
2008-08-18 | tgsi: Respect condition codes when storing destination register. | Michal Krol | |
2008-08-18 | tgsi: Cosmetic changes. | Michal Krol | |
2008-08-18 | tgsi: Add condition code (CC) register. | Michal Krol | |
2008-08-13 | gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RET | Brian Paul | |
Fixes a few glean glsl regressions. |