aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/SConscript.glsl')
-rw-r--r--src/compiler/SConscript.glsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/SConscript.glsl b/src/compiler/SConscript.glsl
index 474df11d566..4252ce15771 100644
--- a/src/compiler/SConscript.glsl
+++ b/src/compiler/SConscript.glsl
@@ -17,12 +17,15 @@ env.Prepend(CPPPATH = [
'#src/gallium/auxiliary',
'#src/compiler/glsl',
'#src/compiler/glsl/glcpp',
+ '#src/compiler/nir',
])
env.Prepend(LIBS = [mesautil])
# Make glcpp-parse.h and glsl_parser.h reachable from the include path.
env.Prepend(CPPPATH = [Dir('.').abspath, Dir('glsl').abspath])
+# Make NIR headers reachable from the include path.
+env.Prepend(CPPPATH = [Dir('.').abspath, Dir('nir').abspath])
glcpp_env = env.Clone()
glcpp_env.Append(YACCFLAGS = [