X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FSConscript;h=0a0c0737422da3aeda537a48e4383911cc02d5b8;hb=9232887c6991151df267d835668c64ba25754240;hp=10c79c4434893186973e50d44314c63bbed73bb7;hpb=5567ae0547d5f31e51e5f32e78065894e594fd1a;p=mesa.git diff --git a/src/compiler/SConscript b/src/compiler/SConscript index 10c79c44348..0a0c0737422 100644 --- a/src/compiler/SConscript +++ b/src/compiler/SConscript @@ -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( @@ -23,3 +27,4 @@ Export('compiler') SConscript('SConscript.glsl') SConscript('SConscript.nir') +SConscript('SConscript.spirv')