Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300: fix for SW TCL path | Maciej Cencora | 2009-06-11 | 1 | -1/+1 |
| | | | | | We shouldn't use i variable for SWTCL_OVM_TEX because textures doesn't have to be enabled in "packed" order. We could have tex1,tex3 and fog which would receive 7,9,8 OVM locations instead of 6,7,8. | ||||
* | r300: don't send unused attributes for SW TCL path | Maciej Cencora | 2009-06-11 | 1 | -14/+14 |
| | |||||
* | r300: send only RS_IP_* regs that we are going to use | Maciej Cencora | 2009-06-11 | 2 | -10/+4 |
| | |||||
* | r300: fix RS setup when no colors and textures are sent to FP | Maciej Cencora | 2009-06-11 | 1 | -4/+6 |
| | | | | RS_COL_FMT field is part of RS_IP_* reg not RS_INST_* | ||||
* | r300: r500 fragment program fixes | Maciej Cencora | 2009-06-11 | 1 | -12/+11 |
| | | | | | | | | | - when rewriting per component negate swizzle, first instruction should get not negated source - KIL instruction ignores swizzles TODO: - tex instructions does not support saturation - tex instructions cannot read from consant memory | ||||
* | radeon: increase max bo count | Maciej Cencora | 2009-06-11 | 1 | -1/+1 |
| | |||||
* | r300: fix a GPU lock up | Maciej Cencora | 2009-06-11 | 3 | -21/+24 |
| | | | | | | Sending from VAP more texture coordinates than RS expects results in GPU hang. Fixes BumpSelfShadow from DirectX8 SDK. | ||||
* | r300: fix vertex program bug | Maciej Cencora | 2009-06-11 | 1 | -6/+10 |
| | | | | | | If the vertex program didn't write position attribute, the position invariant function would add necessary instructions, but the vertex position would be overwritten by artificial outputs insts added to satisfy fragment program requirements. Fixes "whole screen is gray" problem for HW TCL path in sauerbraten when shaders are enabled, and whole slew of wine d3d9 tests. | ||||
* | r300: move some code for easier debugging | Maciej Cencora | 2009-06-11 | 1 | -17/+37 |
| | |||||
* | r300: print vertex program when debugging is enabled | Maciej Cencora | 2009-06-11 | 1 | -3/+14 |
| | |||||
* | r300: fix output register allocation for vertex shaders | Maciej Cencora | 2009-06-11 | 1 | -9/+19 |
| | | | | If the vertex program wrote secondary color without primary color, the secondary color output register index would be 0 which resulted in overwriting vertex position in some cases. | ||||
* | r300: hw doesn't support saturation for tex instructions | Maciej Cencora | 2009-06-11 | 1 | -0/+3 |
| | |||||
* | r300: fix indexed primitive rendering when using memory manager | Jerome Glisse | 2009-06-11 | 1 | -2/+2 |
| | |||||
* | r300: make sure indexed rendering doesn't try to use more than the num of ↵ | Jerome Glisse | 2009-06-10 | 1 | -0/+7 |
| | | | | | | | | vertices When with memory manager we need to make sure the GPU won't try to access beyond vertex buffer size, do so by enforcing that the maximun index is the last vertex of the buffer. | ||||
* | radeon: fix mipmap_limits crasher. | Dave Airlie | 2009-06-09 | 1 | -1/+1 |
| | | | | This gets the correct srclvl image map when uploading images to the new mipmap. | ||||
* | r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424 | Maciej Cencora | 2009-06-08 | 1 | -0/+1 |
| | | | | Fixes GPU hangs in software TCL path | ||||
* | Merge remote branch 'origin/master' into radeon-rewrite | Dave Airlie | 2009-06-07 | 104 | -5624/+6821 |
|\ | |||||
| * | osmesa: Allow building standalone in all three channel widths | Dan Nicholson | 2009-06-04 | 1 | -27/+9 |
| | | | | | | | | | | | | | | | | | | autoconf had been designating the 8 bit libOSMesa as the default standalone osmesa, but the Makefile expected it to be linked to libGL. Fix up the osmesa Makefile so that it allows any of the combinations of standalone and channel width to be built. Fixes bug #21980. | ||||
| * | mesa: call _mesa_ funcs, not gl funcs for debugging | Brian Paul | 2009-06-04 | 1 | -15/+18 |
| | | |||||
| * | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-04 | 4 | -7/+23 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/main/context.c | ||||
| | * | st/mesa: increase ST_MAX_SHADER_TOKENS to 8k | Brian Paul | 2009-06-04 | 1 | -1/+1 |
| | | | |||||
| | * | mesa: release VBO and PBO references upon context destruction | Brian Paul | 2009-06-02 | 1 | -0/+10 |
| | | | |||||
| | * | mesa: add #define FEATURE_ARB_pixel_buffer_object | Brian Paul | 2009-06-02 | 1 | -0/+1 |
| | | | |||||
| | * | intel: Clip to window after calling Driver.TexImage2D | Ian Romanick | 2009-06-02 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents the width / height from being clipped to the window size before the texture is allocated. This matches intelCopyTexImage1D. This should fix bug #21227 Signed-off-by: Ian Romanick <[email protected]> (cherry picked from commit 129f311673c99eb912d659023e50bc5f0ef53249) | ||||
| | * | mesa/st: restore flush to copy_texsubimage (was previously finish) | Keith Whitwell | 2009-06-01 | 1 | -0/+3 |
| | | | | | | | | | | | | Need a flush here even though the original finish was overkill. | ||||
| | * | st/gl: Fix mip gen for compressed textures | Jakob Bornecrantz | 2009-06-01 | 1 | -6/+8 |
| | | | |||||
| * | | intel: Add support for tiled textures. | Eric Anholt | 2009-06-04 | 13 | -44/+120 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is about a 30% performance win in OA with high settings on my GM45, and experiments with 915GM indicate that it'll be around a 20% win there. Currently, 915-class hardware is seriously hurt by the fact that we use fence regs to control the tiling even for 3D instructions that could live without them, so we spend a bunch of time waiting on previous rendering in order to pull fences off. Thus, the texture_tiling driconf option defaults off there for now. | ||||
| * | | i915: Don't rely on fence regs when we don't have to. | Eric Anholt | 2009-06-04 | 8 | -62/+55 |
| | | | | | | | | | | | | | | | We're on the way to telling the kernel about when we need fence regs on our objects or not, and this will cut the number of places needing them. | ||||
| * | | i915: Remove some long-dead i830 code. | Eric Anholt | 2009-06-04 | 1 | -20/+0 |
| | | | |||||
| * | | swrast: always do span clipping in _swrast_write_rgba_span() | Brian Paul | 2009-06-03 | 1 | -14/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | It's possible for mis-behaving vertex programs to produce vertex data with very large/NaN values. This doesn't get handled reliably by the clipper code so we may try to rasterize triangles that extend beyond the viewport/window. Always clip spans to avoid invalid memory accesses later. | ||||
| * | | vbo: minor reformatting | Brian Paul | 2009-06-03 | 1 | -16/+23 |
| | | | |||||
| * | | vbo: move/refactor debug code | Brian Paul | 2009-06-03 | 1 | -38/+49 |
| | | | |||||
| * | | vbo: added debug code to check array data validity (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+156 |
| | | | |||||
| * | | vbo: new debug/dump code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+58 |
| | | | |||||
| * | | mesa: added NaN checking code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+14 |
| | | | |||||
| * | | mesa: check/prevent NaN for EX2/LG2 | Brian Paul | 2009-06-03 | 1 | -6/+15 |
| | | | |||||
| * | | tnl: updated clip debug code (disabled) | Brian Paul | 2009-06-03 | 1 | -9/+19 |
| | | | |||||
| * | | mesa: added buffer object debug code (disabled) | Brian Paul | 2009-06-03 | 1 | -0/+36 |
| | | | |||||
| * | | tnl: add some floating point sanity checks (disabled) | Brian Paul | 2009-06-03 | 1 | -2/+25 |
| | | | |||||
| * | | vbo: tweak out-of-bounds VBO access error message | Brian Paul | 2009-06-03 | 1 | -1/+1 |
| | | | | | | | | | | | | Subtract 1 from _MaxElement to be clearer. | ||||
| * | | Fix compiling indirect.c when GLX_DIRECT_RENDERING is not defined | Ian Romanick | 2009-06-03 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | DO NOT HAND-EDIT GLX PROTOCOL FILES. Seriously. How can you miss the giant comment at the top of the file? | ||||
| * | | Fast path when rebinding the same texture in single context environment | Ian Romanick | 2009-06-03 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | If there is no shared context, there is no purpose in rebinding the same texture. In some artificial tests this improves performance 10% - 30%. | ||||
| * | | st/mesa: minor clean-ups, reformatting, etc | Brian Paul | 2009-06-02 | 1 | -14/+11 |
| | | | |||||
| * | | st/mesa: implement/enable GL_ARB_copy_buffer extension | Brian Paul | 2009-06-02 | 2 | -0/+39 |
| | | | |||||
| * | | mesa: fix error test mistake in _mesa_CopyBufferSubData() | Brian Paul | 2009-06-02 | 1 | -1/+1 |
| | | | |||||
| * | | mesa: enable GL_ARB_copy_buffer for software drivers | Brian Paul | 2009-06-02 | 1 | -0/+2 |
| | | | |||||
| * | | mesa: plug in new _mesa_CopyBufferSubData() functions | Brian Paul | 2009-06-02 | 3 | -0/+9 |
| | | | |||||
| * | | mesa: _mesa_CopyBufferSubData() function, and driver fall-back | Brian Paul | 2009-06-02 | 2 | -4/+156 |
| | | | |||||
| * | | mesa: new state for GL_ARB_copy_buffer | Brian Paul | 2009-06-02 | 1 | -0/+4 |
| | | | |||||
| * | | mesa: new CopyBufferSubData() driver hook | Brian Paul | 2009-06-02 | 1 | -0/+6 |
| | | |