summaryrefslogtreecommitdiffstats
path: root/src/compiler/Makefile.glsl.am
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2018-11-15 10:18:12 -0800
committerMatt Turner <[email protected]>2019-01-09 16:42:40 -0800
commitb63a1f8e40b6705d6a1d806fbd38dcd197d4229b (patch)
tree0b4e18335166e5164a64e36b81bf984567f3b99e /src/compiler/Makefile.glsl.am
parent412472da5cb30b603e218b34893936cc70039ded (diff)
glsl: Create file to contain software fp64 functions
The following patches will add implementations of various double-precision operations to this file. Reviewed-by: Kenneth Graunke <[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 9d88d1f66ee..af2294c789e 100644
--- a/src/compiler/Makefile.glsl.am
+++ b/src/compiler/Makefile.glsl.am
@@ -226,6 +226,10 @@ glsl/ir_expression_operation_strings.h: glsl/ir_expression_operation.py
$(MKDIR_GEN)
$(PYTHON_GEN) $(srcdir)/glsl/ir_expression_operation.py strings > $@ || ($(RM) $@; false)
+glsl/float64_glsl.h: glsl/xxd.py glsl/float64.glsl
+ $(MKDIR_GEN)
+ $(PYTHON_GEN) $(srcdir)/glsl/xxd.py $(srcdir)/glsl/float64.glsl $@ -n float64_source || ($(RM) $@; false)
+
# Only the parsers (specifically the header files generated at the same time)
# need to be in BUILT_SOURCES. Though if we list the parser headers YACC is
# called for the .c/.cpp file and the .h files. By listing the .c/.cpp files
@@ -233,6 +237,7 @@ glsl/ir_expression_operation_strings.h: glsl/ir_expression_operation.py
# will be created at the appropriate times according to standard automake
# dependency rules.
BUILT_SOURCES += \
+ glsl/float64_glsl.h \
glsl/glsl_parser.cpp \
glsl/glsl_lexer.cpp \
glsl/ir_expression_operation.h \
@@ -241,6 +246,7 @@ BUILT_SOURCES += \
glsl/glcpp/glcpp-parse.c \
glsl/glcpp/glcpp-lex.c
CLEANFILES += \
+ glsl/float64_glsl.h \
glsl/glcpp/glcpp-parse.h \
glsl/glsl_parser.h \
glsl/glsl_parser.cpp \