SkSL include files are now stored in a binary format

This speeds up compiler construction, because we no longer have to parse
and process a bunch of SkSL source code during startup.

Change-Id: I6d6bd9b5ce78b1661be691708ab84bf399c6df8b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/305717
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.cpp b/src/sksl/SkSLSPIRVCodeGenerator.cpp
index 4516f69..ecd8121 100644
--- a/src/sksl/SkSLSPIRVCodeGenerator.cpp
+++ b/src/sksl/SkSLSPIRVCodeGenerator.cpp
@@ -1846,12 +1846,13 @@
                 Layout layout(0, -1, -1, binding, -1, set, -1, -1, Layout::Format::kUnspecified,
                                 Layout::kUnspecified_Primitive, -1, -1, "", "", Layout::kNo_Key,
                                 Layout::CType::kDefault);
-                Variable* intfVar = (Variable*)fSynthetics.takeOwnership(std::unique_ptr<Symbol>(
-                        new Variable(-1,
-                                        Modifiers(layout, Modifiers::kUniform_Flag),
-                                        name,
-                                        intfStruct,
-                                        Variable::kGlobal_Storage)));
+                Variable* intfVar = (Variable*)fSynthetics.takeOwnership(
+                    std::unique_ptr<const Symbol>(new Variable(-1,
+                                                               Modifiers(layout,
+                                                                         Modifiers::kUniform_Flag),
+                                                               name,
+                                                               intfStruct,
+                                                               Variable::kGlobal_Storage)));
                 InterfaceBlock intf(-1, intfVar, name, String(""),
                                     std::vector<std::unique_ptr<Expression>>(), st);