android: nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 5 Sep 2020 21:35:28 +0000 (23:35 +0200)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:16 +0000 (21:25 +0530)
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 <issor.oruam@gmail.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6627>

src/gallium/drivers/nouveau/Makefile.sources

index 45c443aac43436e20d06501f5dda0fdbdf82f1f3..8b2ab3806fc1a00647da7d0cb89eff78f95734e0 100644 (file)
@@ -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 \