diff options
author | Ethan Nicholas <ethannicholas@google.com> | 2017-10-26 09:30:08 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-26 14:58:27 +0000 |
commit | d608c09ac5d862568962d63e62e693d22c58f95c (patch) | |
tree | 7a5dd9bc7a97dea7fa7720c73e7f9bdf1dac51c9 /src/sksl/ir/SkSLLayout.h | |
parent | d4e9ec86cf934107cc441f651ee2429078188d02 (diff) |
Re-land "converted OverdrawColorFilter to SkSL"
This reverts commit 2d3cac58fcc8f2d398a421b0341c36479a6ba324.
Bug: skia:
Change-Id: I6607d419f6b30c3e17b52ec5ce67d489bd1ad1dc
Reviewed-on: https://skia-review.googlesource.com/64080
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'src/sksl/ir/SkSLLayout.h')
-rw-r--r-- | src/sksl/ir/SkSLLayout.h | 6 |
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 |