aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/SConscript
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-04-15 16:59:43 -0700
committerIan Romanick <[email protected]>2016-08-30 16:28:00 -0700
commit7d6af9e59935959689ac9611f17abc06c6837f16 (patch)
treeb918953b0f8e936ae0bb9bc42111179fa110df92 /src/compiler/SConscript
parent10f9901bcef7724cb72fb2fe7e3dd8d6660d2f34 (diff)
glsl: Generate ir_expression_operation.h from Python
There are differences in where end-of-line comments are placed, but 'diff -wud' is clean. v2: Massive rebase. v3: With much help from José Fonseca, fix SCons build. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]> Acked-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/compiler/SConscript')
-rw-r--r--src/compiler/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/SConscript b/src/compiler/SConscript
index 10c79c44348..44509a9a95b 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(