diff options
author | Daniel Schürmann <[email protected]> | 2020-06-24 11:14:18 +0100 |
---|---|---|
committer | Daniel Schürmann <[email protected]> | 2020-07-07 19:24:28 +0200 |
commit | 09d0e06c5c8cb966594417a1c53349512ab0a316 (patch) | |
tree | 16208466006049c32541423170ccd84d6eafb0fe /src/compiler | |
parent | 14c554a391ebe5c6a6f9e6f2c62fe29660dc32ea (diff) |
nir: also move vecN in case of nir_move_copies
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5622>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/nir/nir_opt_sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_opt_sink.c b/src/compiler/nir/nir_opt_sink.c index a43327300aa..5595cfd61d9 100644 --- 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; } |