diff --git a/lvk/LVK.h b/lvk/LVK.h index 4127b0a577..5c785cb2ab 100644 --- a/lvk/LVK.h +++ b/lvk/LVK.h @@ -543,6 +543,10 @@ struct VertexInput final { } return n; } + + bool operator==(const VertexInput& other) const { + return memcmp(this, &other, sizeof(VertexInput)) == 0; + } }; struct ColorAttachment {