nir: Handle vec8/16 in opt_split_alu_of_phi
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:

committed by
Marge Bot

parent
2aab7999e4
commit
e3554a293b
@@ -388,10 +388,7 @@ opt_split_alu_of_phi(nir_builder *b, nir_loop *loop)
|
|||||||
* to loop unrolling not recognizing loop termintators, and type
|
* to loop unrolling not recognizing loop termintators, and type
|
||||||
* conversions also lead to regressions.
|
* conversions also lead to regressions.
|
||||||
*/
|
*/
|
||||||
if (alu->op == nir_op_vec2 ||
|
if (nir_op_is_vec(alu->op) ||
|
||||||
alu->op == nir_op_vec3 ||
|
|
||||||
alu->op == nir_op_vec4 ||
|
|
||||||
alu->op == nir_op_mov ||
|
|
||||||
alu_instr_is_comparison(alu) ||
|
alu_instr_is_comparison(alu) ||
|
||||||
alu_instr_is_type_conversion(alu))
|
alu_instr_is_type_conversion(alu))
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user