Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: fix up buffer emission ordering. | Dave Airlie | 2010-01-23 | 3 | -22/+34 |
| | | | | | | | This fixes the code space checking VBOs, then resetting the space list and space checking other buffers. it fixes demos/ipers Signed-off-by: Dave Airlie <[email protected]> | ||||
* | r300g: Move GB_AA_CONFIG to its eventual new home. | Corbin Simpson | 2010-01-19 | 4 | -6/+8 |
| | |||||
* | r300g: Make invariant state into an atom. | Corbin Simpson | 2010-01-19 | 5 | -4/+7 |
| | |||||
* | r300g: fix polygon offset | Marek Olšák | 2010-01-18 | 3 | -14/+54 |
| | | | | | | | As per classic r300. Not sure why glean/polygonOffset still fails, but we do emit the same register values as in classic. | ||||
* | r300g: fix vertex data swizzle | Marek Olšák | 2010-01-18 | 1 | -1/+5 |
| | |||||
* | r300g: do not align compressed textures to a tile size | Marek Olšák | 2010-01-18 | 1 | -6/+14 |
| | |||||
* | r300g: Check for bogus texture targets. | Corbin Simpson | 2010-01-17 | 1 | -0/+6 |
| | |||||
* | r300g: fix the rasterization of secondary color | Marek Olšák | 2010-01-17 | 2 | -4/+8 |
| | | | | | When the secondary color is used, the primary color must always be rasterized regardless of whether it is used or not. | ||||
* | r300g: fix vertex colors with 8 bits per channel | Marek Olšák | 2010-01-17 | 1 | -5/+17 |
| | | | | The piglit BGRA tests pass now. | ||||
* | r300g: simplify is_format_supported | Marek Olšák | 2010-01-17 | 1 | -46/+11 |
| | |||||
* | r300g: output texture debug messages if only RADEON_DEBUG=tex is set | Marek Olšák | 2010-01-17 | 5 | -23/+31 |
| | |||||
* | r300g: move debug flags into r300_screen | Marek Olšák | 2010-01-17 | 5 | -35/+58 |
| | |||||
* | r300g: disable the MIP filter for NPOT textures | Marek Olšák | 2010-01-17 | 1 | -6/+12 |
| | | | | Safety first. | ||||
* | r300g: fix the CS size when emitting invariant state | Marek Olšák | 2010-01-17 | 1 | -1/+2 |
| | |||||
* | r300g: Stop using indices. | Corbin Simpson | 2010-01-16 | 1 | -37/+17 |
| | | | | Sorry, it was a good game, but it just doesn't work. | ||||
* | r300g: Respect fill modes in indices fallback. | Corbin Simpson | 2010-01-16 | 2 | -5/+15 |
| | |||||
* | Merge branch 'gallium-noconstbuf' | Roland Scheidegger | 2010-01-15 | 1 | -7/+7 |
|\ | | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c | ||||
| * | gallium: remove const qualifier from pipe_buffer argument in set_constant_buffer | Roland Scheidegger | 2010-01-11 | 1 | -1/+1 |
| | | |||||
| * | gallium: adapt drivers to pipe_constant_buffer removal | Roland Scheidegger | 2009-12-24 | 1 | -7/+7 |
| | | |||||
* | | Merge branch 'mesa_7_7_branch' | Jakob Bornecrantz | 2010-01-14 | 1 | -0/+1 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c src/gallium/auxiliary/util/Makefile src/gallium/drivers/r300/r300_state_derived.c | ||||
| * | | r300g: Silence unused variable warnings. | Vinson Lee | 2010-01-08 | 2 | -1/+2 |
| | | | |||||
* | | | r300g: Cleanup from last few commits. | Corbin Simpson | 2010-01-14 | 1 | -5/+1 |
| | | | | | | | | | | | | Strangely enough, the code solidified pretty quickly. | ||||
* | | | r300g: Really destroy translated buffer at the end. | Łukasz Krotowski | 2010-01-14 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | Note that indexSize is changed by r300_translate_elts(). Also make sure it's destroyed on errors. | ||||
* | | | r300g: Use indices to translate index buffers of ubytes. | Corbin Simpson | 2010-01-13 | 1 | -7/+58 |
| | | | | | | | | | | | | progs/redbook/aapoly, among others, works fine now. | ||||
* | | | r300g: Disable immediate mode rendering for now. | Corbin Simpson | 2010-01-13 | 1 | -1/+1 |
| | | | | | | | | | | | | Will re-enable when the bugs are ironed out. | ||||
* | | | r300g: Account for CS space used per atom. | Corbin Simpson | 2010-01-13 | 4 | -18/+55 |
| | | | | | | | | | | | | | | | | | | Oh yeah, those atoms are startin' to pay off. The main obstacle now for OA playability is the absurdly low default mouse sensitivity, IMO. Not totally smooth yet, but getting there. | ||||
* | | | r300g: Two dirty state optimizations. | Corbin Simpson | 2010-01-13 | 1 | -8/+6 |
| | | | |||||
* | | | r300g: DCE in emit. | Corbin Simpson | 2010-01-13 | 1 | -26/+0 |
| | | | |||||
* | | | r300g: Lower the immd mode threshold. | Corbin Simpson | 2010-01-12 | 1 | -3/+8 |
| | | | |||||
* | | | r300g: Fix is_r400 status for rs4xx and rc4xx. | Corbin Simpson | 2010-01-12 | 1 | -4/+0 |
| | | | | | | | | | | | | As suggested by agd5f. | ||||
* | | | r300g: Switch to immediate mode for tiny renders. | Corbin Simpson | 2010-01-12 | 1 | -4/+40 |
| | | | | | | | | | | | | Useful for e.g. blitter. | ||||
* | | | r300g: emit blend LTE/GTE thresholds on >=RV350 | Marek Olšák | 2010-01-12 | 1 | -1/+3 |
| | | | | | | | | | | | | As per classic r300. | ||||
* | | | r300g: update the texture initialization so that it respects tiling | Marek Olšák | 2010-01-12 | 1 | -6/+50 |
| | | | | | | | | | | | | This is still work-in-progress and tiling is not enabled by default. | ||||
* | | | r300g: add emission of texture tiling bits | Marek Olšák | 2010-01-12 | 3 | -11/+32 |
| | | | |||||
* | | | r300g: add is_r400 flag | Marek Olšák | 2010-01-12 | 2 | -1/+22 |
| | | | | | | | | | | | | r4xx has some additional fragment shader registers compared to r3xx. | ||||
* | | | r300g: silence a warning | Marek Olšák | 2010-01-12 | 1 | -1/+1 |
| | | | |||||
* | | | r300g: only emit scissor when needed | Marek Olšák | 2010-01-12 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | | | | Reverting some bits from ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad. Given the latest fixes, it's not needed to always emit scissor, really. | ||||
* | | | Revert "r300g: Placate kernel checker by explicitly disabling depth test." | Marek Olšák | 2010-01-12 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e920ee23b32f6031a7b8527b540566e7ada6af8a. Assuming the FB state is not dirty and the DSA state is, then the depth test will be re-enabled, making the kernel checker angry. Reverting the commit fixes piglit/glsl-bug-22603. | ||||
* | | | r300g: mark all states as dirty after flush | Marek Olšák | 2010-01-12 | 1 | -0/+9 |
| | | | | | | | | | | | | It fixes almost all regressions introduced lately. | ||||
* | | | r300g: Always emit scissors. | Corbin Simpson | 2010-01-12 | 5 | -69/+45 |
| | | | | | | | | | | | | Save some code, improve FPS, and fix piglit tests. Everybody wins. | ||||
* | | | r300g: Add back dirty state check. | Corbin Simpson | 2010-01-11 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | From 07ea7e6c80. This is the only questionable part of that commit, AFAICT... | ||||
* | | | r300g: Placate kernel checker by explicitly disabling depth test. | Corbin Simpson | 2010-01-11 | 1 | -11/+8 |
| | | | | | | | | | | | | | | | | | | | | | This probably should disable stencil, too, if the kernel cares enough. Note: When atomized, framebuffer setup should go towards the end anyway, but it *must* follow these test setups anyway. | ||||
* | | | r300g: Avoid segfault on binding null RS state. | Corbin Simpson | 2010-01-11 | 1 | -1/+5 |
| | | | |||||
* | | | r300g: Don't bother testing for empty scissors. | Corbin Simpson | 2010-01-10 | 3 | -28/+0 |
| | | | | | | | | | | | | | | | If somebody goes through that much effort, they probably intended it. So humor them. :3 | ||||
* | | | r300g: Atomize scissors. | Corbin Simpson | 2010-01-10 | 6 | -26/+22 |
| | | | | | | | | | | | | Argfl. Some of this code is so questionable. | ||||
* | | | r300g: Move TCL bypass switch to main context. | Corbin Simpson | 2010-01-10 | 4 | -36/+31 |
| | | | |||||
* | | | r300g: Atomize viewport. | Corbin Simpson | 2010-01-10 | 5 | -30/+26 |
| | | | | | | | | | | | | Goddammit, some of these hax are really annoying. | ||||
* | | | r300g: Move ROPCNTL to the top of the emit order. | Corbin Simpson | 2010-01-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it. | ||||
* | | | r300g: Don't avoid rewriting ZTOP. | Corbin Simpson | 2010-01-10 | 1 | -9/+9 |
| | | | | | | | | | | | | Simplify the code. Added a comment to keep me from doing it again. | ||||
* | | | r300g: Atomize rasterizer. | Corbin Simpson | 2010-01-10 | 8 | -32/+34 |
| | | | | | | | | | | | | I want to stab things now. |