diff options
author | Jason Ekstrand <[email protected]> | 2017-12-05 22:31:02 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-11 22:28:34 -0800 |
commit | bb1e6ff161c9a438243392ca2cbebac781293658 (patch) | |
tree | 550b04c7a8ff34e4fc4eaa2304422829d23cb512 /src/compiler/Makefile.nir.am | |
parent | 2c84b49ddff2c03a9a1f2d1e132d4002fd7c070b (diff) |
spirv: Add a prepass to set types on vtn_values
This autogenerated pass will automatically find and set the type field
on all vtn_values. This way we always have the type and can use it for
validation and other checks.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.nir.am')
-rw-r--r-- | src/compiler/Makefile.nir.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/Makefile.nir.am b/src/compiler/Makefile.nir.am index 1533ee536d3..dd38c45da03 100644 --- a/src/compiler/Makefile.nir.am +++ b/src/compiler/Makefile.nir.am @@ -56,6 +56,10 @@ spirv/spirv_info.c: spirv/spirv_info_c.py spirv/spirv.core.grammar.json $(MKDIR_GEN) $(PYTHON_GEN) $(srcdir)/spirv/spirv_info_c.py $(srcdir)/spirv/spirv.core.grammar.json $@ || ($(RM) $@; false) +spirv/vtn_gather_types.c: spirv/vtn_gather_types_c.py spirv/spirv.core.grammar.json + $(MKDIR_GEN) + $(PYTHON_GEN) $(srcdir)/spirv/vtn_gather_types_c.py $(srcdir)/spirv/spirv.core.grammar.json $@ || ($(RM) $@; false) + noinst_PROGRAMS += spirv2nir spirv2nir_SOURCES = \ |