summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300
AgeCommit message (Collapse)Author
2010-04-27r300g: reserve CS space for index offsetMarek Olšák
This has caused CS overflow since the commit 671f1e1229877d459cfd76e2cf5ea89c8d881036. TA3D works here again.
2010-04-27r300g: add support for more unaligned vertex formatsMarek Olšák
An aligned stride is still needed for it to work. I am slowly approaching the Sauerbraten milestone!
2010-04-27r300g: setup PSC first, then align vertex formatsMarek Olšák
This allows us to put correct swizzles for undefined components in PSC.
2010-04-27r300g: set undefined vertex swizzles to (0,0,0,1) respectivelyMarek Olšák
2010-04-26r300g: disable point sprites (again)Marek Olšák
They cause lockups. The users doesn't seem to like them.
2010-04-26r300g: fix warnings when printing uint64_tMarek Olšák
Though not nice, this is the correct way.
2010-04-26r300g: fix warnings by using the const qualifierMarek Olšák
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
2010-04-26r300g: use CS_OUT_TABLE betterMatt Turner
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-04-26r300g: Rudimentary stats, printed on exit.Corbin Simpson
Whoo!
2010-04-26r300g: Add stats debug flag.Corbin Simpson
2010-04-26r300g: Use table CS writing when applicable.Corbin Simpson
I just broke the 2000 fps barrier on glxgears. Yay?
2010-04-26r300g: Add CS table writing.Corbin Simpson
2010-04-26r300g: support index bias on r500 and DRM 2.3.0Marek Olšák
2010-04-26r300g: support rendering more than 65535 vertices in one batch on r500Marek Olšák
and disable batch splitting on these chipsets.
2010-04-26r300g: emit MSPOS regsMarek Olšák
2010-04-26r300g: force prefetch for non-indexed verticesMarek Olšák
2010-04-26r300g: use the dummy FS shader for shaders with zero instructionsMarek Olšák
2010-04-26r300g: allow unaligned vertex formats if the stride is dword-alignedMarek Olšák
2010-04-26r300g: abort on unsupported vertex formatsMarek Olšák
2010-04-26r300g: abort if a vertex buffer offset is not dword-alignedMarek Olšák
2010-04-22r300g: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-21r300g: raise the max index for generic varyings to 32Marek Olšák
This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15.
2010-04-20r300g: Spill a bit more info about implementation errors in surface_copy.Corbin Simpson
compiz appears to hit this. Weird.
2010-04-20gallium: replace pipe_resource::_usage with pipe_resource::usageBrian Paul
2010-04-20Merge branch 'gallium-index-bias'José Fonseca
2010-04-20r300g: add is_rv350 flagMarek Olšák
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.