commit | 842b3599c8200d721f7ccd6c8c509bdc8f0a6b8c | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue Dec 01 10:36:37 2020 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Dec 01 20:41:15 2020 +0000 |
tree | 6af64ff76fce2d7ee5f166f1e4509677c7c95bb8 | |
parent | 46d1e9f5f2e58078b576b9573d73db3c22f089d3 [diff] |
Enforce layout(location=...) on Metal out variables. Previously, this would generate invalid code such as `[[user(locn-1)]]`. We now generate a more-useful error at SkSL compilation time. Change-Id: Ifbe335ec6d4abcbdfe89b892ba51063c94d22b11 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/339397 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>