summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2008-11-03gallium: Silence compiler warnings on Windows.Michal Krol
2008-11-03gallium: Read from PIPE_FORMAT_Z32_FLOAT.José Fonseca
Mainly for debugging purposes for now.
2008-11-03gallium: WinCE portability fixes.José Fonseca
2008-11-03gallium: Fix typo.José Fonseca
2008-11-03pipebuffer: Ensure refcounts of live buffer objects are never zero.José Fonseca
2008-11-03gallium: Ensure refcounts of live objects are never zero.José Fonseca
2008-11-03gallium: Fix msvc warning.José Fonseca
2008-10-30CELL: fix use of stencil value maskRobert 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-30gallivm: replace the temp parameters of the JIT function with alloca'ed ↵Stephane Marchesin
temps. This avoids useless writes of temporary results.
2008-10-30cell: Protected use of non-initialized untile buffersJonathan White
2008-10-30CELL: stencil bug fixesRobert 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-30cell: 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-29gallium: grow SPE instruction buffer as neededBrian Paul
2008-10-29gallium: no longer pass max_inst to ppc_init_func()Brian Paul
2008-10-29gallium: use execmem for PPC code, grow instruction buffer as neededBrian Paul
2008-10-29gallium: 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-29gallium: prefix memory manager functions with u_ to differentiate from ↵Brian Paul
functions in mesa/main/mm.c
2008-10-29gallium: test for PIPE_OS_LINUX instead of __linux__Brian Paul
2008-10-29cell: add scalar param to emit_function_call() to indicate scalar function callsBrian 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-29cell: use simd utilities for pow, exp2, log2Brian Paul
2008-10-29gallium: added PPC support for SWZ, XPD, POWBrian Paul
That's the last of the ARB_v_p opcodes, except for ARL.
2008-10-29gallium: clean-upsBrian Paul
2008-10-29gallium: added ppc_vnmsubfp()Brian Paul
2008-10-28gallium: ppc: implement TGSI_OPCODE_LOG/EXPBrian Paul
2008-10-28gallium: remove old codeBrian Paul
2008-10-28gallium: ppc: don't replicate/smear immediate values, use vspltw instruction ↵Brian Paul
as with constants
2008-10-28cell: fix a number of fence issuesBrian Paul
Plus add assertions to check status, alignment, etc.
2008-10-28gallium: use some PPC vec registers to store TGSI tempsBrian Paul
This could be a lot better, but already makes for better code.
2008-10-28cell: don't include libmisc.hBrian Paul
Doesn't seem to be needed and fixes compilation with SDK 3.1 beta.
2008-10-27cell: fix some problems when displaying to a PIPE_FORMAT_B8G8R8A8_UNORM screenBrian Paul
2008-10-27gallium: ppc: emit fewer 'li' instructions prior to vector loads/storesBrian Paul
2008-10-27gallium: ppc: use a src register cache to avoid redundant loadsBrian Paul
2008-10-27cell: 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-23scons: ppc support.Michel Dänzer
2008-10-23scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones.Michel Dänzer
2008-10-22gallium: PPC: clamp y to [-128,128] for LITBrian Paul
2008-10-22gallium: remove ppc_vload_float(), rename ppc_vecmove() -> ppc_vmove().Brian Paul
2008-10-22gallium: new PPC built-in constants arrayBrian Paul
It's hard to form PPC vector immediates so load them from an array.
2008-10-22gallium: added ppc_vzero()Brian Paul
2008-10-22gallium: GALLIUM_NOPPC debug var to disable PPC codegenBrian Paul
2008-10-22gallium: PPC LIT instruction (not quite complete yet)Brian Paul
2008-10-22gallium: var renaming in tgsi_ppc.cBrian Paul
2008-10-22gallium: remove SSE remnants from tgsi_ppc.cBrian Paul
2008-10-22cell: turn on PPC assembly vertex transformBrian Paul
gears runs with it now (3x faster FPS than before).
2008-10-22cell: TGSI->PPC for RSQ, RCP and src register sign modesBrian Paul
2008-10-22gallium: TGSI->PPC inequality operatorsBrian Paul
2008-10-22gallium: added ppc_vload_float(), for limited casesBrian Paul
2008-10-22gallium: fix broken TGSI_FILE_CONSTANT case, use ppc_reserver_register()Brian Paul
2008-10-22gallium: fix-up confusing register allocation masks in rtasm_ppc.cBrian Paul
Plus, add ppc_reserve_register() func.
2008-10-22gallium: temporarily disable PPC vertex shader until more things runBrian Paul