summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r700_state.c
AgeCommit message (Collapse)Author
2009-12-21r600: fix glFrontFace(GL_CW)Dave Airlie
fd.o bug #25290 Suggested fix from Rafael Monica
2009-11-16r600: don't force Z orderAlex Deucher
Let the hw decide (early vs late Z) fixes fdo bug 25092 Signed-off-by: Alex Deucher <alexdeucher@gmail.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-09r600: add missing ZPASS setup bits for r7xx+Alex Deucher
2009-10-29r600: Add support for ARB_depth_clampAlex Deucher
2009-10-28Merge branch 'texformat-rework'Brian Paul
Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c
2009-10-28r600: add occlusion query supportAlex Deucher
Based on initial patch from Stephan Schmid <stephan_2303@gmx.de>. Basic idea is to dump the zpass count at the start and end of the query and subtract to get the total number of visible fragments. HW writes alternating qwords for up to 4 DBs. On the first pass, we start at buffer address + 0; on the second pass, we start at buffer address + 8 (bytes). The resulting buffer at the end of the query looks like: qw[0]: db0 start qw[1]: db0 end ... qw[6]: db3 start qw[7]: db3 end The MSB of each qword is the valid bit and the lower 63 bits are the zpass count for that DB. OQ on RV740 is disabled at the moment as it only seems to report results for half of its DBs. This needs further investigation. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2009-10-23r600: remove remains of old tnl pipelineAlex Deucher
2009-10-10Merge branch 'mesa_7_6_branch'Brian Paul
2009-10-09radeon: fix scissor regressionAlex Deucher
fixes fdo bug 24248
2009-10-05drivers: don't include texformat.hBrian Paul
And remove other unneeded #includes while we're at it.
2009-09-29r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color maskAndre Maasikas
makes blend functions work better Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-09-29r600: user correct alpha blend factorAndre Maasikas
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-09-24Merge branch 'mesa_7_6_branch'Pauli Nieminen
2009-09-24radeon: Fix scissors for r600 KMS.Pauli Nieminen
Radeon generic scissors code had problem that some of code was using exclusive and some inclusive bottom right corner. Only r600 driver is using exclusive coordinate so changed generic code to pass inclusive coordinate and r600 driver changes BR coordinate to be exclusive.
2009-09-24r600: fix point sizesAlex Deucher
registers takes radius
2009-09-24r600: fix polygon offsetAlex Deucher
2009-09-24r600: fix dri2 clippingAlex Deucher
2009-09-22r600 : add draw_prim support.Richard Li
2009-09-19r600: fix point sizesAlex Deucher
registers takes radius
2009-09-19r600: fix polygon offsetAlex Deucher
2009-09-08r600: fix dri2 clippingAlex Deucher
2009-09-04r600: Add support for GL_EXT_provoking_vertexAlex Deucher
2009-09-03r600: rework cb/db setupAlex Deucher
Setup the regs when we emit rather than during state setup. In certain cases a proper CB target was never emitted. This fixes bug 23658.
2009-09-03r600: visual depth has no meaning here.Dave Airlie
fbos get angry when this happens.
2009-08-28r600: fix scissor also.Dave Airlie
I forgot about r600 being here.
2009-08-26r600: fix two sided stencilAlex Deucher
2009-08-24r600: code cleanupAlex Deucher
2009-08-24r600: scissor updates for dri2Dave Airlie
Pulled from Dave's WIP patch.
2009-08-24r600: map 16 VS outputsAlex Deucher
Should cover everything exported from the VS
2009-08-22r600: make state emit more fine grainedAlex Deucher
Gives a nice speed boost in most apps since we only emit what state we need.
2009-08-22r600: move full state to radeon state atomsAlex Deucher
2009-08-22r600: add support for RS880Alex 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-12r600: state cleanupsAlex Deucher
2009-08-12radeon: Minor warnings cleanup.Eric Anholt
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: Logic Operations Fixvehemens
fixes bug 23087
2009-07-29r600: minor fixesAlex Deucher
- set MAX_LOD properly - min texel pitch is 8 texels - emit old command buffer when re-initing base state
2009-07-28r600: fix flat shadingAlex Deucher
Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier.
2009-07-28r600: move r700TranslateFragmentShader into r700UpdateShadersAlex Deucher
2009-07-28r600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735Alex Deucher
This breaks textures. We need to only set this bit for attributes that that need flat shading.
2009-07-28R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accperspCooper Yuan
2009-07-27r600: set VGT NUM_INSTANCES as part of the draw commandAlex Deucher
set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet.
2009-07-21r600: add stencil supportAlex Deucher
2009-07-21r600: use state functions to set default stateAlex Deucher
2009-07-21r600: fill in point functionsAlex Deucher
2009-07-21r600: set provoking vertex to last vertex for OGLAlex Deucher
2009-07-21r600: fill in r700UpdateViewportOffsetAlex Deucher