android: nir: add a load/store vectorization pass
authorMauro Rossi <issor.oruam@gmail.com>
Sun, 8 Dec 2019 08:40:36 +0000 (09:40 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 27 Dec 2019 08:20:35 +0000 (09:20 +0100)
Fixes the following aco building error:

external/mesa/src/amd/compiler/aco_instruction_selection_setup.cpp:846:
error: undefined reference to 'nir_opt_load_store_vectorize'

Fixes: ce9205c ("nir: add a load/store vectorization pass")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/compiler/Makefile.sources

index e13a19c749e90bd720dd5e3ff1fb3f0dfb453e70..c5c1dc62a6b1121092eaa604242818c406ae1579 100644 (file)
@@ -309,6 +309,7 @@ NIR_FILES = \
        nir/nir_opt_intrinsics.c \
        nir/nir_opt_loop_unroll.c \
        nir/nir_opt_large_constants.c \
        nir/nir_opt_intrinsics.c \
        nir/nir_opt_loop_unroll.c \
        nir/nir_opt_large_constants.c \
+       nir/nir_opt_load_store_vectorize.c \
        nir/nir_opt_move.c \
        nir/nir_opt_peephole_select.c \
        nir/nir_opt_rematerialize_compares.c \
        nir/nir_opt_move.c \
        nir/nir_opt_peephole_select.c \
        nir/nir_opt_rematerialize_compares.c \