projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c554a
)
nir: also move vecN in case of nir_move_copies
author
Daniel Schürmann
<daniel@schuermann.dev>
Wed, 24 Jun 2020 10:14:18 +0000
(11:14 +0100)
committer
Daniel Schürmann
<daniel@schuermann.dev>
Tue, 7 Jul 2020 17:24:28 +0000
(19:24 +0200)
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5622>
src/compiler/nir/nir_opt_sink.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_sink.c
b/src/compiler/nir/nir_opt_sink.c
index a43327300aaae6c5adcbc28aefce5cb8c5609c6c..5595cfd61d98031de1804dced87b5bf5f564ae4d 100644
(file)
--- a/
src/compiler/nir/nir_opt_sink.c
+++ b/
src/compiler/nir/nir_opt_sink.c
@@
-60,7
+60,7
@@
nir_can_move_instr(nir_instr *instr, nir_move_options options)
}
if ((options & nir_move_copies) && instr->type == nir_instr_type_alu &&
- nir_
instr_as_alu(instr)->op == nir_op_mov
) {
+ nir_
op_is_vec(nir_instr_as_alu(instr)->op)
) {
return true;
}