summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
AgeCommit message (Collapse)Author
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: 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: resurrect r300_emit_vertex_buffer for SWTCLMarek Olšák
Taken over from c9928ac3ee5dc0d10127388f9312779a6c59da7c.
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: put validating buffers after flushingMarek Olšák
Also cleaning up the nasty validation process.
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-28r300g: add size parameter to the atom emit functionsMarek Olšák
Maintaining a closer relationship between the atom size and what's passed in BEGIN_CS.
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-24r300g: Atomize vertex shader.Corbin Simpson
2010-02-24r300g: prevent CS overflow when emitting the draw packetsMarek Olšák
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
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-21r300g: Remove unnecessary header.Vinson Lee
2010-02-21r300g: precompute framebuffer register valuesMarek Olšák
2010-02-14r300g: add macrotiling support to texture setupMarek Olšák
2010-02-13r300g: do not invalidate texture caches when only sampler state is changedMarek Olšák
2010-02-13r300g: cleanup the emission of RS block stateMarek Olšák
Emit as few regs as possible.
2010-02-13r300g: cleanup the emission of framebuffer stateMarek Olšák
Some emits are not needed anymore.
2010-02-13r300g: disable independent blend enablesMarek Olšák
Not supported by r300.
2010-02-13r300g: emit INDEPENDENT_COLORFORMAT_ENABLE only on r5xxMarek Olšák
2010-02-12Merge branch 'gallium-dynamicstencilref'Roland Scheidegger
2010-02-11r300g: adapt to stencil ref changesRoland Scheidegger
2010-02-09r300g: Don't write non-existent bit on non-r500.Corbin Simpson
Might help with compiz being funky with MRTs.
2010-02-06r300g: cleanup XXXs in the DSA stateMarek Olšák
2010-02-06r300g: remove useless GA_COLOR_CONTROL emitMarek Olšák
Already emitted in r300_emit_draw_xxx.
2010-01-30Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson
This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
2010-01-30r300g: Don't handle SHADOW_AMBIENT.Corbin Simpson
Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3
2010-01-30r300g: Fix comment on SHADOW_AMBIENT.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-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-24r300g,radeong: finish and enable the immediate modeMarek Olšák
Nearly 100% performance increase in glxgears.
2010-01-24r300g: fix zero-area scissorMarek Olšák
2010-01-24r300g: avoid the use of gotoDave Airlie
I was being lazy on Sunday morning, Droste on irc called me on it ;-)
2010-01-24r300g: fix flushing harder.Dave Airlie
I swear ipers runs here after this commit. After we flush we need to redo the space check
2010-01-23r300g: fix up buffer emission ordering.Dave Airlie
This fixes the code space checking VBOs, then resetting the space list and space checking other buffers. it fixes demos/ipers Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-01-19r300g: Move GB_AA_CONFIG to its eventual new home.Corbin Simpson
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.