diff options
author | Eric Anholt <[email protected]> | 2014-08-02 20:19:38 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:45:31 -0700 |
commit | ff4748491b27a0b52564e48788b70cd617ed0ff2 (patch) | |
tree | 00e03ab808151a143de38ca600f6b5e33c4ffd7c /src/gallium/drivers/vc4/vc4_resource.h | |
parent | 0bc2aed90fdfcedad501f769cbd2ae61b5a0ecb8 (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.h | 2 |
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 * |