Add missing comparison operator for rdcarray

This commit is contained in:
baldurk
2021-11-19 15:43:41 +00:00
parent c413e5786a
commit 3aa37498fc
+4
View File
@@ -1197,6 +1197,10 @@ bool operator==(const VkImageMemoryBarrier &a, const VkImageMemoryBarrier &b)
{
return memcmp(&a, &b, sizeof(VkImageMemoryBarrier)) == 0;
}
bool operator<(const VkImageMemoryBarrier &a, const VkImageMemoryBarrier &b)
{
return memcmp(&a, &b, sizeof(VkImageMemoryBarrier)) < 0;
}
TEST_CASE("Validate CombineDepthStencilLayouts works", "[vulkan]")
{