Mesa (master): Android: fix missing generation of vtn_gather_types.c

Rob Herring robh at kemper.freedesktop.org
Wed Dec 13 22:20:37 UTC 2017


Module: Mesa
Branch: master
Commit: 546633dce22614f06aec1679e3ec8dd9c5b26eb0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=546633dce22614f06aec1679e3ec8dd9c5b26eb0

Author: Rob Herring <robh at kernel.org>
Date:   Wed Dec 13 15:06:08 2017 -0600

Android: fix missing generation of vtn_gather_types.c

Commit bb1e6ff161c9 ("spirv: Add a prepass to set types on vtn_values")
added generation of vtn_gather_types.c, but forgot to add it to the
Android build files.

Fixes: bb1e6ff161c9 ("spirv: Add a prepass to set types on vtn_values")
Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>
Signed-off-by: Rob Herring <robh at kernel.org>

---

 src/compiler/Android.nir.gen.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/compiler/Android.nir.gen.mk b/src/compiler/Android.nir.gen.mk
index e2187d081d..aaa27128b4 100644
--- a/src/compiler/Android.nir.gen.mk
+++ b/src/compiler/Android.nir.gen.mk
@@ -98,3 +98,8 @@ $(intermediates)/nir/nir_opt_algebraic.c: $(nir_opt_algebraic_deps)
 $(intermediates)/spirv/spirv_info.c: $(LOCAL_PATH)/spirv/spirv_info_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
 	@mkdir -p $(dir $@)
 	$(hide) $(MESA_PYTHON2) $^ $@ || ($(RM) $@; false)
+
+$(intermediates)/spirv/vtn_gather_types.c:: $(LOCAL_PATH)/spirv/vtn_gather_types_c.py $(LOCAL_PATH)/spirv/spirv.core.grammar.json
+	@mkdir -p $(dir $@)
+	$(hide) $(MESA_PYTHON2) $^ $@ || ($(RM) $@; false)
+




More information about the mesa-commit mailing list