anv: fix up dynamic clip emission
[mesa.git] / src / intel / genxml / gen_macros.h
index 1d591fa806641488a04ec46e5418db6666b10450..9d0172d041c58c06962e4138559a8baf7047f122 100644 (file)
@@ -21,7 +21,8 @@
  * IN THE SOFTWARE.
  */
 
-#pragma once
+#ifndef GEN_MACROS_H
+#define GEN_MACROS_H
 
 /* Macros for handling per-gen compilation.
  *
 #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
+#elif (GEN_VERSIONx10 == 110)
+#  define GENX(X) GEN11_##X
+#  define genX(x) gen11_##x
+#elif (GEN_VERSIONx10 == 120)
+#  define GENX(X) GEN12_##X
+#  define genX(x) gen12_##x
 #else
 #  error "Need to add prefixing macros for this gen"
 #endif
+
+#endif /* GEN_MACROS_H */