r600g: avoid trying to flush the flushing texture.

Since these textures still have the depth bit set.

Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Dave Airlie
2011-02-04 09:36:02 +10:00
parent 8c643446f9
commit 812c314e51
+6
View File
@@ -134,6 +134,9 @@ void r600_flush_depth_textures(struct r600_pipe_context *rctx)
if (!tex->depth)
continue;
if (tex->is_flushing_texture)
continue;
r600_blit_uncompress_depth(&rctx->context, tex);
}
@@ -145,6 +148,9 @@ void r600_flush_depth_textures(struct r600_pipe_context *rctx)
if (!tex->depth)
continue;
if (tex->is_flushing_texture)
continue;
r600_blit_uncompress_depth(&rctx->context, tex);
}
}