summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_derived.c
AgeCommit message (Collapse)Author
2010-01-27r300g: Silence GCC "missing braces around initializer" warning.Vinson Lee
2010-01-26r300g: Turn the RS block into an atom.Corbin Simpson
At least one extraneous dirty was eliminated, as well as the chance for avoiding dirty on shader change.
2010-01-26r300g: Make vertex_format into an atom.Corbin Simpson
Some delicious hax here.
2010-01-26r300g: Kill dead code for hashing custom state.Corbin Simpson
It just wasn't meant to be.
2010-01-17r300g: fix the rasterization of secondary colorMarek Olšák
When the secondary color is used, the primary color must always be rasterized regardless of whether it is used or not.
2010-01-10r300g: Move TCL bypass switch to main context.Corbin Simpson
2010-01-10r300g: Don't avoid rewriting ZTOP.Corbin Simpson
Simplify the code. Added a comment to keep me from doing it again.
2010-01-10r300g: Atomize rasterizer.Corbin Simpson
I want to stab things now.
2010-01-10r300g: Atomize ZTOP.Corbin Simpson
Also do state-change checks. ZTOP's too important to not check.
2010-01-10r300g: Atomize DSA.Corbin Simpson
Also a bit of ztop.
2010-01-06r300g: add back-face color VS outputsMarek Olšák
Required for two-sided lighting. BTW we are approaching softpipe-level quality. ;)
2010-01-06r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák
2010-01-06r300g: add WPOSMarek Olšák
2009-12-25gs: fix drivers so they work with geometry shadersZack Rusin
2009-12-09r300g: fix routing of vertex streams if TCL is bypassedMarek Olšák
Generating mipmaps finally works, among other things. Yay!
2009-12-06r300g: Clean up previous commit.Corbin Simpson
If *I* can't read it, there's a strong possibility others can't, either.
2009-12-06r300g: enhance ZTOP conditionsMarek Olšák
2009-12-01r300g: clean up derived statesMarek Olšák
The state setups which aren't derived anymore have been moved to the VS and FS objects.
2009-12-01r300g: VS->FS attribute routing reworkMarek Olšák
Now it always correctly pairs up VS and FS even if the semantics and indices of VS outputs and FS inputs don't match.
2009-11-21r300g: do not reallocate r300_vertex_info and r300_rs_block all the timeMarek Olšák
2009-11-21r300g: clean up vs/fs tabsMarek Olšák
Instead of vs_tab, we use vs_output_tab and it's local now. fs_tab hasn't been used anywhere, so I removed it and r300_update_fs_tab too.
2009-11-20r300g: silence warningsMarek Olšák
2009-11-20r300g: fix typo in r300_reg.h to prevent the RS unit from doing random thingsMarek Olšák
And reorder fragment shader inputs so that the colors are before texcoords, as is allocated by the shader compiler. This commit makes VS->FS attribute routing work on R500.
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: 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: Use MAX3 and MIN3.Corbin Simpson
2009-11-08r300g: Protect against possibly missing Draw pointer.Corbin Simpson
Part of the SW TCL revival.
2009-11-07r300g: VBOs WIPMaciej Cencora
2009-10-22r300g: Cleanup PSC setup math a bit and stop using Draw formats.Corbin Simpson
2009-10-21r300g: Update comments, function names in r300_state_inlines.Corbin Simpson
2009-10-21r300g: Cleanup header includes.Corbin Simpson
2009-10-21r300g: Don't use the hashtable internally.Corbin Simpson
As osiris pointed out, glxgears slowly gets slower for some reason when it's enabled, and it's not helping at the moment, so just turn it off.
2009-10-21r300g: Examine vertex attribute type on HW TCL too.Corbin Simpson
2009-10-19r300g: Demonstratory kludge to unbreak glxgears.Corbin Simpson
We *must* recalculate something in vformat every rebind; let's see if we can't narrow it down a bit.
2009-10-18r300g: Fix up a bunch of warnings.Corbin Simpson
2009-10-18r300g: Add another ZTOP condition.Corbin Simpson
I don't even know if texkill works right now.
2009-10-17r300g: Use a dirty test to bring framerate back up.Corbin Simpson
This is just split out from the next commit, that's all.
2009-10-17r300g: Also have rs_block keyed to the current shader combo.Corbin Simpson
Eliminates part of the glxgears corruption here. Need to clean up PSC more, to get rid of the rest of it.
2009-10-17r300g: Fix u_hash_table rename.Corbin Simpson
2009-10-16r300g: Use a hash table to look up vertex info.Corbin Simpson
Need to move rs_block to this, too. Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta re-re-examine PSC and friends. :C
2009-10-14r300g: Move ZTOP to its own state atom.Corbin Simpson
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
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: Compiler warning cleanup.Corbin Simpson
2009-09-28r300g: fix r300g cause GPU hang issue.Cooper Yuan
why there are two input position semantic tags is that ureg doesn't set vs input semantic due to commit: 6d8dbd3d1ec888 so use vs input index instead of semantic name.
2009-09-27r300g: fix erroneous conditionMaciej Cencora
2009-09-27r300g: don't force vertex position for HW TCL pathMaciej Cencora
It could be generated by vertex shader.
2009-09-27r300g: add some assertionsMaciej Cencora
Not sure why we are getting a shader with two inputs with position semantic, but we don't know how to handle it correctly so it's better to stop the app than lock the machine.
2009-09-28r300g: fix r300 rs pathDave Airlie
2009-09-28r300g: rewrite RS state setup.Dave Airlie
Not 100% sure this is correct, but its more correct than what was here previous however it may require changes in the input routing for the frag shader.
2009-09-28r300g: silence compiler warningDave Airlie