From 7afdc549f46cc078a5f49283eda035e372171257 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Thu, 11 Jun 2020 08:17:02 +0200 Subject: [PATCH] android: aco: add aco_ir.cpp to Makefile.sources Fixes the following building errors: FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.radv_intermediates/LINKED/vulkan.radv.so ... ld.lld: error: undefined symbol: aco::can_use_SDWA(chip_class, std::__1::unique_ptr const&) ... ld.lld: error: undefined symbol: aco::can_use_opsel(chip_class, aco_opcode, int, bool) ... clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Fixes: d9cfb8ad ("aco: validate instructions reading/writing upper halves/bytes") Signed-off-by: Mauro Rossi Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/Makefile.sources | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources index 78e93e5f1b7..8fe37409c5f 100644 --- a/src/amd/Makefile.sources +++ b/src/amd/Makefile.sources @@ -79,6 +79,7 @@ ACO_FILES = \ compiler/aco_instruction_selection_setup.cpp \ compiler/aco_interface.cpp \ compiler/aco_interface.h \ + compiler/aco_ir.cpp \ compiler/aco_ir.h \ compiler/aco_assembler.cpp \ compiler/aco_insert_exec_mask.cpp \ -- 2.30.2