Index: src/core/SkBitmap.cpp |
diff --git a/src/core/SkBitmap.cpp b/src/core/SkBitmap.cpp |
index e73217ea50f4eab94e16f1baedebc021f87e5f3e..26630860acda9078ea8da5a3701ecc0d636ef9e1 100644 |
--- a/src/core/SkBitmap.cpp |
+++ b/src/core/SkBitmap.cpp |
@@ -600,7 +600,7 @@ SkColor SkBitmap::getColor(int x, int y) const { |
} |
case kRGBA_F16_SkColorType: { |
const uint64_t* addr = (const uint64_t*)fPixels + y * (fRowBytes >> 3) + x; |
- Sk4f p4 = SkHalfToFloat_finite(addr[0]); |
+ Sk4f p4 = SkHalfToFloat_finite_ftz(addr[0]); |
if (p4[3]) { |
float inva = 1 / p4[3]; |
p4 = p4 * Sk4f(inva, inva, inva, 1); |