summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.c
AgeCommit message (Collapse)Author
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
2009-12-10r300: Fix after sampler view changes.michal
2009-12-09r300g: always disable unused colorbuffersMarek Olšák
2009-12-09r300g: make pow(0,0) return 1 instead of NaN in the R500 fragment shaderMarek Olšák
Unfortunately we can't fix this easily in the R300 fragment shader, and it's probably not worth the effort.
2009-12-09r300g: clean up r300_emit_aosMarek Olšák
2009-12-06r300g: remove redundant code and clean upMarek Olšák
2009-12-05r300g: Need to emit a hardware scissor rectangle even if scissor is disabled.Michel Dänzer
Just make it cover the whole framebuffer in that case. Otherwise the kernel CS checker may complain, e.g. running progs/demos/gearbox. That runs fast now here, but doesn't look right yet.
2009-12-04radeong: flush CS if a buffer being mapped is referenced by itMarek Olšák
Also, overlapping occlusion queries seems to work now.
2009-12-04r300g, radeong: fix the CS overflowMarek Olšák
2009-12-03Move pf_get_bits/size() to u_format auxiliary module.Michal Krol
2009-12-02gallium: adapt drivers to interface cleanupsRoland Scheidegger
2009-11-27r300g,llvmpipe: fix some more merge problemsRoland Scheidegger
2009-11-23r300g: use util_bitcount()Brian Paul
2009-11-20r300g: add texture lod clampingMarek Olšák
These now work: piglit/lodclamp piglit/levelclamp
2009-11-20r300g: emit R300_TEX_ENABLE to indicate there are no textures boundMarek Olšák
Previously, this reg wasn't emitted at all if texture_count == 0.
2009-11-20r300g: Texrect factor cleanup.Corbin Simpson
(0, 0, 0, 1) is a much saner default value, and texrect factors only need to be (1/s, 1/t, 0, 1).
2009-11-20r300g: fix rectangle textures on r3xxMarek Olšák
Adapted from Maciej Cencora's patch.
2009-11-20r300g: Clean up bitcounting function.Corbin Simpson
I didn't see this in u_math; surely somebody else has this wheel reinvented elsewhere.
2009-11-20r300g: Use MAX3 and MIN3.Corbin Simpson
2009-11-20r300g: set better values in the R300_VAP_CNTL registerMarek Olšák
2009-11-08r300g: Unify context names for counts.Corbin Simpson
From the SW TCL fixups.