aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sksl/ir/SkSLLayout.h')
-rw-r--r--src/sksl/ir/SkSLLayout.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sksl/ir/SkSLLayout.h b/src/sksl/ir/SkSLLayout.h
index dc676280d6..9c4fcb1889 100644
--- a/src/sksl/ir/SkSLLayout.h
+++ b/src/sksl/ir/SkSLLayout.h
@@ -100,7 +100,7 @@ struct Layout {
Layout(int location, int offset, int binding, int index, int set, int builtin,
int inputAttachmentIndex, bool originUpperLeft, bool overrideCoverage,
bool blendSupportAllEquations, Format format, bool pushconstant, Primitive primitive,
- int maxVertices, int invocations, String when, Key key)
+ int maxVertices, int invocations, String when, Key key, StringFragment ctype)
: fLocation(location)
, fOffset(offset)
, fBinding(binding)
@@ -117,7 +117,8 @@ struct Layout {
, fMaxVertices(maxVertices)
, fInvocations(invocations)
, fWhen(when)
- , fKey(key) {}
+ , fKey(key)
+ , fCType(ctype) {}
Layout()
: fLocation(-1)
@@ -280,6 +281,7 @@ struct Layout {
int fInvocations;
String fWhen;
Key fKey;
+ StringFragment fCType;
};
} // namespace