freedreno/rnn: describe copyright element in schema
[mesa.git] / src / freedreno / registers / meson.build
index 4d36150477727c56171dbe211fe062d7e7834768..d38e16612626eb247ae6753d433cff5ba591d2be 100644 (file)
@@ -33,9 +33,24 @@ foreach f : xml_files
   _name = f + '.h'
   freedreno_xml_header_files += custom_target(
     _name,
-    input : ['gen_header.py', f],
+    input : ['gen_header.py', 'adreno/' + f],
     output : _name,
     command : [prog_python, '@INPUT@'],
     capture : true,
   )
 endforeach
+
+freedreno_xml_header_files += custom_target(
+    'a6xx-pack.xml.h',
+    input : ['gen_header.py', 'adreno/a6xx.xml'],
+    output : 'a6xx-pack.xml.h',
+    command : [prog_python, '@INPUT@', '--pack-structs'],
+    capture : true,
+  )
+freedreno_xml_header_files += custom_target(
+    'adreno-pm4-pack.xml.h',
+     input : ['gen_header.py', 'adreno/adreno_pm4.xml'],
+     output : 'adreno-pm4-pack.xml.h',
+     command : [prog_python, '@INPUT@', '--pack-structs'],
+     capture : true,
+  )