From 065068c66aba9b32ac4c65ac91549360b5eb1b7b Mon Sep 17 00:00:00 2001 From: Jonathan Marek Date: Fri, 24 Apr 2020 14:28:58 -0400 Subject: [PATCH] freedreno/ir3: run nir_lower_pack This lowers pack_32_2x16/unpack_32_2x16 into the scalar versions of those instructions. Signed-off-by: Jonathan Marek Part-of: --- src/freedreno/ir3/ir3_nir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedreno/ir3/ir3_nir.c b/src/freedreno/ir3/ir3_nir.c index 8a67ea637d9..c40fb43f82d 100644 --- a/src/freedreno/ir3/ir3_nir.c +++ b/src/freedreno/ir3/ir3_nir.c @@ -176,6 +176,7 @@ ir3_optimize_loop(nir_shader *s) progress |= OPT(s, nir_opt_intrinsics); progress |= OPT(s, nir_opt_algebraic); progress |= OPT(s, nir_lower_alu); + progress |= OPT(s, nir_lower_pack); progress |= OPT(s, nir_opt_constant_folding); if (lower_flrp != 0) { -- 2.30.2