X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2FSConscript;h=0a0c0737422da3aeda537a48e4383911cc02d5b8;hb=a083560b09cfc3799c1c34112c0b28e29a104f5f;hp=412da0e62bdf5a07a63c9aa1d8b5ed4e9af19c73;hpb=1a882fd2ee84ae28a06cf07902dc4645d8ad4a6d;p=mesa.git diff --git a/src/compiler/SConscript b/src/compiler/SConscript index 412da0e62bd..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( @@ -20,3 +24,7 @@ compiler = env.ConvenienceLibrary( source = sources ) Export('compiler') + +SConscript('SConscript.glsl') +SConscript('SConscript.nir') +SConscript('SConscript.spirv')