summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_state_derived.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-08-15 02:18:15 +0200
committerMarek Olšák <maraeo@gmail.com>2010-08-15 08:07:11 +0200
commit59c2230879cb5149ce99ac8565ce6af9c5b02e04 (patch)
tree4bae6710615502f2b809b68587f0338bfd2c132c /src/gallium/drivers/r300/r300_state_derived.c
parent516152112ea2a8524865d230f657977583246092 (diff)
downloadexternal_mesa3d-59c2230879cb5149ce99ac8565ce6af9c5b02e04.zip
external_mesa3d-59c2230879cb5149ce99ac8565ce6af9c5b02e04.tar.gz
external_mesa3d-59c2230879cb5149ce99ac8565ce6af9c5b02e04.tar.bz2
r300g: rename dirty_zmask -> zmask_in_use
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index c047a12..4a63ed7 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -738,7 +738,7 @@ static void r300_flush_depth_textures(struct r300_context *r300)
continue;
for (level = 0; level <= tex->last_level; level++)
- if (r300_texture(tex)->dirty_zmask[level]) {
+ if (r300_texture(tex)->zmask_in_use[level]) {
/* We don't handle 3D textures and cubemaps yet. */
r300_flush_depth_stencil(&r300->context, tex,
u_subresource(0, level), 0);