commit | b4ce94431f424bbcc318541224ea159465f347c2 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Nov 11 09:18:02 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Nov 11 16:56:25 2020 +0000 |
tree | b1d231ae4f964cf3c4bc0739d6e29a540cdcc3d4 | |
parent | 47fd8b23c2582643134a52882bdc1e9e3eeb692b [diff] |
Runtime effects: Fix error when mutating main's coords These often became direct references to a varying, which can't be mutated in GLSL. Fix this by copying them to a local variable in the FP, and pointing all references at that. Bug: skia:10918 Change-Id: I705e3c966b1d44fc4dfc3d4b40eb8e46110febdd Reviewed-on: https://skia-review.googlesource.com/c/skia/+/334043 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>