From 4e465c91b8e5a0017216c8d8db0f6b08cb1ad465 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sat, 5 Sep 2020 23:35:28 +0200 Subject: [PATCH] android: nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize Fixes the following building errors: ld.lld: error: undefined symbol: nv50_ir_prog_info_serialize >>> referenced by nvc0_program.c:647 (external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_program.c:647) >>> nvc0_program.o:(nvc0_program_translate) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_nouveau_intermediates/libmesa_pipe_nouveau.a ld.lld: error: undefined symbol: nv50_ir_prog_info_out_deserialize >>> referenced by nvc0_program.c:656 (external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_program.c:656) >>> nvc0_program.o:(nvc0_program_translate) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_nouveau_intermediates/libmesa_pipe_nouveau.a ld.lld: error: undefined symbol: nv50_ir_prog_info_out_serialize >>> referenced by nvc0_program.c:674 (external/mesa/src/gallium/drivers/nouveau/nvc0/nvc0_program.c:674) >>> nvc0_program.o:(nvc0_program_translate) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_nouveau_intermediates/libmesa_pipe_nouveau.a Fixes: f20a210dc ("nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize") Signed-off-by: Mauro Rossi Reviewed-by: Karol Herbst Part-of: --- src/gallium/drivers/nouveau/Makefile.sources | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/Makefile.sources b/src/gallium/drivers/nouveau/Makefile.sources index 45c443aac43..8b2ab3806fc 100644 --- a/src/gallium/drivers/nouveau/Makefile.sources +++ b/src/gallium/drivers/nouveau/Makefile.sources @@ -128,6 +128,7 @@ NV50_CODEGEN_SOURCES := \ codegen/nv50_ir_peephole.cpp \ codegen/nv50_ir_print.cpp \ codegen/nv50_ir_ra.cpp \ + codegen/nv50_ir_serialize.cpp \ codegen/nv50_ir_ssa.cpp \ codegen/nv50_ir_target.cpp \ codegen/nv50_ir_target.h \ -- 2.30.2