Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / compiler / SConscript.nir
index 3c685a2dc5f35048094169d4b184d52f3b5f06ce..41c67941f51b4b60512c27d1763536ada10f8750 100644 (file)
@@ -59,6 +59,22 @@ env.CodeGenerate(
     command = python_cmd + ' $SCRIPT > $TARGET'
 )
 
+bldroot = Dir('.').abspath
+
+env.CodeGenerate(
+    target = 'nir/nir_intrinsics.h',
+    script = 'nir/nir_intrinsics_h.py',
+    source = [],
+    command = python_cmd + ' $SCRIPT --outdir ' + bldroot + '/nir'
+)
+
+env.CodeGenerate(
+    target = 'nir/nir_intrinsics.c',
+    script = 'nir/nir_intrinsics_c.py',
+    source = [],
+    command = python_cmd + ' $SCRIPT --outdir ' + bldroot + '/nir'
+)
+
 # parse Makefile.sources
 source_lists = env.ParseSourceList('Makefile.sources')