summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_derived.c
AgeCommit message (Collapse)Author
2010-04-05r300g: typecast using the r300_texture functionMarek Olšák
2010-04-05r300g: simplify accessing screen from contextMarek Olšák
2010-04-05r300g: remove some XXXsMarek Olšák
We can't have more than 8 texcoord outputs in VS.
2010-04-05r300g: is_npot -> uses_pitchMarek Olšák
2010-03-27r300g: Make SWTCL clear work again.Corbin Simpson
Kind of surprised that this was as little as it took. Worrying.
2010-03-26Revert "r300g: add generating texture coordinates for point sprites (WIP)"Corbin Simpson
This reverts commit cba6430524198a1bdcdeada03cbe946a454f3935. Breaks celestia with a hardlock. :T We really need to sit down and study texture stuffing further.
2010-03-19r300g: lod min/max clamping should be relative to the base levelMarek Olšák
2010-03-19r300g: fix breakage after the gallium-sampler-view mergeMarek Olšák
2010-03-19r300g: add generating texture coordinates for point sprites (WIP)Marek Olšák
2010-03-15r300g: fix up after mergeKeith Whitwell
2010-03-09r300g: Precalculate and CSO-bind PSC state.Corbin Simpson
2010-03-09r300g: Cleanup old PSC code a bit.Corbin Simpson
2010-03-09r300g: fix gallium-vertexlementcso merge damageRoland Scheidegger
2010-03-09Merge branch 'gallium-vertexelementcso'Roland Scheidegger
Conflicts: src/gallium/auxiliary/cso_cache/cso_context.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/drivers/i915/i915_context.h src/gallium/drivers/i965/brw_draw_upload.c src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_context.h src/gallium/drivers/r300/r300_render.c src/gallium/drivers/r300/r300_state_derived.c src/mesa/state_tracker/st_cb_bitmap.c src/mesa/state_tracker/st_cb_clear.c
2010-03-07r300g: share the VS-output-mapping state with SWTCLMarek Olšák
And associated cleanups.
2010-03-06r300g: minor cleanups after the no-rhw mergeMarek Olšák
2010-03-02Merge branch 'gallium-no-rhw-position'Michal Krol
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
2010-03-01r300g: adapt to new vertex element csoRoland Scheidegger
2010-02-28r300g: atomize texture and sampler statesMarek Olšák
2010-02-28r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)Marek Olšák
Formerly known as vertex_format_state. These two are completely unrelated when using HWTCL and decoupling them makes the design less SWTCL-centric. When bypass_vs_clip_and_viewport gets removed, the PSC setup will no longer be a derived state. This change shouldn't make unbreaking SWTCL harder.
2010-02-28r300g: use the atom size directly during emissionMarek Olšák
2010-02-24r300g: Atomize vertex shader.Corbin Simpson
2010-02-22gallium: Remove bypass_vs_clip_and_viewport from rasteriser state.Michal Krol
Needs testing.
2010-02-13r300g: cleanup the emission of RS block stateMarek Olšák
Emit as few regs as possible.
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