summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2010-04-19r300g: Adapt for index bias interface change.José Fonseca
2010-04-19Merge branch '7.8'Brian Paul
Conflicts: src/gallium/auxiliary/draw/draw_context.c src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/drivers/llvmpipe/lp_context.c
2010-04-19gallium/draw: use correct rasterization state for wide/AA points/linesBrian Paul
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.
2010-04-19r300c/r300g: add 3155 rv380 pci idDave Airlie
2010-04-18r300g: Remove unnecessary headers.Vinson Lee
2010-04-19r300g: implement TRUNC as floorMarek Olšák
2010-04-19r300/compiler: lower CEILMarek Olšák
2010-04-18r300g: more solid is_buffer_referenced implementationMarek Olšák
This fixes crash from 7a1b5c937fa32968a04a11649e456a1ef8c5b442, and also removes the unused "map" pointer.
2010-04-18Revert "r300g: save vertex buffers around u_blitter calls"Marek Olšák
Not sure why it crashes.
2010-04-18r300g: do not tell st that a buffer is referenced by hwMarek Olšák
It saves a few libdrm calls and unnecessary flushes.
2010-04-18r300g: save vertex buffers around u_blitter callsLuca Barbieri
Not strictly needed by the Mesa state tracker, but needed in general. Only compile tested.
2010-04-18r300g: fixup 0 stride buffer properly.Dave Airlie
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 <airlied@redhat.com>
2010-04-17r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.Vinson Lee
Fixes this SCons build error. "pointer of type 'void *' uses in arithmetic"
2010-04-18r300g: various other cleanupsMarek Olšák
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.
2010-04-18r300g: inline screen_buffer functionsMarek Olšák
2010-04-18r300g: remove unused declarationsMarek Olšák
2010-04-18r300g: add debugging options "notiling" and "noimmd" (for testing)Marek Olšák
notiling = Disable texture tiling noimmd = Disable immediate mode (this optimization was really worth it!)
2010-04-18r300g: remove r300_transfer::ctxMarek Olšák
2010-04-18r300g: remove use of c++ keywordsMarek Olšák
2010-04-18r300g: always create microtiled zbuffer regardless of texture dimensionsMarek Olšák
2010-04-17r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT texturesMarek Olšák
2010-04-16r300/compiler: make ARB_shadow_ambient optionalMarek Olšák
This saves constant register space for r300g, which doesn't need this feature.
2010-04-16r300/compiler: fix repeat wrap mode for TXP and NPOTsMarek Olšák
No idea why st/mesa unnecessarily inserts TXP where TEX is sufficient. Also re-enabling the NPOT fallback for repeat in r300g.
2010-04-15r300/compiler: kill off RC_WRAP_CLAMPMarek Olšák
A variant thereof might be later reintroduced for the mirrored-clamp modes.
2010-04-15r300g: mask out the mirrored bit correctly in the registersMarek Olšák
It was previously done wrong + now it shouldn't render garbage, so that the NPOT fallback can get in.
2010-04-15r300g: fix the MIRROR_CLAMP_TO_BORDER wrap modeMarek Olšák
I guess this was a typo.
2010-04-15r300g: add missing r300_state.hMarek Olšák
I am very bad at this.
2010-04-15r300g: disable the REPEAT NPOT fallback until it worksMarek Olšák
It causes regressions. I haven't tested the MIRROR wrap modes, so not sure about that..
2010-04-15r300g: do not use NPOT fallback for CLAMP wrap modesMarek Olšák
These work just fine.
2010-04-15r300g: pick a new fragment shader when either a sampler state or view is changedMarek Olšák
2010-04-15r300g: fix regression in texdepth.Dave Airlie
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 <airlied@redhat.com>
2010-04-14r300g: fix possible crash when shader compilation failsMarek Olšák
This hopefully fixes the crash in the FDO bug #27634, not the bug itself.
2010-04-14r300g: simplify get_shader_constant to be rc-constant-state specificMarek Olšák
2010-04-14r300g: remove the CS compenstation for non-atomized statesMarek Olšák
Now there aren't any. If CS overflow occurs, the fix should go directly before the problematic BEGIN_CS.
2010-04-14r300g: remove always_dirty flag and correct leftoversMarek Olšák
2010-04-14r300g: atomize beginning occlusion queryMarek Olšák
2010-04-14r300g: atomize VS constant bufferMarek Olšák
2010-04-14r300g: emit VS immediates along with VS codeMarek Olšák
2010-04-14r300g: make setting up fragment depth output less hackishMarek Olšák
2010-04-14r300g: kill off r300_fragment_shader::shadow_samplers and friendsMarek Olšák
2010-04-13r300g: Silence uninitialized variable warning.Vinson Lee
2010-04-13r300g: add generating texture coordinates for point spritesMarek Olšák
[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 <airlied@redhat.com>
2010-04-12r300g: Move declaration before code.Vinson Lee
Fixes SCons build.
2010-04-11r300/compiler: Implement texcoord repeat and mirror for NPOT.Corbin Simpson
2010-04-11r300g: Setup external state for wrap modes.Corbin Simpson
2010-04-11r300g: Cleanup fragment program external state setup.Corbin Simpson
2010-04-12r300g: atomize FS constant bufferMarek Olšák
2010-04-12r300g: atomize compiler's state variables for fragment shaderMarek Olšák
2010-04-12r300g: atomize fragment shaderMarek Olšák
2010-04-12r300g: remove a false commentMarek Olšák