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: 3d589b8b46 ("ac: Add new NIR pass to lower NGG VS/TES.")
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11177>
This commit is contained in:
Mauro Rossi 2021-06-02 17:12:51 +02:00
parent 8e10d54804
commit 2dea82fc07
1 changed files with 1 additions and 0 deletions

View File

@ -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 \