mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 15:00:11 +01:00
zink: remove support for fcsel
fcsel is only emitted by bool -> float lowering. We used to do that a long time ago, but no longer. So we don't need to support this opcode any longer. Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8347>
This commit is contained in:
parent
cfb5ce782c
commit
8553e1cb71
1 changed files with 0 additions and 10 deletions
|
|
@ -1435,16 +1435,6 @@ emit_alu(struct ntv_context *ctx, nir_alu_instr *alu)
|
|||
src[0], src[1], src[2]);
|
||||
break;
|
||||
|
||||
case nir_op_fcsel:
|
||||
result = emit_binop(ctx, SpvOpFOrdGreaterThan,
|
||||
get_bvec_type(ctx, num_components),
|
||||
src[0],
|
||||
get_fvec_constant(ctx,
|
||||
nir_src_bit_size(alu->src[0].src),
|
||||
num_components, 0));
|
||||
result = emit_select(ctx, dest_type, result, src[1], src[2]);
|
||||
break;
|
||||
|
||||
case nir_op_bcsel:
|
||||
assert(nir_op_infos[alu->op].num_inputs == 3);
|
||||
result = emit_select(ctx, dest_type, src[0], src[1], src[2]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue