nir: Report progress properly in nir_lower_bool_to_*
[mesa.git] / src / compiler / nir / nir_lower_bool_to_bitsize.c
index e7414fbf3d98c90d86c2140a007559caa1e3c537..703819560ccaa8ab3bf784f49957fa423bc87705 100644 (file)
@@ -110,7 +110,7 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu)
    case nir_op_ior:
    case nir_op_ixor:
       if (nir_dest_bit_size(alu->dest.dest) > 1)
-         break; /* Not a boolean instruction */
+         return false; /* Not a boolean instruction */
       /* Fallthrough */
 
    case nir_op_ball_fequal2: