[Mesa-dev] [PATCH 19/23] anv: Use 16 bits for the isl_format in anv_format
Jason Ekstrand
jason at jlekstrand.net
Mon May 16 19:08:24 UTC 2016
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 926a71f..fccdbf7 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.5.0.400.gff86faf
More information about the mesa-dev
mailing list