diff options
author | Marek Olšák <[email protected]> | 2011-05-07 23:29:23 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-05-09 20:01:58 +0200 |
commit | 56b39fcd8b6810a35db36c4d93129890b3e93052 (patch) | |
tree | 1647731ab27c18cacca19218a12ec564884d8881 /src/gallium/drivers/r300/r300_hyperz.c | |
parent | 801fbdf286bed58435ca3a9008104b098717ed9b (diff) |
r300g: remove redundant state variable hyperz_locked
Diffstat (limited to 'src/gallium/drivers/r300/r300_hyperz.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_hyperz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_hyperz.c b/src/gallium/drivers/r300/r300_hyperz.c index ef330f34c9e..b68a346b37d 100644 --- a/src/gallium/drivers/r300/r300_hyperz.c +++ b/src/gallium/drivers/r300/r300_hyperz.c @@ -156,7 +156,7 @@ static void r300_update_hyperz(struct r300_context* r300) return; /* Zbuffer compression. */ - if (r300->zmask_in_use && !r300->hyperz_locked) { + if (r300->zmask_in_use && !r300->locked_zbuffer) { z->zb_bw_cntl |= R300_FAST_FILL_ENABLE | /*R300_FORCE_COMPRESSED_STENCIL_VALUE_ENABLE |*/ R300_RD_COMP_ENABLE; @@ -171,7 +171,7 @@ static void r300_update_hyperz(struct r300_context* r300) } /* HiZ. */ - if (r300->hiz_in_use && !r300->hyperz_locked) { + if (r300->hiz_in_use && !r300->locked_zbuffer) { /* Set the HiZ function if needed. */ if (r300->hiz_func == HIZ_FUNC_NONE) { r300->hiz_func = r300_get_hiz_func(r300); |