Lines Matching defs:rounding
53 unreachable("unexpected rounding mode");
63 return src; /* No rounding is needed for an up-convert */
105 unreachable("unexpected rounding mode");
162 unreachable("unexpected rounding mode");
183 unreachable("unexpected rounding mode");
397 nir_rounding_mode rounding)
405 if (rounding == nir_rounding_mode_undef)
406 return rounding;
408 /* Pure integer conversion doesn't have any rounding */
422 rounding == nir_rounding_mode_rtz)
427 rounding == nir_rounding_mode_rtne)
431 return rounding;
465 * If we don't care about rounding and clamping, we can just use NIR's
467 * f32/f64 -> f16 conversions can have one of two rounding modes applied,
470 * For the rest, we have our own implementation of rounding and clamping.
494 /* round with selected rounding mode */