summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
AgeCommit message (Collapse)Author
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.
2010-01-17r300g: disable the MIP filter for NPOT texturesMarek Olšák
Safety first.
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-13r300g: Two dirty state optimizations.Corbin Simpson
2010-01-13r300g: DCE in emit.Corbin Simpson
2010-01-12r300g: add emission of texture tiling bitsMarek Olšák
2010-01-12Revert "r300g: Placate kernel checker by explicitly disabling depth test."Marek Olšák
This reverts commit e920ee23b32f6031a7b8527b540566e7ada6af8a. Assuming the FB state is not dirty and the DSA state is, then the depth test will be re-enabled, making the kernel checker angry. Reverting the commit fixes piglit/glsl-bug-22603.
2010-01-12r300g: Always emit scissors.Corbin Simpson
Save some code, improve FPS, and fix piglit tests. Everybody wins.
2010-01-11r300g: Add back dirty state check.Corbin Simpson
From 07ea7e6c80. This is the only questionable part of that commit, AFAICT...
2010-01-11r300g: Placate kernel checker by explicitly disabling depth test.Corbin Simpson
This probably should disable stencil, too, if the kernel cares enough. Note: When atomized, framebuffer setup should go towards the end anyway, but it *must* follow these test setups anyway.
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: Move ROPCNTL to the top of the emit order.Corbin Simpson
According to the docs, this decreases stalls, and indeed we get a tiny bit more glxgears from it.
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-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: add WPOSMarek Olšák
2010-01-06r300g: fix outputting depth in the FSMarek Olšák
2010-01-04Merge branch 'mesa_7_7_branch'Brian Paul
Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
2010-01-02r300g: Use C-style comments.Vinson Lee
2009-12-19r300g: add texture compare modesMarek Olšák
2009-12-17Move the remaining format pf_get_* functions to u_format.h.Michal Krol
Previously they depended on format blocks, but after removing those they started depending on format encoding.
2009-12-17Merge branch 'master' into pipe-format-simplifyMichal Krol
Conflicts: src/gallium/auxiliary/draw/draw_pipe_aaline.c src/gallium/auxiliary/draw/draw_pipe_pstipple.c src/gallium/auxiliary/util/u_blit.c src/gallium/auxiliary/util/u_gen_mipmap.c src/gallium/auxiliary/util/u_surface.c src/gallium/auxiliary/vl/vl_mpeg12_mc_renderer.c src/gallium/drivers/cell/ppu/cell_texture.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_texture.c src/gallium/drivers/softpipe/sp_texture.c src/gallium/drivers/softpipe/sp_tile_cache.c src/gallium/drivers/svga/svga_state_vs.c src/gallium/include/pipe/p_format.h src/gallium/state_trackers/dri/dri_drawable.c src/gallium/state_trackers/egl/egl_surface.c src/gallium/state_trackers/python/p_device.i src/gallium/state_trackers/python/st_softpipe_winsys.c src/gallium/state_trackers/vega/api_filters.c src/gallium/state_trackers/vega/image.c src/gallium/state_trackers/vega/mask.c src/gallium/state_trackers/vega/paint.c src/gallium/state_trackers/vega/renderer.c src/gallium/state_trackers/vega/vg_tracker.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_dri2.c src/gallium/state_trackers/xorg/xorg_exa.c src/gallium/state_trackers/xorg/xorg_renderer.c src/gallium/state_trackers/xorg/xorg_xv.c src/gallium/state_trackers/xorg/xvmc/surface.c src/gallium/winsys/drm/nouveau/drm/nouveau_drm_api.c src/gallium/winsys/drm/radeon/core/radeon_buffer.c src/gallium/winsys/egl_xlib/sw_winsys.c src/gallium/winsys/g3dvl/xlib/xsp_winsys.c src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c src/gallium/winsys/gdi/gdi_softpipe_winsys.c src/gallium/winsys/xlib/xlib_cell.c src/gallium/winsys/xlib/xlib_llvmpipe.c src/gallium/winsys/xlib/xlib_softpipe.c src/mesa/state_tracker/st_cb_fbo.c src/mesa/state_tracker/st_cb_texture.c src/mesa/state_tracker/st_texture.c
2009-12-15r300g: fix emission of which textures are enabledMarek Olšák
It fixes most of the "Bad CS" issues in piglit/texCombine and piglit/fbo. Some other issues of this kind will get fixed in the kernel soon (depth-only rendering, S3TC, and RGTC).
2009-12-15r300g: if no colorbuffers are set, disable blending and set the color mask to 0Marek Olšák
This seems to be the only way to disable the first colorbuffer.
2009-12-15r300g: set the number of colorbuffers in RB3D_CCTLMarek Olšák