Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: fix vertex unit setup | Alex Deucher | 2010-04-22 | 1 | -3/+7 |
| | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden. | ||||
* | r300g: raise the max index for generic varyings to 32 | Marek Olšák | 2010-04-21 | 1 | -1/+1 |
| | | | | | This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15. | ||||
* | r300g: Spill a bit more info about implementation errors in surface_copy. | Corbin Simpson | 2010-04-20 | 1 | -1/+7 |
| | | | | compiz appears to hit this. Weird. | ||||
* | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 2 | -2/+2 |
| | |||||
* | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 3 | -19/+32 |
|\ | |||||
| * | r300g: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -19/+32 |
| | | |||||
* | | r300g: add is_rv350 flag | Marek Olšák | 2010-04-20 | 4 | -14/+25 |
| | | |||||
* | | Merge branch '7.8' | Brian Paul | 2010-04-19 | 2 | -2/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c | ||||
| * | | gallium/draw: use correct rasterization state for wide/AA points/lines | Brian Paul | 2010-04-19 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When points or lines are decomposed into triangles, we need to be sure to disable polygon culling, stippling, "un-filled" modes, etc. This patch sets the rasterization state to disable those things prior to drawing points/lines with triangles, then restores the previous state afterward. The new piglit point-no-line-cull test checks this problem & solution. | ||||
| * | | r300g: remove hacks from translate_vertex_data_swizzle | Marek Olšák | 2010-03-19 | 1 | -20/+4 |
| | | | | | | | | | | | | Fixing RGBA 4ub vertex colors. | ||||
* | | | r300c/r300g: add 3155 rv380 pci id | Dave Airlie | 2010-04-19 | 1 | -0/+1 |
| | | | |||||
* | | | r300g: Remove unnecessary headers. | Vinson Lee | 2010-04-18 | 2 | -3/+0 |
| | | | |||||
* | | | r300g: implement TRUNC as floor | Marek Olšák | 2010-04-19 | 1 | -1/+1 |
| | | | |||||
* | | | r300/compiler: lower CEIL | Marek Olšák | 2010-04-19 | 1 | -1/+1 |
| | | | |||||
* | | | 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. | ||||
* | | | Revert "r300g: save vertex buffers around u_blitter calls" | Marek Olšák | 2010-04-18 | 1 | -1/+3 |
| | | | | | | | | | | | | Not sure why it crashes. | ||||
* | | | r300g: do not tell st that a buffer is referenced by hw | Marek Olšák | 2010-04-18 | 4 | -8/+12 |
| | | | | | | | | | | | | 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. | ||||
* | | | 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]> | ||||
* | | 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" | ||||
* | | 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 |
| | | |||||
* | | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures | Marek Olšák | 2010-04-17 | 1 | -1/+5 |
| | | |||||
* | | r300/compiler: make ARB_shadow_ambient optional | Marek Olšák | 2010-04-16 | 1 | -6/+0 |
| | | | | | | | | | | This saves constant register space for r300g, which doesn't need this feature. | ||||
* | | r300/compiler: fix repeat wrap mode for TXP and NPOTs | Marek Olšák | 2010-04-16 | 1 | -2/+1 |
| | | | | | | | | | | No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g. | ||||
* | | r300/compiler: kill off RC_WRAP_CLAMP | Marek Olšák | 2010-04-15 | 1 | -6/+0 |
| | | | | | | | | A variant thereof might be later reintroduced for the mirrored-clamp modes. | ||||
* | | r300g: mask out the mirrored bit correctly in the registers | Marek Olšák | 2010-04-15 | 1 | -12/+12 |
| | | | | | | | | | | It was previously done wrong + now it shouldn't render garbage, so that the NPOT fallback can get in. | ||||
* | | r300g: fix the MIRROR_CLAMP_TO_BORDER wrap mode | Marek Olšák | 2010-04-15 | 1 | -1/+1 |
| | | | | | | | | I guess this was a typo. | ||||
* | | r300g: add missing r300_state.h | Marek Olšák | 2010-04-15 | 1 | -0/+30 |
| | | | | | | | | I am very bad at this. | ||||
* | | r300g: disable the REPEAT NPOT fallback until it works | Marek Olšák | 2010-04-15 | 1 | -1/+2 |
| | | | | | | | | | | It causes regressions. I haven't tested the MIRROR wrap modes, so not sure about that.. | ||||
* | | r300g: do not use NPOT fallback for CLAMP wrap modes | Marek Olšák | 2010-04-15 | 1 | -23/+29 |
| | | | | | | | | These work just fine. | ||||
* | | r300g: pick a new fragment shader when either a sampler state or view is changed | Marek Olšák | 2010-04-15 | 3 | -17/+24 |
| | | |||||
* | | r300g: fix regression in texdepth. | Dave Airlie | 2010-04-15 | 1 | -5/+7 |
| | | | | | | | | | | | | | | | | | | texdepth stopped working when npot went in, this brings it back to life. < MostAwesomeDude> That looks like what I was going to do. Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | r300g: fix possible crash when shader compilation fails | Marek Olšák | 2010-04-14 | 2 | -0/+6 |
| | | | | | | | | This hopefully fixes the crash in the FDO bug #27634, not the bug itself. | ||||
* | | r300g: simplify get_shader_constant to be rc-constant-state specific | Marek Olšák | 2010-04-14 | 1 | -47/+34 |
| | | |||||
* | | r300g: remove the CS compenstation for non-atomized states | Marek Olšák | 2010-04-14 | 1 | -3/+0 |
| | | | | | | | | | | Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS. | ||||
* | | r300g: remove always_dirty flag and correct leftovers | Marek Olšák | 2010-04-14 | 2 | -7/+5 |
| | | |||||
* | | r300g: atomize beginning occlusion query | Marek Olšák | 2010-04-14 | 7 | -17/+8 |
| | | |||||
* | | r300g: atomize VS constant buffer | Marek Olšák | 2010-04-14 | 7 | -25/+30 |
| | | |||||
* | | r300g: emit VS immediates along with VS code | Marek Olšák | 2010-04-14 | 4 | -7/+37 |
| | | |||||
* | | r300g: make setting up fragment depth output less hackish | Marek Olšák | 2010-04-14 | 3 | -16/+18 |
| | | |||||
* | | r300g: kill off r300_fragment_shader::shadow_samplers and friends | Marek Olšák | 2010-04-14 | 2 | -9/+0 |
| | | |||||
* | | r300g: Silence uninitialized variable warning. | Vinson Lee | 2010-04-13 | 1 | -0/+1 |
| | | |||||
* | | r300g: add generating texture coordinates for point sprites | Marek Olšák | 2010-04-13 | 5 | -21/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | [airlied - Convert sprite coord index to a per-coord enable bit set the rasteriser block up correctly for point sprites. The inputs to the RS hw block change for sprite coords, so fix them up properly - this fixes piglit point-sprite test. ] Signed-off-by: Dave Airlie <[email protected]> | ||||
* | | r300g: Move declaration before code. | Vinson Lee | 2010-04-12 | 1 | -2/+4 |
| | | | | | | | | Fixes SCons build. |