Compare all fields in SkSL::Layout::operator==

Change-Id: I344bf5ddee4242f17325377a664ddb17b26e6f31
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/285789
Commit-Queue: Brian Osman <brianosman@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
This commit is contained in:
Brian Osman 2020-04-28 10:55:34 -04:00 committed by Skia Commit-Bot
parent f1792cde0b
commit b2b9fbc567

View File

@ -402,7 +402,10 @@ struct Layout {
fFormat == other.fFormat &&
fPrimitive == other.fPrimitive &&
fMaxVertices == other.fMaxVertices &&
fInvocations == other.fInvocations;
fInvocations == other.fInvocations &&
fWhen == other.fWhen &&
fKey == other.fKey &&
fCType == other.fCType;
}
bool operator!=(const Layout& other) const {