Module: Mesa
Branch: master
Commit: 065068c66aba9b32ac4c65ac91549360b5eb1b7b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=065068c66aba9b32ac4c65ac91549360b5eb1b7b

Author: Jonathan Marek <[email protected]>
Date:   Fri Apr 24 14:28:58 2020 -0400

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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4738>

---

 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) {

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to