commit | 8e756f379c612007f822a091caf569819b75097a | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Feb 10 10:19:27 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Feb 11 21:09:15 2021 +0000 |
tree | 02d436bae2e88a9ab34d52a73811920ee087250d | |
parent | f4738966f4c5482f093fa39bc2ac9adda38615f6 [diff] |
Support structs in runtime effects Uses the pipeline-stage callback mechanism. It mangles the type name (with a test to verify that this works), and then calls defineStruct with the entire SkSL struct definition string. Bug: skia:10939 Change-Id: If14cf1b11faaa80ad8d4086cdacf68532bac43fc Reviewed-on: https://skia-review.googlesource.com/c/skia/+/368809 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com>