summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_resource.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-02 20:19:38 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:31 -0700
commitff4748491b27a0b52564e48788b70cd617ed0ff2 (patch)
tree00e03ab808151a143de38ca600f6b5e33c4ffd7c /src/gallium/drivers/vc4/vc4_resource.h
parent0bc2aed90fdfcedad501f769cbd2ae61b5a0ecb8 (diff)
vc4: Store the (currently always linear) tiling format in the resource.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_resource.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.h b/src/gallium/drivers/vc4/vc4_resource.h
index 664e8bf5148..34ca7ec8abb 100644
--- a/src/gallium/drivers/vc4/vc4_resource.h
+++ b/src/gallium/drivers/vc4/vc4_resource.h
@@ -48,6 +48,8 @@ struct vc4_resource {
struct vc4_bo *bo;
struct vc4_resource_slice slices[VC4_MAX_MIP_LEVELS];
int cpp;
+ /** One of VC4_TILING_FORMAT_* */
+ uint8_t tiling;
};
static INLINE struct vc4_resource *