nir/lower_bool_to_float: assert that vector comparisons were lowered

There are no backends that handle the vector comparisons with float result.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40197>
This commit is contained in:
Georg Lehmann 2026-03-03 14:29:19 +01:00 committed by Marge Bot
parent 0b94b15a3c
commit d6977adc09

View file

@ -107,41 +107,18 @@ lower_alu_instr(nir_builder *b, nir_alu_instr *alu, bool has_fcsel_ne,
break;
case nir_op_ball_fequal2:
alu->op = nir_op_fall_equal2;
break;
case nir_op_ball_fequal3:
alu->op = nir_op_fall_equal3;
break;
case nir_op_ball_fequal4:
alu->op = nir_op_fall_equal4;
break;
case nir_op_bany_fnequal2:
alu->op = nir_op_fany_nequal2;
break;
case nir_op_bany_fnequal3:
alu->op = nir_op_fany_nequal3;
break;
case nir_op_bany_fnequal4:
alu->op = nir_op_fany_nequal4;
break;
case nir_op_ball_iequal2:
alu->op = nir_op_fall_equal2;
break;
case nir_op_ball_iequal3:
alu->op = nir_op_fall_equal3;
break;
case nir_op_ball_iequal4:
alu->op = nir_op_fall_equal4;
break;
case nir_op_bany_inequal2:
alu->op = nir_op_fany_nequal2;
break;
case nir_op_bany_inequal3:
alu->op = nir_op_fany_nequal3;
break;
case nir_op_bany_inequal4:
alu->op = nir_op_fany_nequal4;
break;
UNREACHABLE("vector comparisons should be lowered");
case nir_op_bcsel:
if (has_fcsel_gt)