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:
parent
f1792cde0b
commit
b2b9fbc567
@ -402,7 +402,10 @@ struct Layout {
|
|||||||
fFormat == other.fFormat &&
|
fFormat == other.fFormat &&
|
||||||
fPrimitive == other.fPrimitive &&
|
fPrimitive == other.fPrimitive &&
|
||||||
fMaxVertices == other.fMaxVertices &&
|
fMaxVertices == other.fMaxVertices &&
|
||||||
fInvocations == other.fInvocations;
|
fInvocations == other.fInvocations &&
|
||||||
|
fWhen == other.fWhen &&
|
||||||
|
fKey == other.fKey &&
|
||||||
|
fCType == other.fCType;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool operator!=(const Layout& other) const {
|
bool operator!=(const Layout& other) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user