Index: src/effects/gradients/SkRadialGradient.cpp |
diff --git a/src/effects/gradients/SkRadialGradient.cpp b/src/effects/gradients/SkRadialGradient.cpp |
index 1560cd2f391906c1b5495c308836dad19391acdc..254e4386249ddf44acd80511390c57a20d26b150 100644 |
--- a/src/effects/gradients/SkRadialGradient.cpp |
+++ b/src/effects/gradients/SkRadialGradient.cpp |
@@ -94,8 +94,7 @@ typedef void (* RadialShadeProc)(SkScalar sfx, SkScalar sdx, |
int count, int toggle); |
static inline Sk4f fast_sqrt(const Sk4f& R) { |
- // R * R.rsqrt0() is much faster, but it's non-monotonic, which isn't so pretty for gradients. |
- return R * R.rsqrt1(); |
+ return R * R.rsqrt(); |
} |
static inline Sk4f sum_squares(const Sk4f& a, const Sk4f& b) { |