summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
AgeCommit message (Collapse)Author
2010-03-09r300g: Precalculate and CSO-bind PSC state.Corbin Simpson
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-08r300g: fix updating the tiling flags for the framebuffer stateMarek Olšák
2010-03-08r300g: remove unnecessary state emissions and clean upMarek Olšák
2010-03-07r300g: disable emitting the HWTCL-related state when SWTCL is in useMarek Olšák
Now SWTCL renders at least "something", we're close...
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-02r300g: Use a macro to consolidate general state handling.Corbin Simpson
My God, I've reinvented R300_STATECHANGE. Forgive me. :C
2010-03-02r300g: Make velem CSO actually work.Corbin Simpson
glxgears runs again.
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
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-02r300: Rename pipe formats.José Fonseca
2010-03-01r300g: adapt to new vertex element csoRoland Scheidegger
2010-03-01r300: Save viewport and clip states before invoking blitter.Michal Krol
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-28r300g: atomize invalidation of texture cachesMarek Olšák
2010-02-28r300g: atomize PVS flushMarek Olšák
The first non-state atom. It's better and cleaner to have it.
2010-02-27r300g: move the emission of GA_POINT_MINMAX into emit_fb_stateMarek Olšák
The only practical limits are the ones derived from the currently-set framebuffer state.
2010-02-27r300g: put the emission of R300_US_OUT_FMT_UNUSED backMarek Olšák
It wasn't such a good idea to remove it. :/
2010-02-27r300g: mark rasterizer_state as dirty only when it's not NULLMarek Olšák
2010-02-27r300g: always emit the correct max vertex index to avoid DRM errorsMarek Olšák
Fixing bizarre reports that a vertex buffer is not large enough.
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-22Revert "r300g: rebuild winsys/pipe buffer handling and add buffer map"Dave Airlie
This reverts commit fff5be8e7b4557c221f2425dcafc2e7cbbba76ba. Probably went too soon with this, dileX reported OA not working for him it works here fine, but the optimisations I wanted aren't working properly yet so I'll fix that now. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-22r300g: rebuild winsys/pipe buffer handling and add buffer mapDave Airlie
This creates a cleaner winsys and drop the simple screen stuff. It makes r300g use pb_bufmgr structs and adds usage of the cached bufmgr for vertex/index buffers. It also avoids mapping too often. I'm not 100% sure this is perfect but it won't find its own bugs. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-15r300g: fix the size of constant buffersMarek Olšák
4 more piglit tests pass, sweet.
2010-02-14r300g: set the correct tiling flags for renderbuffersMarek Olšák
MACRO_SWITCH is applied to samplers but not renderbuffers. This commit fixes incorrect rendering to large and small mipmaps where the large ones are macrotiled and the small ones are not and both are emitted in the same CS. Note that this is still disabled by default (rework of texture transfers is next).
2010-02-13r300g: cleanup the emission of framebuffer stateMarek Olšák
Some emits are not needed anymore.
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
2010-02-12gallium: make max_anisotropy a unsigned bitfield memberRoland Scheidegger
saves us a dword in sampler state, hw can't do non-integer aniso degree anyway. To allow aniso 1x (which seems of dubious value but some hardware (radeons) have such a mode, and even d3d allows specifiying it) redefine anisotropic filtering as disabled only if max_anistropy is 0.
2010-02-11r300g: adapt to stencil ref changesRoland Scheidegger
2010-02-10r300g: Fix typo.Corbin Simpson
Thanks to Uros Bizjak for catching it.
2010-02-09r300g: Correct colorbuffer measurements.Corbin Simpson
Also clarify changes from pointminmax.
2010-02-09Merge branch 'gallium-nopointsizeminmax'Roland Scheidegger
Conflicts: src/gallium/drivers/nv10/nv10_state.c src/gallium/drivers/nv20/nv20_state.c src/gallium/drivers/nv50/nv50_program.c
2010-02-06r300g: cleanup XXXs in the DSA stateMarek Olšák
2010-02-06r300g: make a local copy of framebuffer stateMarek Olšák
The previous more direct approach was simply incorrect. piglit/levelclamp passes again.
2010-02-06r300g: fix color channel masksMarek Olšák
glean/maskedClear passes again.
2010-01-30r300g: Independent blend enables only work on r500.Corbin Simpson
2010-01-28r300g: Clean up blend masks, change caps.Corbin Simpson
progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-28r300g: Atomize framebuffers.Corbin Simpson
There might be some optimizations possible here...
2010-01-27r300g: Remove unnecessary headers.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-25r300g: Finish and enable immediate mode.Corbin Simpson
Based on Marek's immd-mode patch.
2010-01-25Revert "r300g,radeong: finish and enable the immediate mode"Corbin Simpson
This reverts commit 112239e9a66a155d36fe2ad0ab130e6f26eff298.
2010-01-25r300g: adapt to blend changesRoland Scheidegger
2010-01-24r300g,radeong: finish and enable the immediate modeMarek Olšák
Nearly 100% performance increase in glxgears.