summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
Commit message (Collapse)AuthorAgeFilesLines
* r300g: fix vertex unit setupAlex Deucher2010-04-221-3/+7
| | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* r300g: raise the max index for generic varyings to 32Marek Olšák2010-04-211-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 Simpson2010-04-201-1/+7
| | | | compiz appears to hit this. Weird.
* gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul2010-04-202-2/+2
|
* Merge branch 'gallium-index-bias'José Fonseca2010-04-203-19/+32
|\
| * r300g: Adapt for index bias interface change.José Fonseca2010-04-193-19/+32
| |
* | r300g: add is_rv350 flagMarek Olšák2010-04-204-14/+25
| |
* | Merge branch '7.8'Brian Paul2010-04-192-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/linesBrian Paul2010-04-192-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_swizzleMarek Olšák2010-03-191-20/+4
| | | | | | | | | | | | Fixing RGBA 4ub vertex colors.
* | | r300c/r300g: add 3155 rv380 pci idDave Airlie2010-04-191-0/+1
| | |
* | | r300g: Remove unnecessary headers.Vinson Lee2010-04-182-3/+0
| | |
* | | r300g: implement TRUNC as floorMarek Olšák2010-04-191-1/+1
| | |
* | | r300/compiler: lower CEILMarek Olšák2010-04-191-1/+1
| | |
* | | r300g: more solid is_buffer_referenced implementationMarek Olšák2010-04-183-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šák2010-04-181-1/+3
| | | | | | | | | | | | Not sure why it crashes.
* | | r300g: do not tell st that a buffer is referenced by hwMarek Olšák2010-04-184-8/+12
| | | | | | | | | | | | It saves a few libdrm calls and unnecessary flushes.
* | | r300g: save vertex buffers around u_blitter callsLuca Barbieri2010-04-181-0/+1
| | | | | | | | | | | | | | | | | | Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
* | | r300g: fixup 0 stride buffer properly.Dave Airlie2010-04-181-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 Lee2010-04-171-1/+1
| | | | | | | | | | Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic"
* | r300g: various other cleanupsMarek Olšák2010-04-1812-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 functionsMarek Olšák2010-04-181-84/+36
| |
* | r300g: remove unused declarationsMarek Olšák2010-04-181-4/+0
| |
* | r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák2010-04-184-9/+18
| | | | | | | | | | notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
* | r300g: remove r300_transfer::ctxMarek Olšák2010-04-181-5/+1
| |
* | r300g: remove use of c++ keywordsMarek Olšák2010-04-184-15/+12
| |
* | r300g: always create microtiled zbuffer regardless of texture dimensionsMarek Olšák2010-04-181-2/+3
| |
* | r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák2010-04-171-1/+5
| |
* | r300/compiler: make ARB_shadow_ambient optionalMarek Olšák2010-04-161-6/+0
| | | | | | | | | | This saves constant register space for r300g, which doesn't need this feature.
* | r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák2010-04-161-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_CLAMPMarek Olšák2010-04-151-6/+0
| | | | | | | | A variant thereof might be later reintroduced for the mirrored-clamp modes.
* | r300g: mask out the mirrored bit correctly in the registersMarek Olšák2010-04-151-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 modeMarek Olšák2010-04-151-1/+1
| | | | | | | | I guess this was a typo.
* | r300g: add missing r300_state.hMarek Olšák2010-04-151-0/+30
| | | | | | | | I am very bad at this.
* | r300g: disable the REPEAT NPOT fallback until it worksMarek Olšák2010-04-151-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 modesMarek Olšák2010-04-151-23/+29
| | | | | | | | These work just fine.
* | r300g: pick a new fragment shader when either a sampler state or view is changedMarek Olšák2010-04-153-17/+24
| |
* | r300g: fix regression in texdepth.Dave Airlie2010-04-151-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 failsMarek Olšák2010-04-142-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 specificMarek Olšák2010-04-141-47/+34
| |
* | r300g: remove the CS compenstation for non-atomized statesMarek Olšák2010-04-141-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 leftoversMarek Olšák2010-04-142-7/+5
| |
* | r300g: atomize beginning occlusion queryMarek Olšák2010-04-147-17/+8
| |
* | r300g: atomize VS constant bufferMarek Olšák2010-04-147-25/+30
| |
* | r300g: emit VS immediates along with VS codeMarek Olšák2010-04-144-7/+37
| |
* | r300g: make setting up fragment depth output less hackishMarek Olšák2010-04-143-16/+18
| |
* | r300g: kill off r300_fragment_shader::shadow_samplers and friendsMarek Olšák2010-04-142-9/+0
| |
* | r300g: Silence uninitialized variable warning.Vinson Lee2010-04-131-0/+1
| |
* | r300g: add generating texture coordinates for point spritesMarek Olšák2010-04-135-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 Lee2010-04-121-2/+4
| | | | | | | | Fixes SCons build.