diff options
author | Jason Ekstrand <[email protected]> | 2020-03-30 12:08:47 -0500 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-31 00:18:05 +0000 |
commit | 99540edfde8576b751f96ae0c686ea6300c8a5ec (patch) | |
tree | 9a302545d37e432db7c98e595be3e694e36403c3 /src/compiler/nir | |
parent | e3554a293bfc8364b98745dc5a8d219185a84af9 (diff) |
nir: Treat vec8/16 as select in opt_peephole_select
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_opt_peephole_select.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_opt_peephole_select.c b/src/compiler/nir/nir_opt_peephole_select.c index 25b96cc1ba0..1d0636d4402 100644 --- a/src/compiler/nir/nir_opt_peephole_select.c +++ b/src/compiler/nir/nir_opt_peephole_select.c @@ -119,6 +119,8 @@ block_check_for_allowed_instrs(nir_block *block, unsigned *count, case nir_op_vec2: case nir_op_vec3: case nir_op_vec4: + case nir_op_vec8: + case nir_op_vec16: movelike = true; break; |