Index: src/effects/gradients/Sk4fGradientPriv.h |
diff --git a/src/effects/gradients/Sk4fGradientPriv.h b/src/effects/gradients/Sk4fGradientPriv.h |
index 6542683eb0a47cdf8cada494a7adc98e5f94f268..65fa821e85c83e81b079b7c8e355c009f2d4623c 100644 |
--- a/src/effects/gradients/Sk4fGradientPriv.h |
+++ b/src/effects/gradients/Sk4fGradientPriv.h |
@@ -141,12 +141,12 @@ struct DstTraits<DstType::F16, premul> { |
} |
static void store(const Sk4f& c, Type* dst) { |
- SkFloatToHalf_finite(PM::apply(c)).store(dst); |
+ SkFloatToHalf_finite_ftz(PM::apply(c)).store(dst); |
} |
static void store(const Sk4f& c, Type* dst, int n) { |
uint64_t color; |
- SkFloatToHalf_finite(PM::apply(c)).store(&color); |
+ SkFloatToHalf_finite_ftz(PM::apply(c)).store(&color); |
sk_memset64(dst, color, n); |
} |