commit | 107ea94139876ed7b205c6e3869a0b9cb7550123 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Nov 10 17:20:21 2021 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Nov 11 18:43:42 2021 +0000 |
tree | a81cf2d3e33a9c998e0535f989952c43d44c8ffa | |
parent | 0e956d5bdd5df8bfaff56975b9ec716454f32fc3 [diff] |
Add support for clamp($genUType, ...) in SkSL. We never used it internally, but the shaders used by Filament rely on it. It doesn't exist in ES2 so this doesn't affect Runtime Effects. Change-Id: Idb2afb15ff160b950ad02101bf6381a5d5c56468 Bug: skia:12635, skia:11209 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/470156 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>