projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3554a2
)
nir: Treat vec8/16 as select in opt_peephole_select
author
Jason Ekstrand
<jason@jlekstrand.net>
Mon, 30 Mar 2020 17:08:47 +0000
(12:08 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Tue, 31 Mar 2020 00:18:05 +0000
(
00:18
+0000)
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4365>
src/compiler/nir/nir_opt_peephole_select.c
patch
|
blob
|
history
diff --git
a/src/compiler/nir/nir_opt_peephole_select.c
b/src/compiler/nir/nir_opt_peephole_select.c
index 25b96cc1ba0321ccad26d0fa13668445cabb2882..1d0636d44020e1c3efb8a8107105fb8851c75f77 100644
(file)
--- 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;