From 7d6af9e59935959689ac9611f17abc06c6837f16 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Wed, 15 Apr 2015 16:59:43 -0700 Subject: glsl: Generate ir_expression_operation.h from Python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Matt Turner Acked-by: Dylan Baker --- src/compiler/SConscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/SConscript') 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( -- cgit v1.2.3