commit | 049b58f97a6fcb4a8fd2e0fd1a96600dde689041 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Fri Nov 08 13:58:20 2019 -0600 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 08 20:51:37 2019 +0000 |
tree | d45a4df8ee6ca060da06cc113dda2a3b4c15d792 | |
parent | b97a9194186a30e6e56ae4173b197d3e062fd661 [diff] |
avoid redundant clamps If we clamp the shader color to gamut, we won't need to clamp again when storing to the destination... blending and coverage will keep the color in gamut. Change-Id: I9a4eb609de58fc0cb6295df0ad1c4cef8cd7e307 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/253722 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Klein <mtklein@google.com>