commit | 2ab4b2b871c01aa3dd6d2e43883461c722f01680 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Tue Sep 12 11:20:56 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Sep 12 15:39:00 2017 +0000 |
tree | 8e3c242983ed75b99a7c419c5cce946acf6e8341 | |
parent | a6b646986bf554e9f537494cfe1d7d577fdac796 [diff] |
Remove symmetric three stop special case Just let the general three-stop shader handle all three-stop gradients. Also, pre-compute values derived from the middle stop to remove all division (and actually convert computation to FMA form). Bug: skia: Change-Id: I1aae069d929d1a942c38aa2e2f3fd5fb7d9b2f10 Reviewed-on: https://skia-review.googlesource.com/45800 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>