diff options
author | Marek Olšák <[email protected]> | 2010-08-07 01:59:31 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-08-07 02:00:21 +0200 |
commit | ab0a3f30b8070a0204c023f8ea5375f1d3f710fd (patch) | |
tree | 961d382dee6ac71b81654eb75f659001ca276b0a /src/gallium/drivers/r300/r300_flush.c | |
parent | a838cee6bc3a2e144c00f0a5f0a7791cd97037ab (diff) |
r300g: fix cbzb clears when hyperz is off
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_flush.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index 7fed9b5d074..fe182b6615b 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -44,8 +44,7 @@ static void r300_flush(struct pipe_context* pipe, u_upload_flush(r300->upload_ib); if (r300->dirty_hw) { - if (r300->rws->get_value(r300->rws, R300_CAN_HYPERZ)) - r300_emit_hyperz_end(r300); + r300_emit_hyperz_end(r300); r300_emit_query_end(r300); r300->flush_counter++; |