From: Mauro Rossi Date: Thu, 11 Jun 2020 06:17:02 +0000 (+0200) Subject: android: aco: add aco_ir.cpp to Makefile.sources X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7afdc549f46cc078a5f49283eda035e372171257;p=mesa.git 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: --- 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 \