android: pan/bi: Generate instruction packer for new IR

Necessary for Android build after commit 82328a5245

Fixes: 82328a5245 ("pan/bi: Generate instruction packer for new IR")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8294>
This commit is contained in:
Mauro Rossi 2021-01-02 13:16:48 +01:00 committed by Marge Bot
parent 6a2ae4e35c
commit 95af4994e5
1 changed files with 8 additions and 0 deletions

View File

@ -87,6 +87,7 @@ LOCAL_GENERATED_SOURCES := \
$(intermediates)/bi_generated_pack.h \
$(intermediates)/bi_opcodes.c \
$(intermediates)/bi_opcodes.h \
$(intermediates)/bi_packer.c \
$(intermediates)/bi_printer.c \
$(MESA_GEN_GLSL_H)
@ -126,6 +127,13 @@ $(intermediates)/bi_opcodes.h: $(bi_opcodes_h_deps)
@mkdir -p $(dir $@)
$(hide) $(MESA_PYTHON3) $(bi_opcodes_h_gen) $< > $@
bi_packer_c_gen := $(LOCAL_PATH)/bifrost/bi_packer.c.py
bi_packer_c_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py
$(intermediates)/bi_packer.c: $(bi_packer_c_deps)
@mkdir -p $(dir $@)
$(hide) $(MESA_PYTHON3) $(bi_packer_c_gen) $< > $@
bi_printer_c_gen := $(LOCAL_PATH)/bifrost/bi_printer.c.py
bi_printer_c_deps := $(LOCAL_PATH)/bifrost/ISA.xml $(LOCAL_PATH)/bifrost/bifrost_isa.py