mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
nir/lower_phis_to_scalar: Fix some logic in is_phi_scalarizable
Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
7df256add2
commit
929f43851e
1 changed files with 3 additions and 3 deletions
|
|
@ -65,9 +65,9 @@ is_phi_src_scalarizable(nir_phi_src *src,
|
|||
* are ok too.
|
||||
*/
|
||||
return nir_op_infos[src_alu->op].output_size == 0 ||
|
||||
src_alu->op != nir_op_vec2 ||
|
||||
src_alu->op != nir_op_vec3 ||
|
||||
src_alu->op != nir_op_vec4;
|
||||
src_alu->op == nir_op_vec2 ||
|
||||
src_alu->op == nir_op_vec3 ||
|
||||
src_alu->op == nir_op_vec4;
|
||||
}
|
||||
|
||||
case nir_instr_type_phi:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue