commit | 28810906ca8b5c489d1ee1e4eabb4086f9569446 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Aug 17 14:08:33 2022 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Aug 18 15:25:24 2022 +0000 |
tree | f7cce55c8fb3ba5d80589df1a01770f950b5ef18 | |
parent | b66816225ac8550d49c285670e3a53d56d58e976 [diff] |
Add SkSL test for exact integer division in ES3. This test is designed to trip up GPUs that simulate integer math with floating point ops. ES3 does not permit approximations of integer math: http://screen/4jNCvHuXXzDKoJA "All integral types are assumed to be implemented as integers and so may not be emulated by floating point values." Change-Id: I27ca1f74a2d65e97efdb64c29339e62c1fbe8be1 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/569656 Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>