Bug
1718909 [wpt PR 29563] - Keep points on edges crossing w=0 under kInfiniteCoordinate., a=testonly
Automatic update from web-platform-tests
Keep points on edges crossing w=0 under kInfiniteCoordinate.
This adds half of std::numeric_limits<float>::epsilon() (FLT_EPSILON),
which is the smallest representable difference for a float at 1.0, so
that the code to shift t away from the point where w=0 will move it
enough so that the result is less than kInfiniteCoordinate.
Bug:
1224066
Change-Id: I7df134c277f280987405d0d0c2d47de15d3ef55d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
3002270
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#898172}
--
wpt-commits:
428213381f43418226b8df335710c8e8c74d10ee
wpt-pr: 29563