nir: rename nir_op_fne to nir_op_fneu
It was always fneu but naming it fne causes confusion from time to time. So lets rename it. Later we also want to add other unordered and fne, this is a smaller preparation for that. Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Connor Abbott <cwabbott0@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6377>
This commit is contained in:
@@ -1385,7 +1385,7 @@ fs_visitor::nir_emit_alu(const fs_builder &bld, nir_alu_instr *instr,
|
||||
case nir_op_flt32:
|
||||
case nir_op_fge32:
|
||||
case nir_op_feq32:
|
||||
case nir_op_fne32: {
|
||||
case nir_op_fneu32: {
|
||||
fs_reg dest = result;
|
||||
|
||||
const uint32_t bit_size = nir_src_bit_size(instr->src[0].src);
|
||||
@@ -3435,7 +3435,7 @@ fs_visitor::nir_emit_fs_intrinsic(const fs_builder &bld,
|
||||
alu->op != nir_op_bcsel &&
|
||||
(devinfo->gen > 5 ||
|
||||
(alu->instr.pass_flags & BRW_NIR_BOOLEAN_MASK) != BRW_NIR_BOOLEAN_NEEDS_RESOLVE ||
|
||||
alu->op == nir_op_fne32 || alu->op == nir_op_feq32 ||
|
||||
alu->op == nir_op_fneu32 || alu->op == nir_op_feq32 ||
|
||||
alu->op == nir_op_flt32 || alu->op == nir_op_fge32 ||
|
||||
alu->op == nir_op_ine32 || alu->op == nir_op_ieq32 ||
|
||||
alu->op == nir_op_ilt32 || alu->op == nir_op_ige32 ||
|
||||
|
@@ -1187,8 +1187,8 @@ brw_cmod_for_nir_comparison(nir_op op)
|
||||
case nir_op_b32all_iequal4:
|
||||
return BRW_CONDITIONAL_Z;
|
||||
|
||||
case nir_op_fne:
|
||||
case nir_op_fne32:
|
||||
case nir_op_fneu:
|
||||
case nir_op_fneu32:
|
||||
case nir_op_ine:
|
||||
case nir_op_ine32:
|
||||
case nir_op_b32any_fnequal2:
|
||||
|
@@ -1465,7 +1465,7 @@ vec4_visitor::nir_emit_alu(nir_alu_instr *instr)
|
||||
case nir_op_flt32:
|
||||
case nir_op_fge32:
|
||||
case nir_op_feq32:
|
||||
case nir_op_fne32: {
|
||||
case nir_op_fneu32: {
|
||||
enum brw_conditional_mod conditional_mod =
|
||||
brw_cmod_for_nir_comparison(instr->op);
|
||||
|
||||
|
Reference in New Issue
Block a user