commit | e5240a24987b1f7df1f445480c3ad3856a7813af | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue May 25 16:44:54 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue May 25 22:07:53 2021 +0000 |
tree | 5fcb652461c69cc7db790cdcbf23ae709d54da71 | |
parent | ad5b44720f97e9b1252ff7d23d5c8f96e36e839c [diff] |
Implement compile-time optimization for mod(). $genType mod($genType x, float y); $genType mod($genType x, $genType y); $genHType mod($genHType x, half y); $genHType mod($genHType x, $genHType y); Change-Id: I406eafbe824d7aa55012196521e6f10cac50ed19 Bug: skia:12034 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/412376 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>