summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.glsl.am
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-07-12 16:42:36 -0700
committerIan Romanick <[email protected]>2016-08-30 16:28:03 -0700
commitee3cdac7857a5c0f30108e1b1963d042f2a5e8e6 (patch)
treea22272671d69afdae939af9aa167920947a4ff75 /src/compiler/Makefile.glsl.am
parentf3fcfe001f8e6d3abaa62eb73ab95d0ba88b628d (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/Makefile.glsl.am')
-rw-r--r--src/compiler/Makefile.glsl.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/Makefile.glsl.am
index 125580dd945..b8225cbe206 100644
--- a/src/compiler/Makefile.glsl.am
+++ b/src/compiler/Makefile.glsl.am
@@ -201,6 +201,10 @@ glsl/ir_expression_operation.h: glsl/ir_expression_operation.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py enum > $@ || ($(RM) $@; false)
+glsl/ir_expression_operation_constant.h: glsl/ir_expression_operation.py
+ $(MKDIR_GEN)
+ $(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py constant > $@ || ($(RM) $@; false)
+
glsl/ir_expression_operation_strings.h: glsl/ir_expression_operation.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py strings > $@ || ($(RM) $@; false)
@@ -215,6 +219,7 @@ BUILT_SOURCES += \
glsl/glsl_parser.cpp \
glsl/glsl_lexer.cpp \
glsl/ir_expression_operation.h \
+ glsl/ir_expression_operation_constant.h \
glsl/ir_expression_operation_strings.h \
glsl/glcpp/glcpp-parse.c \
glsl/glcpp/glcpp-lex.c
@@ -224,6 +229,7 @@ CLEANFILES += \
glsl/glsl_parser.cpp \
glsl/glsl_lexer.cpp \
glsl/ir_expression_operation.h \
+ glsl/ir_expression_operation_constant.h \
glsl/ir_expression_operation_strings.h \
glsl/glcpp/glcpp-parse.c \
glsl/glcpp/glcpp-lex.c