From 34198d798c003d45fd52ce88e56dbfac450afd91 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sun, 15 May 2016 21:41:55 -0700 Subject: [PATCH] anv: Use 16 bits for the isl_format in anv_format This way the entire anv_format structure fits in 32 bits --- src/intel/vulkan/anv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.30.2