anv: Use 16 bits for the isl_format in anv_format
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 May 2016 04:41:55 +0000 (21:41 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 19:17:22 +0000 (12:17 -0700)
This way the entire anv_format structure fits in 32 bits

src/intel/vulkan/anv_private.h

index 926a71fd9b1b77c65de77683dde537bf7f50dc05..fccdbf7c191719aafed0d6cf9df1064f6dfd05ec 100644 (file)
@@ -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;
 };