android: r600/sfn: add sfn_nir_lower_64bit.cpp to Makefile.sources
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 14 Jan 2021 22:15:56 +0000 (23:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 Jan 2021 07:21:05 +0000 (07:21 +0000)
Fixes the following building errors:

FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
...
ld.lld: error: undefined symbol: r600::r600_nir_split_64bit_io(nir_shader*)
>>> referenced by sfn_nir.cpp:981 (external/mesa/src/gallium/drivers/r600/sfn/sfn_nir.cpp:981)
...
ld.lld: error: undefined symbol: r600::r600_nir_64_to_vec2(nir_shader*)
>>> referenced by sfn_nir.cpp:1010 (external/mesa/src/gallium/drivers/r600/sfn/sfn_nir.cpp:1010)
...
ld.lld: error: undefined symbol: r600::r600_merge_vec2_stores(nir_shader*)
>>> referenced by sfn_nir.cpp:1015 (external/mesa/src/gallium/drivers/r600/sfn/sfn_nir.cpp:1015)

Fixes: 165fb5117b ("r600/sfn: add lowering passes to get 64 bit ops lowered to 32 bit vec2")
Cc: 21.0 <mesa-stable>
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8505>

src/gallium/drivers/r600/Makefile.sources

index 28f2319..6307960 100644 (file)
@@ -132,6 +132,7 @@ CXX_SOURCES = \
        sfn/sfn_liverange.h \
        sfn/sfn_nir.cpp \
        sfn/sfn_nir.h \
+       sfn/sfn_nir_lower_64bit.cpp \
        sfn/sfn_nir_lower_fs_out_to_vector.cpp \
        sfn/sfn_nir_lower_fs_out_to_vector.h \
        sfn/sfn_nir_lower_tess_io.cpp \