[Mesa-dev] [PATCH 04/24] i965/cnl: Define genX(x) and GENX(x) for gen10

Anuj Phogat anuj.phogat at gmail.com
Fri May 12 23:38:08 UTC 2017


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/intel/genxml/gen_macros.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/intel/genxml/gen_macros.h b/src/intel/genxml/gen_macros.h
index b4941b9..a85c082 100644
--- a/src/intel/genxml/gen_macros.h
+++ b/src/intel/genxml/gen_macros.h
@@ -85,6 +85,9 @@
 #elif (GEN_VERSIONx10 == 90)
 #  define GENX(X) GEN9_##X
 #  define genX(x) gen9_##x
+#elif (GEN_VERSIONx10 == 100)
+#  define GENX(X) GEN10_##X
+#  define genX(x) gen10_##x
 #else
 #  error "Need to add prefixing macros for this gen"
 #endif
-- 
2.9.3



More information about the mesa-dev mailing list