Module: Mesa Branch: master Commit: 8553e1cb714a15d63430a5227d9f4eae1ad128e6 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8553e1cb714a15d63430a5227d9f4eae1ad128e6
Author: Erik Faye-Lund <[email protected]> Date: Wed Jan 6 06:59:27 2021 +0100 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8347> --- src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c index 0a2c2605b57..15f861274f1 100644 --- a/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c +++ b/src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c @@ -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]); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
