diff options
author | Mauro Rossi <[email protected]> | 2020-06-11 08:17:02 +0200 |
---|---|---|
committer | Mauro Rossi <[email protected]> | 2020-06-11 20:00:16 +0200 |
commit | 7afdc549f46cc078a5f49283eda035e372171257 (patch) | |
tree | 466962d1e40140b28c7f93a9670ee48823147932 | |
parent | 19b18e72196940418f07afdf3d7f69386ba73e0c (diff) |
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<aco::Instruction, aco::instr_deleter_functor> 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 <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5425>
-rw-r--r-- | src/amd/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
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 \ |