summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-15 21:41:55 -0700
committerJason Ekstrand <[email protected]>2016-05-17 12:17:22 -0700
commit34198d798c003d45fd52ce88e56dbfac450afd91 (patch)
tree7791a6181ee99d528755e9583e420f34f5d27bc4 /src/intel/vulkan/anv_private.h
parent7cae59012d98959a997ef96c217adba0dc8b3ed7 (diff)
anv: Use 16 bits for the isl_format in anv_format
This way the entire anv_format structure fits in 32 bits
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 926a71fd9b1..fccdbf7c191 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1514,7 +1514,7 @@ struct anv_format_swizzle {
};
struct anv_format {
- enum isl_format isl_format;
+ enum isl_format isl_format:16;
struct anv_format_swizzle swizzle;
};