Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | gallium: added some debug code (disabled) | Brian Paul | |
2008-11-05 | gallium: disable some debug output | Brian Paul | |
2008-11-05 | i915: Remove faulty assert | Jakob Bornecrantz | |
2008-11-05 | draw: Implement TGSI_OPCODE_TRUNC. | michal | |
2008-11-05 | tgsi: Implement OPCODE_TRUNC. | michal | |
2008-11-05 | draw: Implement TGSI_OPCODE_TRUNC. | michal | |
2008-11-05 | tgsi: Implement OPCODE_TRUNC. | michal | |
2008-11-03 | gallium: Silence compiler warnings on Windows. | Michal Krol | |
2008-11-03 | gallium: Read from PIPE_FORMAT_Z32_FLOAT. | José Fonseca | |
Mainly for debugging purposes for now. | |||
2008-11-03 | gallium: WinCE portability fixes. | José Fonseca | |
2008-11-03 | gallium: Fix typo. | José Fonseca | |
2008-11-03 | pipebuffer: Ensure refcounts of live buffer objects are never zero. | José Fonseca | |
2008-11-03 | gallium: Ensure refcounts of live objects are never zero. | José Fonseca | |
2008-11-03 | gallium: Fix msvc warning. | José Fonseca | |
2008-10-30 | CELL: fix use of stencil value mask | Robert Ellison | |
The Cell stencil tests were completely ignoring the stencil value mask. Now the original code paths are still used if the stencil value mask is all 1s; but code to use the mask for the stencil value and reference value comparisons is now emitted if the mask is not all 1s. | |||
2008-10-30 | gallivm: replace the temp parameters of the JIT function with alloca'ed ↵ | Stephane Marchesin | |
temps. This avoids useless writes of temporary results. | |||
2008-10-30 | cell: Protected use of non-initialized untile buffers | Jonathan White | |
2008-10-30 | CELL: stencil bug fixes | Robert Ellison | |
Two definitive bugs in stenciling were fixed. The first, reversed registers in the generated Select Bytes (selb) instruction, caused the stenciling INCR and DECR operations to fail dramatically, putting new values in where old values were supposed to be and vice versa. The second caused stencil tiles to not be read and written from main memory by the SPUs. A per-spu flag, spu.read_depth, was used to indicate whether the SPU should be reading depth tiles, and was set only when depth was enabled. A second flag, spu.read_stencil, was set when stenciling was enabled, but never referenced. As stenciling and depth are in the same tiles on the Cell, and there is no corresponding TAG_WRITE_TILE_STENCIL to complement TAG_WRITE_TILE_COLOR and TAG_WRITE_TILE_Z, I fixed this by eliminating the unused "spu.read_stencil", renaming "spu.read_depth" to "spu.read_depth_stencil", and setting it if either stenciling or depth is enabled. I also added an optimization to the fragment ops generation code, that avoids calculating stencil values and/or stencil writemask when the stencil operations are all KEEP. | |||
2008-10-30 | cell: Added check for PIPE_FLUSH_RENDER_CACHE to cell_flush to fix black ↵ | Jonathan White | |
blocks during st_readpixels due to a flush wait not happening in order to allow any previous rendering to complete. | |||
2008-10-29 | gallium: new sanity assertions in mmAllocMem() | Brian Paul | |
2008-10-29 | gallium: fix copy&paste bug | Brian Paul | |
2008-10-29 | gallium: grow SPE instruction buffer as needed | Brian Paul | |
2008-10-29 | gallium: no longer pass max_inst to ppc_init_func() | Brian Paul | |
2008-10-29 | gallium: use execmem for PPC code, grow instruction buffer as needed | Brian Paul | |
2008-10-29 | gallium: fix alignment parameter passed to u_mmAllocMem() | Brian Paul | |
Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called. | |||
2008-10-29 | gallium: fix alignment parameter passed to u_mmAllocMem() | Brian Paul | |
Was 32, now 5. The param is expressed as a power of two exponent. The net effect is that the alignment was a no-op on X86 but on PPC we always got the same memory address everytime rtasm_exec_malloc() was called. | |||
2008-10-29 | gallium: prefix memory manager functions with u_ to differentiate from ↵ | Brian Paul | |
functions in mesa/main/mm.c | |||
2008-10-29 | gallium: test for PIPE_OS_LINUX instead of __linux__ | Brian Paul | |
2008-10-29 | cell: add scalar param to emit_function_call() to indicate scalar function calls | Brian Paul | |
Scalar calls only use the X component of the src regs and smear the result across the dest register's X/Y/Z/W. | |||
2008-10-29 | cell: use simd utilities for pow, exp2, log2 | 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-29 | gallium: clean-ups | Brian Paul | |
2008-10-29 | gallium: added ppc_vnmsubfp() | Brian Paul | |
2008-10-28 | gallium: ppc: implement TGSI_OPCODE_LOG/EXP | Brian Paul | |
2008-10-28 | gallium: remove old code | Brian Paul | |
2008-10-28 | gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵ | Brian Paul | |
as with constants | |||
2008-10-28 | cell: fix a number of fence issues | Brian Paul | |
Plus add assertions to check status, alignment, etc. | |||
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-28 | cell: don't include libmisc.h | Brian Paul | |
Doesn't seem to be needed and fixes compilation with SDK 3.1 beta. | |||
2008-10-28 | gallium: recognize DEBUG as well as DBG for debugging | Keith Whitwell | |
2008-10-27 | cell: fix some problems when displaying to a PIPE_FORMAT_B8G8R8A8_UNORM screen | Brian Paul | |
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-27 | cell: Added support for untwiddling textures during glReadPixels. This ↵ | Jonathan White | |
allows glReadPixels to work correctly on cell now and makes conformance tests that use pixel compares useable. | |||
2008-10-23 | scons: ppc support. | Michel Dänzer | |
2008-10-23 | scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones. | Michel Dänzer | |