Mesa (main): intel/isl: decrease isl_format_layouts size by 36k
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jun 8 02:23:54 UTC 2021
Module: Mesa
Branch: main
Commit: 6989afea58573e9311817f4c0ab829979c60d0a8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6989afea58573e9311817f4c0ab829979c60d0a8
Author: Dave Airlie <airlied at redhat.com>
Date: Tue Jun 8 10:00:20 2021 +1000
intel/isl: decrease isl_format_layouts size by 36k
This drops
-0000000000011e90 R isl_format_layouts
+0000000000008f48 R isl_format_layouts
I think that's about 36k.
Thanks to Jason for suggesting PACKED
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11232>
---
src/intel/isl/isl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index cb9610da2e8..d5ce1a4124f 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -414,7 +414,7 @@ enum isl_format {
/**
* Numerical base type for channels of isl_format.
*/
-enum isl_base_type {
+enum PACKED isl_base_type {
ISL_VOID,
ISL_RAW,
ISL_UNORM,
More information about the mesa-commit
mailing list