summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
AgeCommit message (Collapse)Author
2009-12-02r300g: No vertex textures here.Corbin Simpson
2009-12-01r300: Update for renamed sampler/texture state setters.Michal Krol
2009-11-21r300g: Build fix.Corbin Simpson
Oops.
2009-11-20r300g: fix updating a vertex formatMarek Olšák
We must update PSC when we change the vertex format, e.g. vertex colors from RGBA to BGRA.
2009-11-20r300g: add texture lod clampingMarek Olšák
These now work: piglit/lodclamp piglit/levelclamp
2009-11-20r300g: Begin separating HW TCL and SW TCL state and setup.Corbin Simpson
This patch removes draw_context entirely from the HW TCL path and cleans up a few other things along the way. Hopefully, nothing got broken. Thanks to Marek Olšák for testing, review, and pointing out my bugs. :3
2009-11-20r300g: fix rectangle textures on r3xxMarek Olšák
Adapted from Maciej Cencora's patch.
2009-11-08r300g: Unify context names for counts.Corbin Simpson
From the SW TCL fixups.
2009-11-07r300g: VBOs WIPMaciej Cencora
2009-11-07r300g: add missing flushMaciej Cencora
2009-11-04r300g: add polygon modeMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-04r300g: add color channel maskingMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-11-01r300g: Miscellania. Avoid draw segfaults, s/true/TRUE/, etc.Corbin Simpson
Cleared out my git stash.
2009-11-01r300g: split constant buffer and shader emittionMaciej Cencora
2009-10-31r300g: fix reading from the destination buffer in blendingMarek Olšák
2009-10-31r300g: remove unnecessary assertionsMarek Olšák
Also, correct typos in comments.
2009-10-28r300g: fix emitting the stencil-ref and alpha-ref valuesMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> DSA really needs its head examined someday. ~ C.
2009-10-28r300g: fix blending and do some optimizationsMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-10-21r300g: No debug in r300_state.Corbin Simpson
2009-10-21r300g: Cleanup header includes.Corbin Simpson
2009-10-18r300g: Fix up a bunch of warnings.Corbin Simpson
2009-10-14r300g: Move ztop to derived state.Corbin Simpson
Need to get it into its own atom instead of piggybacking on DSA.
2009-10-14r300g: add one more ZTOP disable bit.Dave Airlie
Still missing the frag uses kill support, hopefully nha can point that out.
2009-10-14r300g: fixup arb occulsion query support.Dave Airlie
1: add rv530 support - num z pipes cap - add proper start/finish query options for rv530 2: convert to use linked list properly. 3: add flushing required check. 4: initial Z top disabling support. TODO: make it actually work on my rv530.
2009-10-11r300g: fix blending default state + alpha separate.Dave Airlie
this makes the default state same as r300
2009-09-06r300g: Fix a number of warningsNicolai Hähnle
Seriously guys....
2009-09-05r300g: update rs_block state after changing rasterizerCooper Yuan
2009-09-05r300g: need to validate scissor and viewport state if bind new rasterizerCooper Yuan
2009-08-27r300g: Correct scissor setting, subtract 1 from window's width and heightCooper Yuan
2009-08-18r300g: Force off ZTOP optimizations for now.Corbin Simpson
2009-08-07r300g: Remove r300_constant_buffer::user_count.Corbin Simpson
Not needed with new compiler.
2009-07-30r300g: Use radeon compiler for fragment programsNicolai Hähnle
This is entirely untested on R500, and needs more testing on R300.
2009-07-30r300g: Use r300compiler for vertex shadersNicolai Hähnle
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
2009-07-08r300g: Add endian fix to vertex fetcher setup.Corbin Simpson
As reported and initially tested by MrCooper.
2009-06-26r300g: EXT_provoking_vertex.Corbin Simpson
2009-06-26r300-gallium: organize fragment/vertex shadersJoakim Sindholt
Appart from separating r3xx/r5xx fragment shaders, a more consistent naming scheme has been applied. From now on: r300 = all chips r3xx = R300/R400 only r5xx = R500 only This way r300_fragment_shader is the master struct, and the structs r3xx_fragment_shader and r5xx_fragment_shader inherits it.
2009-06-08r300-gallium: Don't emit UCP planes for SW TCL.Corbin Simpson
2009-06-05r300-gallium: Emit UCP.Corbin Simpson
2009-05-20r300-gallium: Another constantbuf shader recompile test.Corbin Simpson
Less briefly... Shaders need to be recompiled if their constantbuf offsets have changed. However, since we only change them from shaders if immediates need to be emitted, we shouldn't bother if the shader doesn't use immediates.
2009-05-18r300-gallium: Cleanup viewport state setup.Corbin Simpson
2009-05-18r300-gallium: Always do VTE, never software viewport.Corbin Simpson
This makes glxgears draw properly with SW TCL.
2009-05-17r300-gallium: Update XXX.Corbin Simpson
Lops work fine as long as HW TCL is off. (I think I know why.)
2009-05-17r300-gallium: vs: Dupe tokens, better debug, count spurious insts.Corbin Simpson
2009-05-16r300-gallium: Various cleanups leftover from before.Corbin Simpson
BEGIN/END_CS pair, a few asserts, and a slightly more correct VTE setup.
2009-05-12r300-gallium: add missing semicolonJoakim Sindholt
Yeah, that was stupid
2009-05-12r300-gallium: duplicate tokens in create_fs_stateJoakim Sindholt
This was all phoenix64's idea. Credit goes to him
2009-05-08r300-gallium, radeon: A couple cleanups.Corbin Simpson
Trying to track down goddamn bugs. :C
2009-04-26r300-gallium: Correctly flush Draw.Corbin Simpson
Should help with a few non-TCL bugs.
2009-04-15r300-gallium: Use viewport state.Corbin Simpson