Expand tValue check for SkCubic::RootsValidT
Bug addressed an issue where we had a real root found that was ≈1 but
<1. This adds the value to the solutions array even though we might
already have a root ≈1. This CL adds a check if the next root found is
close to 1 similar to the next check below for 0.
Bug: 436904861
Change-Id: I5df9acf3fa1848f47b62e29703d4db1507699e66
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1034418
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Daniel Dilan <danieldilan@google.com>
1 file changed