summaryrefslogtreecommitdiffstats
path: root/src/intel/genxml/genX_pack.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-06-02 18:31:47 -0700
committerJason Ekstrand <[email protected]>2016-07-15 15:53:48 -0700
commit27883f8cbc13140bf965eb7dd3ab759fb1b532ad (patch)
tree19e1ec078ab1963143ed5b629408b2b22c1e5779 /src/intel/genxml/genX_pack.h
parentba798ac6b1f996f16d8f2bc65614d18d76a0b1f6 (diff)
genxml: Add macros and #includes for gens 4-6
Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/genxml/genX_pack.h')
-rw-r--r--src/intel/genxml/genX_pack.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/intel/genxml/genX_pack.h b/src/intel/genxml/genX_pack.h
index 7967c292645..0c25c4e94f4 100644
--- a/src/intel/genxml/genX_pack.h
+++ b/src/intel/genxml/genX_pack.h
@@ -27,7 +27,15 @@
# error "The GEN_VERSIONx10 macro must be defined"
#endif
-#if (GEN_VERSIONx10 == 70)
+#if (GEN_VERSIONx10 == 40)
+# include "genxml/gen4_pack.h"
+#elif (GEN_VERSIONx10 == 45)
+# include "genxml/gen45_pack.h"
+#elif (GEN_VERSIONx10 == 50)
+# include "genxml/gen5_pack.h"
+#elif (GEN_VERSIONx10 == 60)
+# include "genxml/gen6_pack.h"
+#elif (GEN_VERSIONx10 == 70)
# include "genxml/gen7_pack.h"
#elif (GEN_VERSIONx10 == 75)
# include "genxml/gen75_pack.h"