commit | 4964300530d35e66203d573d0bad13cde6cb484c | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Mon Oct 19 18:52:40 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Oct 20 13:01:41 2020 +0000 |
tree | 0b320f5a93a0bcab09ea0c4a5f9070382538ea98 | |
parent | cd74dfa477216defe814a1aa9f238f9c20861244 [diff] |
Improve gencode for inlined blend and composition functions. Using `return` instead of assigning to the output color removes an unnecessary temporary variable from the output. Change-Id: Ica31e290f8745a7309ae32c7148516d2189308ea Bug: skia:10549 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/328386 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>