mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 09:00:42 +01:00
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:
parent
0b94b15a3c
commit
d6977adc09
1 changed files with 1 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue