diff options
author | Marek Olšák <[email protected]> | 2010-08-15 02:18:15 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-08-15 08:07:11 +0200 |
commit | 59c2230879cb5149ce99ac8565ce6af9c5b02e04 (patch) | |
tree | 4bae6710615502f2b809b68587f0338bfd2c132c /src/gallium/drivers/r300/r300_blit.c | |
parent | 516152112ea2a8524865d230f657977583246092 (diff) |
r300g: rename dirty_zmask -> zmask_in_use
Diffstat (limited to 'src/gallium/drivers/r300/r300_blit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_blit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_blit.c b/src/gallium/drivers/r300/r300_blit.c index 00756c771c9..29393109fac 100644 --- a/src/gallium/drivers/r300/r300_blit.c +++ b/src/gallium/drivers/r300/r300_blit.c @@ -251,10 +251,10 @@ static void r300_clear(struct pipe_context* pipe, /* Enable fastfill. * - * If we cleared the zmask, it's dirty now. The Hyper-Z state update - * looks for a dirty zmask and enables fastfill accordingly. */ + * If we cleared the zmask, it's in use now. The Hyper-Z state update + * looks if zmask is in use and enables fastfill accordingly. */ if (fb->zsbuf && - r300_texture(fb->zsbuf->texture)->dirty_zmask[fb->zsbuf->level]) { + r300_texture(fb->zsbuf->texture)->zmask_in_use[fb->zsbuf->level]) { r300->hyperz_state.dirty = TRUE; } @@ -307,7 +307,7 @@ void r300_flush_depth_stencil(struct pipe_context *pipe, if (!tex->zmask_mem[subdst.level]) return; - if (!tex->dirty_zmask[subdst.level]) + if (!tex->zmask_in_use[subdst.level]) return; dstsurf = pipe->screen->get_tex_surface(pipe->screen, dst, @@ -319,7 +319,7 @@ void r300_flush_depth_stencil(struct pipe_context *pipe, r300_blitter_end(r300); r300->z_decomp_rd = FALSE; - tex->dirty_zmask[subdst.level] = FALSE; + tex->zmask_in_use[subdst.level] = FALSE; } /* Copy a block of pixels from one surface to another using HW. */ |