summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-02-24 17:13:19 +0100
committerMarek Olšák <[email protected]>2012-02-27 02:03:23 +0100
commitd334d591a71c41d6a1eb4f2ea6cdabedc425e42f (patch)
tree9de13bbf5b91f4783835cbe4e81710f42d408a7c /src/gallium/drivers/r600/r600_resource.h
parent04e324008759282728a95a1394bac2c4c2a1a3f9 (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_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index 8b90b12e957..a53ecb8d37d 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -55,7 +55,7 @@ struct r600_resource_texture {
unsigned pitch_override;
unsigned size;
unsigned tile_type;
- unsigned depth;
+ bool is_depth;
unsigned dirty_db;
struct r600_resource_texture *stencil; /* Stencil is in a separate buffer on Evergreen. */
struct r600_resource_texture *flushed_depth_texture;