summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/eg_hw_states.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-09-13 18:50:12 +1000
committerDave Airlie <airlied@redhat.com>2010-09-13 19:57:29 +1000
commit61c2861b4effed6b5e50e4d4089ede9768842b2b (patch)
tree81b30676f43e99c53357bdd62520e5ae4a25b8e4 /src/gallium/drivers/r600/eg_hw_states.c
parent2471d0d6c545c965ccf5faf14b3a1d53bb6201ce (diff)
r600g: evergreen fixup dsa state for running query.
evergreen is always the same as r700 here.
Diffstat (limited to 'src/gallium/drivers/r600/eg_hw_states.c')
-rw-r--r--src/gallium/drivers/r600/eg_hw_states.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/eg_hw_states.c b/src/gallium/drivers/r600/eg_hw_states.c
index c9cf328baa..f3f1dc7b0a 100644
--- a/src/gallium/drivers/r600/eg_hw_states.c
+++ b/src/gallium/drivers/r600/eg_hw_states.c
@@ -429,8 +429,7 @@ static void eg_dsa(struct r600_context *rctx, struct radeon_state *rstate)
if (query_running) {
db_render_override |= S_028D10_NOOP_CULL_DISABLE(1);
- if (rscreen->chip_class == R700)
- db_render_control |= S_028D0C_R700_PERFECT_ZPASS_COUNTS(1);
+ db_render_control |= S_028D0C_PERFECT_ZPASS_COUNTS(1);
}
rstate->states[EG_DSA__DB_STENCIL_CLEAR] = 0x00000000;