summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.glsl.am
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2016-07-12 16:42:36 -0700
committerIan Romanick <ian.d.romanick@intel.com>2016-08-30 16:28:03 -0700
commitee3cdac7857a5c0f30108e1b1963d042f2a5e8e6 (patch)
treea22272671d69afdae939af9aa167920947a4ff75 /src/compiler/Makefile.glsl.am
parentf3fcfe001f8e6d3abaa62eb73ab95d0ba88b628d (diff)
downloadexternal_mesa3d-ee3cdac7857a5c0f30108e1b1963d042f2a5e8e6.zip
external_mesa3d-ee3cdac7857a5c0f30108e1b1963d042f2a5e8e6.tar.gz
external_mesa3d-ee3cdac7857a5c0f30108e1b1963d042f2a5e8e6.tar.bz2
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 <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
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 125580d..b8225cb 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