Mesa (master): android: radeonsi,ac: fix building error due to ac changes

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Dec 27 09:37:37 UTC 2019


Module: Mesa
Branch: master
Commit: 962b70c25923e6f05884613faca406cafc7d8446
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=962b70c25923e6f05884613faca406cafc7d8446

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Dec  8 09:40:36 2019 +0100

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 <issor.oruam at gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 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
 




More information about the mesa-commit mailing list