Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | i915g: Clean and add some debug printing | Jakob Bornecrantz | 2010-04-18 | 1 | -8/+18 |
| | | | | Disabled by default | ||||
* | gallium/tests: Make trivial apps depend on libs | Jakob Bornecrantz | 2010-04-18 | 1 | -1/+1 |
| | |||||
* | r300g: various other cleanups | Marek Olšák | 2010-04-18 | 12 | -86/+71 |
| | | | | | | It seems to me that the resource management code is the most blurry. Also some of my notes about fastfill are wrong, removing them too. | ||||
* | r300g: inline screen_buffer functions | Marek Olšák | 2010-04-18 | 1 | -84/+36 |
| | |||||
* | r300g: remove unused declarations | Marek Olšák | 2010-04-18 | 1 | -4/+0 |
| | |||||
* | r300g: add debugging options "notiling" and "noimmd" (for testing) | Marek Olšák | 2010-04-18 | 4 | -9/+18 |
| | | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!) | ||||
* | r300g: remove r300_transfer::ctx | Marek Olšák | 2010-04-18 | 1 | -5/+1 |
| | |||||
* | r300g: remove use of c++ keywords | Marek Olšák | 2010-04-18 | 4 | -15/+12 |
| | |||||
* | r300g: always create microtiled zbuffer regardless of texture dimensions | Marek Olšák | 2010-04-18 | 1 | -2/+3 |
| | |||||
* | i915g: Remove unnecessary headers. | Vinson Lee | 2010-04-17 | 1 | -3/+0 |
| | |||||
* | nvfx: Remove unnecessary headers. | Vinson Lee | 2010-04-17 | 4 | -6/+0 |
| | |||||
* | nv50: Remove redundant assignment. | Vinson Lee | 2010-04-17 | 1 | -1/+1 |
| | |||||
* | i965g: Remove redundant assert. | Vinson Lee | 2010-04-17 | 1 | -1/+0 |
| | |||||
* | os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t. | Vinson Lee | 2010-04-17 | 1 | -5/+26 |
| | | | | This patch was tested on Mac OS X. | ||||
* | i915g: Add a software only debuging winsys | Jakob Bornecrantz | 2010-04-17 | 8 | -0/+480 |
| | |||||
* | gallium/tests: Fix trivial examples | Jakob Bornecrantz | 2010-04-17 | 3 | -25/+29 |
| | |||||
* | gallium/util: Ignores | Jakob Bornecrantz | 2010-04-17 | 1 | -0/+1 |
| | |||||
* | progs/tests: Ignores | Jakob Bornecrantz | 2010-04-17 | 1 | -3/+14 |
| | |||||
* | r300/compiler: Remove unnecessary header. | Vinson Lee | 2010-04-17 | 1 | -2/+0 |
| | |||||
* | draw llvm: Remove unnecessary header. | Vinson Lee | 2010-04-16 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Remove unnecessary header. | Vinson Lee | 2010-04-16 | 1 | -1/+0 |
| | |||||
* | r300/compiler: Add radeon_program_tex.c to SCons build. | Vinson Lee | 2010-04-16 | 1 | -0/+1 |
| | | | | This was missed in commit f8a14186809356871ae74159c774e9e3959a22e5. | ||||
* | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures | Marek Olšák | 2010-04-17 | 3 | -3/+24 |
| | |||||
* | r300/compiler: replace mirrored-repeat emulation with a faster version | Marek Olšák | 2010-04-17 | 1 | -62/+65 |
| | | | | | Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous version, causing incorrect rendering. | ||||
* | r300/compiler: add handy definitions for XYZ0 and smeared half swizzling | Marek Olšák | 2010-04-17 | 2 | -3/+5 |
| | |||||
* | r300/compiler: make ARB_shadow_ambient optional | Marek Olšák | 2010-04-16 | 5 | -12/+18 |
| | | | | | This saves constant register space for r300g, which doesn't need this feature. |