commit | 053f785903e6548895111435dc50f1e5af3fd6db | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Mon Jan 25 13:04:12 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jan 25 21:27:19 2021 +0000 |
tree | e2390e82baa6421eab05170de12bd9e36afee521 | |
parent | e7ff4bc9b8b274aafc005d3d136bcfab7e198097 [diff] |
Avoid relying on bit-perfect irrational numbers in test code. Comparing sqrt(5) against a variable containing sqrt(5) was not working properly in some versions of Android running Vulkan. Change-Id: I4f6bbff78a9ba56ec6e222f2037d66b13e3cd635 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/358530 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>