diff options
author | Stefan Schake <[email protected]> | 2018-03-27 21:40:40 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-03-28 14:48:47 +0300 |
commit | 77ade10c868ff38b6b6a93b3952618017a110902 (patch) | |
tree | e186131d4dbbd8907e7bb90d082288f457b937c5 /src | |
parent | a691fa4a1be3730f0cfc9566944bd23adb03966d (diff) |
android: Use new nir intrinsics python scripts
Fixes: 76dfed8ae2d5 ("nir: mako all the intrinsics")
Signed-off-by: Stefan Schake <[email protected]>
Acked-by: Rob Clark <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/Android.nir.gen.mk | 9 |
1 files changed, 9 insertions, 0 deletions
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) |