Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-11-06 | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | |
2008-11-06 | softpipe: debug code (disabled) | Brian Paul | |
2008-11-05 | cell: minor reformatting, var renaming | Brian Paul | |
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-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 | 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 | 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-28 | cell: fix a number of fence issues | Brian Paul | |
Plus add assertions to check status, alignment, etc. | |||
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-27 | cell: fix some problems when displaying to a PIPE_FORMAT_B8G8R8A8_UNORM screen | 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-22 | cell: include pthread.h | Brian Paul | |
2008-10-22 | cell: implement fencing for texture buffers | Brian Paul | |
If we delete a texture, we need to keep the underlying tiled data buffer around until any rendering that references it has completed. Keep a list of buffers referenced by a rendering batch. Unref/free them when the associated batch's fence is executed/signalled. | |||
2008-10-22 | cell: set cell->num_textures | Brian Paul | |
2008-10-22 | cell: note that dst reg writing needs clamping | Brian Paul | |
2008-10-21 | gallium: remove unused var | Brian Paul | |
2008-10-20 | cell: minor improvements to batch buffer functions | Brian Paul | |
2008-10-20 | cell: temporarily disable freeing of tiled texture memory | Brian Paul | |
Allows glDrawPixels to work for now... | |||
2008-10-17 | cell: use an approximation in compute_lambda_2d() to avoid sqrt | Brian Paul | |
Though, the logf() call still needs attention. | |||
2008-10-17 | cell: add new debug flag (cache) to report texture cache stats on exit | Brian Paul | |
2008-10-17 | cell: more efficient state emit for textures/samplers | Brian Paul | |
2008-10-17 | cell: use 7-bit weights in sample_texture_2d_bilinear_int() | Brian Paul | |
This allows us to use 16-bit signed mul/add instructions. Had to used unsigned mul before and there's no unsigned mul/add instruction. | |||
2008-10-16 | cell: pass spu_texture_level ptr to get_four_texels() | Brian Paul | |
2008-10-16 | cell: implement KIL instruction | Brian Paul | |
2008-10-16 | cell: CELL_NUM_SPUS env var | Brian Paul | |
2008-10-16 | cell: trilinear mipmap interpolation | Brian Paul | |
2008-10-16 | cell: update comments | Brian Paul | |
2008-10-16 | cell: call proper sampler function in sample_texture_cube() | Brian Paul | |
2008-10-16 | cell: clean up various texture-related things | Brian Paul | |
Distinguish among texture targets in codegen. progs/demos/cubemap.c runs correctly now too. | |||
2008-10-15 | cell: start some performance measurements | Brian Paul | |
Use the spu_write_decrementer() and spu_read_decrementer() functions to measure time. Convert to milliseconds according to the system timebase value. | |||
2008-10-15 | cell: updated debug code | Brian Paul | |
2008-10-15 | cell: get rid of last usage of float4 union/typedef | Brian Paul | |
Results in slightly tighter code. | |||
2008-10-15 | cell: simplify triangle front/back face determination | Brian Paul | |
2008-10-15 | cell: send rasterizer state to SPUs in proper way, remove front_winding hack | Brian Paul | |
2008-10-15 | cell: query # cells too | Brian Paul | |
2008-10-15 | cell: query number SPUs with spe_cpu_info_get() | Brian Paul | |
2008-10-15 | cell: use CELL_MAX_SPUS consistently. | Brian Paul | |
2008-10-15 | cell: remove some old, pre-batchbuffer stuff | Brian Paul | |
2008-10-15 | cell: move some CELL_MAX constants | Brian Paul | |
2008-10-15 | cell: remove obsolete spu_debug.h file | Brian Paul | |
2008-10-15 | cell: simplify spu debug code | Brian Paul | |
2008-10-15 | cell: propogate blend color to SPUs for the fallback fragment ops code | Brian Paul | |
2008-10-15 | gallium: fix the shader-rebind test in softpipe, as was done for the draw ↵ | Brian Paul | |
module. | |||
2008-10-15 | gallium: temporariliy revert softpipe shader optimization | Brian Paul | |
2008-10-15 | cell: updated vertex dump/debug code | Brian Paul | |
2008-10-15 | cell: additional debug | Brian Paul | |