commit | 077050b0190c196ca920c2ac69585ade42ab3a40 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Tue Oct 13 10:30:20 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Oct 13 15:22:26 2020 +0000 |
tree | e0defb6fc5243a20268887b696c81790de68e122 | |
parent | 4c412bce4cacf556fbf87e9e9066ba709bc671f9 [diff] [blame] |
moved SkSL ModifiersDeclaration data into IRNode Change-Id: Iebe59b32a965e383d2b032258d7731645e0bd1a4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/325622 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Reviewed-by: John Stiles <johnstiles@google.com>
diff --git a/src/sksl/SkSLMetalCodeGenerator.cpp b/src/sksl/SkSLMetalCodeGenerator.cpp index 70e5882..8abe2b9 100644 --- a/src/sksl/SkSLMetalCodeGenerator.cpp +++ b/src/sksl/SkSLMetalCodeGenerator.cpp
@@ -1658,7 +1658,7 @@ this->writeFunction(e.as<FunctionDefinition>()); break; case ProgramElement::Kind::kModifiers: - this->writeModifiers(e.as<ModifiersDeclaration>().fModifiers, true); + this->writeModifiers(e.as<ModifiersDeclaration>().modifiers(), true); this->writeLine(";"); break; default: