summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r700_render.c
AgeCommit message (Collapse)Author
2010-03-02r600: fix blender picking.Dave Airlie
This fixes the sw fallback for GL_SELECT picking modes. Fixes object picking blender + depthpick test http://bugs.freedesktop.org/show_bug.cgi?id=26419 Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-24r600: proper fix for 15601835361e2fdd34b38b265cfc3007749ee24dAlex Deucher
PRE_EMIT_STATE_BUFSZ accounts for the start 3d, idle, cd/db flush not for state. The relocs for CB_COLOR0_FRAG & CB_COLOR0_TILE are part of the render target state.
2010-02-19Remove _mesa_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-04r600: reduce number of cache flushesAlex Deucher
We don't need to flush so often. Next step would be to move the flushing to the drm and only flush after each command buffer rather than each draw.
2010-01-30r600: Remove unnecessary headers.Vinson Lee
2010-01-18r600: Update default state size to account for the new relocationJerome Glisse
the new relocation for CB_COLOR0_FRAG & CB_COLOR0_TILE add 4 dwords to the default command stream. Increase the prediction default size to take this into account
2009-11-24radeon/r200/r300/r600: make bo mapping be explicitDave Airlie
This moves the bo mapping outside the DMA layer and makes it explicit, this should in theory make it simpler to split the clean up the dma/cmdbuf linkage that I created before that is broken. Tested on: r600, rv380 (tcl/no-tcl), rv200 (tcl/no-tcl) Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-11-09r600: rework DB render setupAlex Deucher
- consolidate DB render setup - only enable perfect ZPASS counts and cull disable when OQ is active - enable early Z
2009-11-04r600: rework draw functionsAlex Deucher
Seems INDX_OFFSET doesn't work properly on some cards, so change back to immediate mode indices. Seems to only affect DRI1. Needs more investigation. Rework and clean up the draw functions. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-11-04r600: fix count prediction for IB caseAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-30r600: fix a warning, update commentsAlex Deucher
2009-10-30r600: use AUTO_INDEX for draw - saves cmd buffer spaceAndre Maasikas
also seems we can use INDX_OFFSET if start != 0
2009-10-23r600: remove duplicate stride settingAndre Maasikas
Stride is set already in r700SetVertexFormat and there it works correctly for 0 also
2009-10-23r600: remove remains of old tnl pipelineAlex Deucher
2009-10-23r600: fix render size predictionAlex Deucher
2009-10-23r600: remove old tnl pipelineAlex Deucher
2009-10-06r600: r700PredictRenderSize can flush, so move index buffer setup after itAndre Maasikas
2009-10-02r600: remove support for host-based ibsAlex Deucher
no longer used now that the hw supports this natively. Also, clean up some formatting.
2009-09-27r600 : Enable draw_prim.Richard Li
2009-09-24r600 : disable draw_prim for now.Richard Li
2009-09-23r600: fix up ordering of functions in draw prims pathAlex Deucher
Shaders and IB need to be updated and allocated before calling validatebuffers.
2009-09-23r600: fix r700PredictRenderSize for draw prims pathAlex Deucher
2009-09-23r600 : add hw index buffer draw support.Richard Li
2009-09-23r600: fix copy/paste typoAlex Deucher
2009-09-22r600 : add draw_prim support.Richard Li
2009-09-11r600: enable caching of vertex programsAndre Maasikas
2009-09-04r600: fix Elts handlingAlex Deucher
Patch from taiu on IRC. fixes bug 23585
2009-08-31r600: Add more trace debug output to rendering pipeline.Pauli Nieminen
2009-08-31r600: Convert to shared debug code and add a few new debug messages.Pauli Nieminen
There is only a few functions that have debugging enabled now.
2009-08-26r600: make reloc_chunk size dynamicAlex Deucher
2009-08-25Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-25radeon/r200/r300/r600: Warn if we emit more than prediction was.Pauli Nieminen
Prediction code making too small prediction may cause space check aserttion failure later in rendering. So warning about any failure to predict correctly should be fixed.
2009-08-24r600: fix state emit sizesAlex Deucher
2009-08-24r600: Fix indetion and add useful debug output.Pauli Nieminen
2009-08-24Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesa into ↵Pauli Nieminen
r600_state_predict
2009-08-23r600: fix logic copy paste errorAlex Deucher
Spotted by airlied.
2009-08-24r600: Improve emit prediction.Pauli Nieminen
2009-08-24r600: Predict emit size for next rendering.Pauli Nieminen
2009-08-22r600: move full state to radeon state atomsAlex Deucher
2009-08-20r600: convert to using common radeon state atomsAlex Deucher
switches more state handling to common code. We need should be more fine grained with the state atoms eventually.
2009-08-20r600: improve state emissionAlex Deucher
Slowing migrating to atom based system like the other radeon drivers.
2009-08-20r600: split state emit into block specific functionsAlex Deucher
We probably want to go finer grained eventually, but this is a good start.
2009-08-20r600: try and get everything in the draw in one IBAlex Deucher
fixes corruption issues with apps like teapot and geartrain.
2009-08-20r600: rework emit codeAlex Deucher
make sure we allocate enough space for relocs
2009-08-17r600: fix counting error after the last commitAlex Deucher
2009-08-17r600: make sure the number of indices is validAlex Deucher
make sure the number of indices is valid for the requested prim type. glxgears sends invalid quad strips with only 2 indices for example.
2009-08-12r600: state cleanupsAlex Deucher
2009-08-02r600: handle state emit betterAlex Deucher
- move shader-related state with the rest of the shader setup/emit - start to track dirty state better
2009-08-02r600: fix regression in texenvAlex Deucher
Emit shader consts with the shader program itself
2009-07-31r600: make sure bos are valid before usign thatAlex Deucher