mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 01:54:31 +01:00
Have constant evaluator use `wrapping_abs` instead of `abs` when applying `MathFunction::Abs` to AbstractInt values. WGSL says that applying `abs` to the most negative AbstractInt value must return it unchanged, which is what Rust's `i64::wrapping_abs` does.