Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | gallium: don't range check tgsi register index for indirect accesses | Brian | |
Fixes progs/vp/arl.txt test. | |||
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: call tgsi_set_exec_mask() and use exec mask in SSE ARL code | Brian Paul | |
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments. | |||
2008-11-05 | gallium: added tgsi_set_exec_mask() | Brian Paul | |
2008-11-05 | gallium: added some sanity check assertions for constant buffer indexing | Brian Paul | |
2008-11-05 | tgsi: Implement OPCODE_TRUNC. | michal | |
2008-11-05 | tgsi: Implement OPCODE_TRUNC. | michal | |
2008-10-29 | gallium: use execmem for PPC code, grow instruction buffer as needed | Brian Paul | |
2008-10-29 | gallium: added PPC support for SWZ, XPD, POW | Brian Paul | |
That's the last of the ARB_v_p opcodes, except for ARL. | |||
2008-10-28 | gallium: ppc: implement TGSI_OPCODE_LOG/EXP | Brian Paul | |
2008-10-28 | gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵ | Brian Paul | |
as with constants | |||
2008-10-28 | gallium: use some PPC vec registers to store TGSI temps | Brian Paul | |
This could be a lot better, but already makes for better code. | |||
2008-10-27 | gallium: ppc: emit fewer 'li' instructions prior to vector loads/stores | Brian Paul | |
2008-10-27 | gallium: ppc: use a src register cache to avoid redundant loads | Brian Paul | |
2008-10-23 | scons: ppc support. | Michel Dänzer | |
2008-10-22 | gallium: PPC: clamp y to [-128,128] for LIT | Brian Paul | |
2008-10-22 | gallium: remove ppc_vload_float(), rename ppc_vecmove() -> ppc_vmove(). | Brian Paul | |
2008-10-22 | gallium: new PPC built-in constants array | Brian Paul | |
It's hard to form PPC vector immediates so load them from an array. | |||
2008-10-22 | gallium: GALLIUM_NOPPC debug var to disable PPC codegen | Brian Paul | |
2008-10-22 | gallium: PPC LIT instruction (not quite complete yet) | Brian Paul | |
2008-10-22 | gallium: var renaming in tgsi_ppc.c | Brian Paul | |
2008-10-22 | gallium: remove SSE remnants from tgsi_ppc.c | Brian Paul | |
2008-10-22 | cell: TGSI->PPC for RSQ, RCP and src register sign modes | Brian Paul | |
2008-10-22 | gallium: TGSI->PPC inequality operators | Brian Paul | |
2008-10-22 | gallium: fix broken TGSI_FILE_CONSTANT case, use ppc_reserver_register() | Brian Paul | |
2008-10-22 | gallium: TGSI to PPC code generation | Brian Paul | |
Based on the TGSIto SSE2 code generator. Incomplete and lots of SSE stuff still hanging around but the basic dozen or so TGSI opcodes are functioning. | |||
2008-10-07 | gallium: Introduce PIPE_ARCH_SSE define for SSE support. | José Fonseca | |
Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build. | |||
2008-10-01 | tgsi: Include p_config.h. | José Fonseca | |
2008-09-30 | cell: Moved X86 checks to wrap #include section so that Cell targets will ↵ | Jonathan White | |
compile again. | |||
2008-09-30 | tgsi: SSE2 optimized exp2, log2 and pow implementations. | José Fonseca | |
Special care must be taken when calling compiler generated SSE2 functions from the runtime generated SSE2: saving the xmm registers, and notify gcc the stack is not 16byte aligned. It would be more efficient to keep the stack pointer 16byte aligned, but too hairy, and not consistent in all x86 architectures. This has been tested in linux x86 and windows x86 userspace. Not tested on x86-64 because it is broken for other reasons (even without this change). | |||
2008-09-18 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | |
Conflicts: src/mesa/shader/slang/slang_link.c | |||
2008-09-18 | tgsi: Build tgsi_text with make | Jakob Bornecrantz | |
2008-09-18 | tgsi: Make tgsi dumps look more like mesa shader dumps. | Jakob Bornecrantz | |
2008-09-17 | gallium: 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-16 | gallium: fix info entries for KIL, KILP | Brian Paul | |
KIL takes 1 src register. KILP uses no registers (uses cond codes). | |||
2008-09-16 | tgsi: Make tgsi_sanity.c compile with make | Jakob Bornecrantz | |
2008-09-12 | gallium: use copy_token() function to avoid type punning/aliasing problems | Brian Paul | |
This fixes parsing errors seen with optimized builds on PPC (which led to crashes). The memcpy() is heavy-handed, but works. A lighter uint assignment could be used on x86... | |||
2008-09-12 | gallium: use new compare32() function to fix warnings about type punning and ↵ | Brian Paul | |
aliasing | |||
2008-09-12 | gallium: silence warning | Brian Paul | |
2008-09-10 | tgsi: Fix newline pos. | José Fonseca | |
2008-09-10 | tgsi: Verify constants are set before attempting to read them. | José Fonseca | |
2008-09-08 | tgsi: Cleanup code. | Michal Krol | |
2008-09-05 | tgsi: 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-02 | gallium: increase string buffer size to 16000 to avoid truncated output of ↵ | Brian Paul | |
long shaders | |||
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: replace LOG2() macro with util_fast_log2() inline func | Brian Paul | |
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. |