Mesa (main): android: ac: add ac_nir_lower_ngg.c to Makefile.sources

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 4 08:43:45 UTC 2021


Module: Mesa
Branch: main
Commit: 2dea82fc073d532aed095b3ce298c36a7a968436
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dea82fc073d532aed095b3ce298c36a7a968436

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Wed Jun  2 17:12:51 2021 +0200

android: ac: add ac_nir_lower_ngg.c to Makefile.sources

Fixes the following building errors:

external/mesa/src/amd/vulkan/radv_shader.c:868: error: undefined reference to 'ac_nir_lower_ngg_gs'
external/mesa/src/amd/vulkan/radv_shader.c:851: error: undefined reference to 'ac_nir_lower_ngg_nogs'
external/mesa/src/amd/compiler/aco_interface.cpp:155: error: undefined reference to 'aco::optimize_postRA(aco::Program*)'

Fixes: 3d589b8b464 ("ac: Add new NIR pass to lower NGG VS/TES.")
Reviewed-by: Timur Kristóf <timur.kristof at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11177>

---

 src/amd/Makefile.sources | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/Makefile.sources b/src/amd/Makefile.sources
index 470f7ff7fdb..b2b18f62c71 100644
--- a/src/amd/Makefile.sources
+++ b/src/amd/Makefile.sources
@@ -48,6 +48,7 @@ AMD_COMMON_FILES = \
 	common/ac_nir.h \
 	common/ac_nir_lower_esgs_io_to_mem.c \
 	common/ac_nir_lower_tess_io_to_mem.c \
+	common/ac_nir_lower_ngg.c \
 	common/ac_perfcounter.c \
 	common/ac_perfcounter.h \
 	common/ac_surface.c \



More information about the mesa-commit mailing list