diff options
author | fmalita <fmalita@chromium.org> | 2016-11-02 13:10:51 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 13:10:51 -0700 |
commit | cc34176c040c9703e351af7268dfc3a8b3cbf71d (patch) | |
tree | 70d4a66679c1d72d335c28771c0daa0b5784ebba /bench/ControlBench.cpp | |
parent | e9215f0e243e46d7a49677b80946c17fbccb2535 (diff) |
Fix GradientShaderBase4fContext::Interval fuzzer assert
Although the iterator ensures v0 != v1, 2 - v0 may still be equal to
2 - v1 for very small values due to limited float precision.
We need to recheck the inequality to avoid triggering Interval asserts.
BUG=skia:5903
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2474463002
Review-Url: https://codereview.chromium.org/2474463002
Diffstat (limited to 'bench/ControlBench.cpp')
0 files changed, 0 insertions, 0 deletions