Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300/compiler: lower CEIL | Marek Olšák | 2010-04-19 | 4 | -2/+34 |
| | |||||
* | r300/compiler: enable branch emulation for vertex shaders | Marek Olšák | 2010-04-19 | 1 | -21/+22 |
| | |||||
* | r300/compiler: optimize CMP for vertex shaders a bit | Marek Olšák | 2010-04-19 | 1 | -20/+9 |
| | |||||
* | r300/compiler: Use memory_pool_array_reserve in deadcode elimination | Nicolai Hähnle | 2010-04-19 | 1 | -13/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: Use memory_pool_array_reserve in r500-fragprog_emit | Nicolai Hähnle | 2010-04-19 | 1 | -17/+2 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300/compiler: enable branch emulation for R500 fragment programs | Marek Olšák | 2010-04-19 | 1 | -4/+13 |
| | |||||
* | r300/compiler: Implement branch emulation for R300 fragment programs | Nicolai Hähnle | 2010-04-19 | 8 | -104/+512 |
| | | | | Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | u_inlines: split pipe_surface_init in pipe_surface_reset and *_init | Luca Barbieri | 2010-04-18 | 2 | -3/+10 |
| | |||||
* | tgsi: add comment about potential code removal | Brian Paul | 2010-04-18 | 1 | -0/+6 |
| | |||||
* | softpipe: new comment and assertion for face value | Brian Paul | 2010-04-18 | 1 | -0/+3 |
| | |||||
* | tgsi: replace 0xf with TGSI_WRITEMASK_XYZW | Brian Paul | 2010-04-18 | 1 | -2/+2 |
| | |||||
* | softpipe: fix computation of fragment[FACE] attribute | Brian Paul | 2010-04-18 | 1 | -3/+7 |
| | | | | | | | In TGSI, front facing is +1 and back-facing is -1. We were computing this attribute as +1 and 0 before. However, the value isn't actually used anywhere because we machine->Face attribute overrides it in tgsi_exec.c. That could be changed, removing some special-case code... | ||||
* | softpipe: clean-up and comments | Brian Paul | 2010-04-18 | 1 | -40/+57 |
| | |||||
* | softpipe: document MAX_QUADS | Brian Paul | 2010-04-18 | 1 | -1/+6 |
| | |||||
* | r300g: more solid is_buffer_referenced implementation | Marek Olšák | 2010-04-18 | 3 | -11/+19 |
| | | | | | This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer. | ||||
* | u_surfaces: silence warning | Luca Barbieri | 2010-04-18 | 1 | -1/+1 |
| | |||||
* | Revert "r300g: save vertex buffers around u_blitter calls" | Marek Olšák | 2010-04-18 | 1 | -1/+3 |
| | | | | Not sure why it crashes. | ||||
* | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -11/+12 |
| | |||||
* | nvfx: fix void * arithmetic warning | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | |||||
* | nvfx: move declarations before code | Brian Paul | 2010-04-18 | 1 | -4/+9 |
| | |||||
* | llvmpipe: update comment | Brian Paul | 2010-04-18 | 1 | -1/+1 |
| | |||||
* | nvfx: move declarations before code to silence warnings | Brian Paul | 2010-04-18 | 3 | -6/+11 |
| | |||||
* | auxiliary: add util_dirty_surfaces to track dirty render temporaries | Luca Barbieri | 2010-04-18 | 1 | -0/+88 |
| | |||||
* | auxiliary: add util_surfaces to track a resource's pipe_surface structs | Luca Barbieri | 2010-04-18 | 3 | -0/+167 |
| | |||||
* | u_inlines: add function to initialize pipe_surface | Luca Barbieri | 2010-04-18 | 1 | -0/+15 |
| | |||||
* | nvfx: fix fragment program constant updates | Luca Barbieri | 2010-04-18 | 1 | -1/+4 |
| | |||||
* | r300g: do not tell st that a buffer is referenced by hw | Marek Olšák | 2010-04-18 | 7 | -15/+33 |
| | | | | It saves a few libdrm calls and unnecessary flushes. | ||||
* | r300g: save vertex buffers around u_blitter calls | Luca Barbieri | 2010-04-18 | 1 | -0/+1 |
| | | | | | | Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested. | ||||
* | u_blitter: add support for saving vertex buffers | Luca Barbieri | 2010-04-18 | 2 | -0/+24 |
| | | | | | | | | | | | | Currently r300g does not save vertex buffer on blitter calls. It gets away with it because the current Mesa state tracker usually resets vertex buffers on every draw calls. However, this is wrong. nvfx won't be lucky because it needs to use the blitter inside draw calls. | ||||
* | p_compiler: add likely/unlikely macros | Luca Barbieri | 2010-04-18 | 1 | -1/+39 |
| | | | | | | Defined like the Linux kernel. A explanatory comment is included. | ||||
* | r300g: fixup 0 stride buffer properly. | Dave Airlie | 2010-04-18 | 1 | -8/+7 |
| | | | | | | | Just set the max index to 1, this lets doom3 run and seems correct, though it would be better to just emit a constant like SVGA does. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | llvmpipe: Emit only the vertex attributes necessary for the FS, and ensure ↵ | José Fonseca | 2010-04-18 | 1 | -68/+67 |
| | | | | | | | the first one is always position. With this we correctly handle vertex shaders whose output position is not in index zero. | ||||
* | softpipe: Preserve/check the signal of the number of scanlines in an edge. | José Fonseca | 2010-04-18 | 1 | -1/+2 |
| | | | | It can become negative in some weird triangles. | ||||
* | draw: Cosmetic cleanups and comments. | José Fonseca | 2010-04-18 | 4 | -4/+10 |
| | |||||
* | retrace: Fix vertex/index/constant buffer dumping. | José Fonseca | 2010-04-18 | 1 | -3/+4 |
| | |||||
* | trace: Handle transfers with zero strides correctly. | José Fonseca | 2010-04-18 | 1 | -2/+10 |
| | |||||
* | st/python: Set the bind flag for the default texture. | José Fonseca | 2010-04-18 | 1 | -0/+1 |
| | |||||
* | retrace: Remove deprecated code. | José Fonseca | 2010-04-18 | 1 | -10/+0 |
| | |||||
* | mesa: Restore comment too. | José Fonseca | 2010-04-18 | 2 | -2/+2 |
| | |||||
* | glsl: Fix handling of OPCODE_PRINT for no registers case. | Vinson Lee | 2010-04-18 | 2 | -2/+2 |
| | | | | | | | | | A register file value is unsigned so could never be -1. A value of 0 also aliased to PROGRAM_TEMPORARY. If an OPCODE_PRINT has no registers to print, set the register file value to PROGRAM_UNDEFINED and check for that value when executing this instruction. | ||||
* | i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE. | Vinson Lee | 2010-04-17 | 1 | -0/+1 |
| | |||||
* | st/dri: Check for NULL before dereference and assignment. | Vinson Lee | 2010-04-17 | 1 | -2/+10 |
| | |||||
* | nvfx: Initialize variables. | Vinson Lee | 2010-04-17 | 2 | -4/+4 |
| | |||||
* | r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic. | Vinson Lee | 2010-04-17 | 1 | -1/+1 |
| | | | | | Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic" | ||||
* | nvfx: Remove unused variables. | Vinson Lee | 2010-04-17 | 2 | -3/+0 |
| | |||||
* | nv50: Initialize variables. | Vinson Lee | 2010-04-17 | 2 | -6/+6 |
| | | | | Silences GCC uninitialized variable warnings. | ||||
* | nv50: Remove unused variable. | Vinson Lee | 2010-04-17 | 1 | -2/+0 |
| | |||||
* | i915g: Remove broken power of two function | Jakob Bornecrantz | 2010-04-18 | 1 | -16/+8 |
| | |||||
* | i915g: Add some helper functions | Jakob Bornecrantz | 2010-04-18 | 1 | -7/+19 |
| | | | | Mostly to make the lines not so long. | ||||
* | i915g: Fix cubemap layouts | Jakob Bornecrantz | 2010-04-18 | 1 | -101/+121 |
| |