From 962b70c25923e6f05884613faca406cafc7d8446 Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Sun, 8 Dec 2019 09:40:36 +0100 Subject: [PATCH] android: radeonsi,ac: fix building error due to ac changes 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 Reviewed-by: Samuel Pitoiset --- src/amd/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources index fec7cb6463a..296df29c4b9 100644 --- a/src/amd/Makefile.sources +++ b/src/amd/Makefile.sources @@ -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 -- 2.30.2