diff options
author | mtklein <mtklein@chromium.org> | 2016-08-23 08:58:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-23 08:58:12 -0700 |
commit | a2d2f386000acdc0e10bd38757ece8d6ab78bc25 (patch) | |
tree | 9bfccb37425967147d1ea3a374fa4cbbddc89bbd /src/core/SkHalf.h | |
parent | a97a1ab5719d5c355f7900b7f17dec1e467cf57e (diff) |
f16<->f32 ftz is an optional thing for speed.
The ARMv8 asm path actually does it right... that should be okay.
My Nexus 5x fails `dm -m _finite_ftz` before this and passes after it.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2276533002
TBR=msarett@google.com
Review-Url: https://codereview.chromium.org/2276533002
Diffstat (limited to 'src/core/SkHalf.h')
-rw-r--r-- | src/core/SkHalf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkHalf.h b/src/core/SkHalf.h index cc57823cb7..dd978a2347 100644 --- a/src/core/SkHalf.h +++ b/src/core/SkHalf.h @@ -26,8 +26,8 @@ float SkHalfToFloat(SkHalf h); SkHalf SkFloatToHalf(float f); // Convert between half and single precision floating point, -// assuming inputs and outputs are both finite, and -// flushing values which would be denormal half floats to zero. +// assuming inputs and outputs are both finite, and may +// flush values which would be denormal half floats to zero. static inline Sk4f SkHalfToFloat_finite_ftz(uint64_t); static inline Sk4h SkFloatToHalf_finite_ftz(const Sk4f&); |