nir: Treat vec8/16 as select in opt_peephole_select

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>
This commit is contained in:
Jason Ekstrand 2020-03-30 12:08:47 -05:00 committed by Marge Bot
parent e3554a293b
commit 99540edfde

View file

@ -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;