aboutsummaryrefslogtreecommitdiffhomepage
path: root/platform_tools
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-08-22 13:20:18 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-22 13:20:18 -0700
commit8ae991e433d2c0814ea5579613f00173805ff057 (patch)
tree03948b83317a26c3a1c176c3bfd102a044b0beca /platform_tools
parent4f3a0ca85d28a8fc7fcc1ac5c4a1864c66bdea14 (diff)
Flush denorm half floats to zero.
I think we convinced ourselves that denorms, while a good chunk of half floats, cover a rather small fraction of the representable range, which is always close enough to zero to flush. This makes both paths of the conversion to or from float considerably simpler. These functions now work for zero-or-normal half floats (excluding infinite, NaN). I'm not aware of a term for this class so I've called them "ordinary". A handful of GMs and SKPs draw differently in --config f16, but all imperceptibly. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2256023002 Review-Url: https://codereview.chromium.org/2256023002
Diffstat (limited to 'platform_tools')
0 files changed, 0 insertions, 0 deletions