summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state_derived.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-07 01:59:31 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-07 02:00:21 +0200
commitab0a3f30b8070a0204c023f8ea5375f1d3f710fd (patch)
tree961d382dee6ac71b81654eb75f659001ca276b0a /src/gallium/drivers/r300/r300_state_derived.c
parenta838cee6bc3a2e144c00f0a5f0a7791cd97037ab (diff)
downloadexternal_mesa3d-ab0a3f30b8070a0204c023f8ea5375f1d3f710fd.zip
external_mesa3d-ab0a3f30b8070a0204c023f8ea5375f1d3f710fd.tar.gz
external_mesa3d-ab0a3f30b8070a0204c023f8ea5375f1d3f710fd.tar.bz2
r300g: fix cbzb clears when hyperz is off
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index f3dad4c..a85b46f 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -694,6 +694,5 @@ void r300_update_derived_state(struct r300_context* r300)
}
}
- if (r300->rws->get_value(r300->rws, R300_CAN_HYPERZ))
- r300_update_hyperz_state(r300);
+ r300_update_hyperz_state(r300);
}