commit | b32d66b2969247b6efeff5679871f1ed72bd37aa | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Thu Apr 30 17:12:03 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri May 01 20:12:43 2020 +0000 |
tree | 75976090069c12d3003da43e0c401ae5b7af3842 | |
parent | 45be07785da6f436fe906747426439be2aecf16a [diff] |
Add layout(srgb_unpremul) to SkSL For 3 and 4 channel float uniforms, this states that the data supplied is unpremul sRGB, and transforms that data to the destination color space (still unpremul) automatically. Change-Id: I1b420d2fd10640963fa8e6736af3747cfc6e7d5b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/286656 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>