commit | 8c31f2bf7f154e00952da9bdfbe3accc7691aecf | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Tue Jul 16 16:50:14 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jul 17 15:47:36 2019 +0000 |
tree | 87e31a9ec896b5d9e28c9a802bc7ff18624d4a94 | |
parent | 0f78174b39fe68a3996cb78deae93a64eaa09a1e [diff] |
use same signature for shader/colorfilters in sksl 'void main(float x, float y, inout half4 color)' For colorfilters, x,y are uninitialized For shaders, color is paint-color Change-Id: I21c2f570702f117d33646bd8fba0ab4def20a118 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/227439 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Reed <reed@google.com>