From f842d80f52521257608d98c224bc0ac4fc91d2fd Mon Sep 17 00:00:00 2001 From: FL33TW00D Date: Fri, 4 Oct 2024 10:12:04 -0400 Subject: [PATCH] chore: note: `round_ties_even` is on stable, but not MSRV yet Co-Authored-By: Erich Gubler --- naga/src/proc/constant_evaluator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/naga/src/proc/constant_evaluator.rs b/naga/src/proc/constant_evaluator.rs index 1b7f5cf91..5fdf48151 100644 --- a/naga/src/proc/constant_evaluator.rs +++ b/naga/src/proc/constant_evaluator.rs @@ -1175,8 +1175,8 @@ impl<'a> ConstantEvaluator<'a> { component_wise_float!(self, span, [arg], |e| { Ok([e.floor()]) }) } crate::MathFunction::Round => { - // TODO: Use `f{32,64}.round_ties_even()` when available on stable. This polyfill - // is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source], + // TODO: this hit stable on 1.77, but MSRV hasn't caught up yet + // This polyfill is shamelessly [~~stolen from~~ inspired by `ndarray-image`][polyfill source], // which has licensing compatible with ours. See also // . //