DescriptionFlush 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
Committed: https://skia.googlesource.com/skia/+/8ae991e433d2c0814ea5579613f00173805ff057
Patch Set 1 #Patch Set 2 : names #
Total comments: 6
Patch Set 3 : fix threshold, clean up tests #
Messages
Total messages: 27 (20 generated)
|