summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state.c
AgeCommit message (Collapse)Author
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.
2010-01-18r300g: fix polygon offsetMarek Olšák
As per classic r300. Not sure why glean/polygonOffset still fails, but we do emit the same register values as in classic.
2010-01-16r300g: Respect fill modes in indices fallback.Corbin Simpson
2010-01-15Merge branch 'gallium-noconstbuf'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_draw_arrays.c src/mesa/state_tracker/st_draw_feedback.c
2010-01-13r300g: Account for CS space used per atom.Corbin Simpson
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.
2010-01-12r300g: only emit scissor when neededMarek Olšák
Reverting some bits from ce1c493ff8fad4b62e2b66f06636ac6560a6e0ad. Given the latest fixes, it's not needed to always emit scissor, really.
2010-01-12gallium: remove point_size_min and point_size_max from rasterizer stateRoland Scheidegger
The state tracker is responsible for clamping to any graphics API enforced size min/max limits for both the static point_size setting as well as per vertex point size (in the vertex shader). Note that mesa state tracker didn't actually use these values.
2010-01-12r300g: Always emit scissors.Corbin Simpson
Save some code, improve FPS, and fix piglit tests. Everybody wins.
2010-01-11r300g: Avoid segfault on binding null RS state.Corbin Simpson
2010-01-11gallium: remove const qualifier from pipe_buffer argument in set_constant_bufferRoland Scheidegger
2010-01-10r300g: Don't bother testing for empty scissors.Corbin Simpson
If somebody goes through that much effort, they probably intended it. So humor them. :3
2010-01-10r300g: Atomize scissors.Corbin Simpson
Argfl. Some of this code is so questionable.
2010-01-10r300g: Move TCL bypass switch to main context.Corbin Simpson
2010-01-10r300g: Atomize viewport.Corbin Simpson
Goddammit, some of these hax are really annoying.
2010-01-10r300g: Atomize rasterizer.Corbin Simpson
I want to stab things now.
2010-01-10r300g: Atomize DSA.Corbin Simpson
Also a bit of ztop.
2010-01-10r300g: Atomize UCP.Corbin Simpson
Meh.
2010-01-10r300g: Atomize blend color.Corbin Simpson
2010-01-10r300g: Start using atoms.Corbin Simpson
No benefits yet.
2010-01-06r300g: if no DS buffer is set, disable reading from and writing to itMarek Olšák
It fixes another "Bad CS" issue.
2010-01-06r300g: disable the rasterization of WPOS if it's unused by the FSMarek Olšák
2010-01-06r300g: add WPOSMarek Olšák
2010-01-06r300g: optimize blending by conditionally disabling reads from the colorbufferMarek Olšák
2010-01-06r300g: optimize blending by discarding pixels that don't change the colorbufferMarek Olšák
Let's get some performance out of the blender.
2010-01-06r300g: fix blending when SRC_ALPHA_SATURATE is usedMarek Olšák