aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sksl/ir/SkSLLayout.h
diff options
context:
space:
mode:
authorGravatar Ethan Nicholas <ethannicholas@google.com>2017-10-25 15:55:58 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-25 20:19:18 +0000
commit8aa4dc9052a64d84cfd0a4330910057bd37b6bf7 (patch)
tree5b8c084ed43b6f10e6014a2fc2959e84c4be3c5b /src/sksl/ir/SkSLLayout.h
parent4cbb6e6d551e8bea2c040b1aa9dce253cffb9af0 (diff)
converted OverdrawColorFilter to SkSL
Bug: skia: Change-Id: Idcc0502758df1e60ed131a168b5c9a65a4d834a1 Reviewed-on: https://skia-review.googlesource.com/63840 Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
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