Use `min` and `max` instead of `clamp`
diff --git a/sparse_strips/vello_cpu/src/fine/image.rs b/sparse_strips/vello_cpu/src/fine/image.rs index 0cd3964..f4b53ff 100644 --- a/sparse_strips/vello_cpu/src/fine/image.rs +++ b/sparse_strips/vello_cpu/src/fine/image.rs
@@ -272,7 +272,7 @@ match extend { // Note that max should be exclusive, so subtract a small bias to enforce that. // Otherwise, we might sample out-of-bounds pixels. - Extend::Pad => val.clamp(0.0, max - BIAS), + Extend::Pad => val.min(max - BIAS).max(0.0), Extend::Repeat => val - floor(val * inv_max) * max, // <https://github.com/google/skia/blob/220738774f7a0ce4a6c7bd17519a336e5e5dea5b/src/opts/SkRasterPipeline_opts.h#L3274-L3290> Extend::Reflect => {