From 77ade10c868ff38b6b6a93b3952618017a110902 Mon Sep 17 00:00:00 2001 From: Stefan Schake Date: Tue, 27 Mar 2018 21:40:40 +0200 Subject: [PATCH] android: Use new nir intrinsics python scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 76dfed8ae2d5 ("nir: mako all the intrinsics") Signed-off-by: Stefan Schake Acked-by: Rob Clark Reviewed-by: Tapani Pälli --- src/compiler/Android.nir.gen.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/compiler/Android.nir.gen.mk b/src/compiler/Android.nir.gen.mk index aaa27128b41..fa0707e7240 100644 --- a/src/compiler/Android.nir.gen.mk +++ b/src/compiler/Android.nir.gen.mk @@ -103,3 +103,12 @@ $(intermediates)/spirv/vtn_gather_types.c:: $(LOCAL_PATH)/spirv/vtn_gather_types @mkdir -p $(dir $@) $(hide) $(MESA_PYTHON2) $^ $@ || ($(RM) $@; false) +nir_intrinsics_h_gen := $(LOCAL_PATH)/nir/nir_intrinsics_h.py +$(intermediates)/nir/nir_intrinsics.h: $(LOCAL_PATH)/nir/nir_intrinsics.py $(nir_intrinsics_h_gen) + @mkdir -p $(dir $@) + $(hide) $(MESA_PYTHON2) $(nir_intrinsics_h_gen) --outdir $(dir $@) || ($(RM) $@; false) + +nir_intrinsics_c_gen := $(LOCAL_PATH)/nir/nir_intrinsics_c.py +$(intermediates)/nir/nir_intrinsics.c: $(LOCAL_PATH)/nir/nir_intrinsics.py $(nir_intrinsics_c_gen) + @mkdir -p $(dir $@) + $(hide) $(MESA_PYTHON2) $(nir_intrinsics_c_gen) --outdir $(dir $@) || ($(RM) $@; false) -- 2.30.2