diff options
author | dvonbeck <dvonbeck@google.com> | 2016-07-08 08:59:47 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-08 08:59:47 -0700 |
commit | 66ad44a3f1df2547981b97c51d24f6881ba328e0 (patch) | |
tree | bc40d3cbc0f8559a6550d5a791791c41a6aa67fa /src/gpu/GrTessellator.cpp | |
parent | babc3de2ce7c2f7b32b1b6b9f36d2ac4a4d8dee1 (diff) |
Fixed 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
Review-Url: https://codereview.chromium.org/2124183004
Diffstat (limited to 'src/gpu/GrTessellator.cpp')
0 files changed, 0 insertions, 0 deletions