skia /
skia /
e76e47982bc1da0560a46100d0bf48c310495679 skvm float divides are meant to allow /0
In this case, unpremul() hits a divide-by-zero here,
F32 invA = 1.0f / a
but then fixes it (and divide-by-tiny) after the fact,
invA = select(invA < inf, invA, 0)
Bug: oss-fuzz:30887
Change-Id: Id2da801e04bd21df2138d3db110eedb238e28c43
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/369936
Commit-Queue: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed