android: radeonsi,ac: fix building error due to ac changes
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 8 Dec 2019 08:40:36 +0000 (09:40 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 27 Dec 2019 08:20:49 +0000 (09:20 +0100)
Updates amd Makefile.sources and fixes the following building errors:

external/mesa/src/gallium/drivers/radeonsi/si_compute_prim_discard.c:338: error: undefined reference to 'ac_add_arg'
external/mesa/src/gallium/drivers/radeonsi/si_compute_prim_discard.c:340: error: undefined reference to 'ac_add_arg'
external/mesa/src/gallium/drivers/radeonsi/si_compute_prim_discard.c:341: error: undefined reference to 'ac_add_arg'
external/mesa/src/gallium/drivers/radeonsi/si_compute_prim_discard.c:342: error: undefined reference to 'ac_add_arg'

Fixes: 9885af3 ("ac: Add a shared interface between radv, radeonsi, LLVM and ACO")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/Makefile.sources

index fec7cb6463afb4748bcb3aa2ccc6c84fa60ffdf7..296df29c4b9410e7802316be5dd00adac836ae67 100644 (file)
@@ -46,6 +46,8 @@ AMD_COMMON_FILES = \
        common/ac_surface.h \
        common/ac_rtld.c \
        common/ac_rtld.h \
+       common/ac_shader_args.c \
+       common/ac_shader_args.h \
        common/ac_shader_util.c \
        common/ac_shader_util.h