From 9bf7d14b2cf5ae98dba7ed43846aec037712a8a0 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 8 Jun 2023 12:05:21 -0400 Subject: [PATCH] agx: Use nir_opt_shrink_vectors Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index 385188814e0..abf12e4ca54 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -1920,6 +1920,7 @@ agx_optimize_loop_nir(nir_shader *nir) NIR_PASS(progress, nir, nir_opt_undef); NIR_PASS(progress, nir, nir_lower_undef_to_zero); + NIR_PASS(progress, nir, nir_opt_shrink_vectors); NIR_PASS(progress, nir, nir_opt_loop_unroll); } while (progress); }