projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42093bb
)
freedreno/ir3: run nir_lower_pack
author
Jonathan Marek
<jonathan@marek.ca>
Fri, 24 Apr 2020 18:28:58 +0000
(14:28 -0400)
committer
Marge Bot
<eric+marge@anholt.net>
Mon, 27 Apr 2020 18:40:03 +0000
(18:40 +0000)
This lowers pack_32_2x16/unpack_32_2x16 into the scalar versions of those
instructions.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4738>
src/freedreno/ir3/ir3_nir.c
patch
|
blob
|
history
diff --git
a/src/freedreno/ir3/ir3_nir.c
b/src/freedreno/ir3/ir3_nir.c
index 8a67ea637d977900257d6c7ed2b07a63481479f0..c40fb43f82dd077871414655dac023c3464b57f4 100644
(file)
--- 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) {