Add abs(genIType) and sign(genIType) to sksl_public.
These are guarded with $es3, so we can use them in SkSLTest ES3 tests,
but are not generally accessible in Runtime Effects yet.
(Metal will need a polyfill as well: skia:12898)
Change-Id: Ibc1e4b9dc230517163a8f6a4a3af0172d8275de1
Bug: skia:11209
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/503483
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2 files changed