diff options
author | Ian Romanick <[email protected]> | 2016-07-12 16:42:36 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-08-30 16:28:03 -0700 |
commit | ee3cdac7857a5c0f30108e1b1963d042f2a5e8e6 (patch) | |
tree | a22272671d69afdae939af9aa167920947a4ff75 /src/compiler/SConscript.glsl | |
parent | f3fcfe001f8e6d3abaa62eb73ab95d0ba88b628d (diff) |
glsl: Use the generated constant expression code
Immediately previous to this patch,
diff -wud src/glsl/ir_constant_expression.cpp \
src/glsl/ir_expression_operation_constant.h
should be "minimal."
v3: With much help from José Fonseca, fix the SCons build.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/SConscript.glsl')
-rw-r--r-- | src/compiler/SConscript.glsl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/compiler/SConscript.glsl b/src/compiler/SConscript.glsl index b1b41693397..d9878a00945 100644 --- a/src/compiler/SConscript.glsl +++ b/src/compiler/SConscript.glsl @@ -124,7 +124,12 @@ env.CodeGenerate( source = [], command = python_cmd + ' $SCRIPT enum > $TARGET' ) - +env.CodeGenerate( + target = 'glsl/ir_expression_operation_constant.h', + script = 'glsl/ir_expression_operation.py', + source = [], + command = python_cmd + ' $SCRIPT constant > $TARGET' +) env.CodeGenerate( target = 'glsl/ir_expression_operation_strings.h', script = 'glsl/ir_expression_operation.py', |