Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / compiler / SConscript
index 8969d8219846c7df720e19777eae08506c37c1d0..0a0c0737422da3aeda537a48e4383911cc02d5b8 100644 (file)
@@ -13,6 +13,10 @@ env.Prepend(CPPPATH = [
     '#src/gallium/auxiliary',
 ])
 
+# Make generated headers reachable from the include path.
+env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath])
+env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
+
 sources = env.ParseSourceList('Makefile.sources', 'LIBCOMPILER_FILES')
 
 compiler = env.ConvenienceLibrary(
@@ -22,3 +26,5 @@ compiler = env.ConvenienceLibrary(
 Export('compiler')
 
 SConscript('SConscript.glsl')
+SConscript('SConscript.nir')
+SConscript('SConscript.spirv')