Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: No need to rebase for elt_bias. | José Fonseca | 2010-04-20 | 1 | -7/+5 |
| | | | | | | | As we are rebasing to min_index + elt_bias, and the vertex buffer has no elt_bias. I still don't know how to exercise this code. I hope this is now right. | ||||
* | draw: Fix cache elt_bias implementation. | José Fonseca | 2010-04-20 | 1 | -5/+8 |
| | |||||
* | gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index ↵ | José Fonseca | 2010-04-20 | 1 | -0/+3 |
| | | | | | | | | | buffer characteristic. Unlike the indexBias which is specific to a draw call. This are the semantics of both D3D and GL ARB_draw_elements_base_vertex extension. | ||||
* | draw: Fix typo resulting from bad regular expression in index bias addition. | José Fonseca | 2010-04-20 | 1 | -4/+4 |
| | |||||
* | r300g: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -19/+32 |
| | |||||
* | nvfx: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -16/+24 |
| | |||||
* | nv50: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -6/+11 |
| | |||||
* | retrace: Support index bias. | José Fonseca | 2010-04-19 | 1 | -8/+8 |
| | |||||
* | mesa/st: Update for index bias interface change. | José Fonseca | 2010-04-19 | 2 | -7/+7 |
| | |||||
* | st/python: Use index bias. | José Fonseca | 2010-04-19 | 1 | -4/+6 |
| | |||||
* | trace: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -6/+10 |
| | |||||
* | svga: Implement index bias. | José Fonseca | 2010-04-19 | 7 | -23/+32 |
| | | | | Untested. | ||||
* | softpipe: Implement index bias. | José Fonseca | 2010-04-19 | 2 | -4/+16 |
| | |||||
* | llvmpipe: Implement index bias. | José Fonseca | 2010-04-19 | 2 | -7/+9 |
| | |||||
* | identity: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -0/+4 |
| | |||||
* | i965g: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -4/+6 |
| | |||||
* | i915: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -6/+7 |
| | |||||
* | failover: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -1/+4 |
| | |||||
* | cell: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -5/+6 |
| | |||||
* | draw: Implement index bias. | José Fonseca | 2010-04-19 | 8 | -46/+65 |
| | |||||
* | docs: Document indexBias. | José Fonseca | 2010-04-19 | 1 | -0/+3 |
| | |||||
* | gallium: Add index bias parameter to draw_elements and friends. | José Fonseca | 2010-04-19 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | indexBias corresponds to: - BaseVertexIndex parameter of D3D9's IDirect3DDevice9::DrawIndexedPrimitive method - BaseVertexLocation parameter of ID3D10Device::DrawIndexed Although a positive indexBias can be easily be implemented in Gallium by adding indexBias*stride to each vertex buffer base offset, a negative indexBias cannot, as the final vertex buffer offset could be negative. I'm not aware of this functionality being exposed to GL drivers, so for now all hardware drivers will just assert(indexBias == 0). See also: - http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9) - http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI) | ||||
* | 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 |
| |