android: aco: add aco_ir.cpp to Makefile.sources
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 11 Jun 2020 06:17:02 +0000 (08:17 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Thu, 11 Jun 2020 18:00:16 +0000 (20:00 +0200)
commit7afdc549f46cc078a5f49283eda035e372171257
tree466962d1e40140b28c7f93a9670ee48823147932
parent19b18e72196940418f07afdf3d7f69386ba73e0c
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 <issor.oruam@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5425>
src/amd/Makefile.sources