DescriptionFixed error when normal.z = 1 in GPUs with binary16 floats
Check failed in GPUs with low-precision floats since 0.9999 was too small a difference from 1 to be detected by a 16-bit float comparison. Changed it to 0.999 which fixed the issue and results in indistinguishable correct behavior.
BUG=skia:5499
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2124183004
Committed: https://skia.googlesource.com/skia/+/66ad44a3f1df2547981b97c51d24f6881ba328e0
Patch Set 1 : Mistakenly uploaded more commits than necessary, ignore #Patch Set 2 : Fixed error when normal.z = 1 in GPUs with binary16 floats #
Depends on Patchset: Messages
Total messages: 15 (11 generated)
|