Mesa (master): i965/cnl: Define genX(x) and GENX(x) for gen10
Anuj Phogat
aphogat at kemper.freedesktop.org
Fri Jun 9 23:09:39 UTC 2017
Module: Mesa
Branch: master
Commit: a48cb9cf7f59cc8ed51819f2e02f88dda3845272
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a48cb9cf7f59cc8ed51819f2e02f88dda3845272
Author: Anuj Phogat <anuj.phogat at gmail.com>
Date: Mon Apr 17 13:48:55 2017 -0700
i965/cnl: Define genX(x) and GENX(x) for gen10
Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
---
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 b4941b971a..a85c08250c 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
More information about the mesa-commit
mailing list