From: Jonathan Marek Date: Fri, 24 Apr 2020 18:28:58 +0000 (-0400) Subject: freedreno/ir3: run nir_lower_pack X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=065068c66aba9b32ac4c65ac91549360b5eb1b7b;p=mesa.git 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: --- 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) {