From: Jason Ekstrand Date: Mon, 16 May 2016 04:41:55 +0000 (-0700) Subject: anv: Use 16 bits for the isl_format in anv_format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=34198d798c003d45fd52ce88e56dbfac450afd91;p=mesa.git anv: Use 16 bits for the isl_format in anv_format This way the entire anv_format structure fits in 32 bits --- 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; };