case nir_op_imax:
case nir_op_umin:
case nir_op_umax:
+ case nir_op_imin3:
+ case nir_op_imax3:
+ case nir_op_umin3:
+ case nir_op_umax3:
+ case nir_op_imed3:
+ case nir_op_umed3:
return nir_lower_minmax64;
case nir_op_iabs:
return nir_lower_iabs64;
return lower_umin64(b, src[0], src[1]);
case nir_op_umax:
return lower_umax64(b, src[0], src[1]);
+ case nir_op_imin3:
+ return lower_imin64(b, src[0], lower_imin64(b, src[1], src[2]));
+ case nir_op_imax3:
+ return lower_imax64(b, src[0], lower_imax64(b, src[1], src[2]));
+ case nir_op_umin3:
+ return lower_umin64(b, src[0], lower_umin64(b, src[1], src[2]));
+ case nir_op_umax3:
+ return lower_umax64(b, src[0], lower_umax64(b, src[1], src[2]));
+ case nir_op_imed3:
+ return lower_imax64(b, lower_imin64(b, lower_imax64(b, src[0], src[1]), src[2]), lower_imin64(b, src[0], src[1]));
+ case nir_op_umed3:
+ return lower_umax64(b, lower_umin64(b, lower_umax64(b, src[0], src[1]), src[2]), lower_umin64(b, src[0], src[1]));
case nir_op_iabs:
return lower_iabs64(b, src[0]);
case nir_op_ineg: