diff options
author | Marek Olšák <[email protected]> | 2012-02-24 17:13:19 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-27 02:03:23 +0100 |
commit | d334d591a71c41d6a1eb4f2ea6cdabedc425e42f (patch) | |
tree | 9de13bbf5b91f4783835cbe4e81710f42d408a7c /src/gallium/drivers/r600/r600_blit.c | |
parent | 04e324008759282728a95a1394bac2c4c2a1a3f9 (diff) |
r600g: rename r600_resource_texture::depth to bool is_depth
It's used as a boolean.
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 2ec39e8c89a..7913a1add9e 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -172,7 +172,7 @@ void r600_flush_depth_textures(struct r600_context *rctx) if (!view) continue; tex = (struct r600_resource_texture *)view->base.texture; - if (!tex->depth) + if (!tex->is_depth) continue; if (tex->is_flushing_texture) @@ -186,7 +186,7 @@ void r600_flush_depth_textures(struct r600_context *rctx) struct r600_resource_texture *tex; tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture; - if (!tex->depth) + if (!tex->is_depth) continue; if (tex->is_flushing_texture) @@ -341,7 +341,7 @@ static void r600_resource_copy_region(struct pipe_context *ctx, return; } - if (rsrc->depth && !rsrc->is_flushing_texture) + if (rsrc->is_depth && !rsrc->is_flushing_texture) r600_texture_depth_flush(ctx, src, FALSE); restore_orig[0] = restore_orig[1] = FALSE; |