mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-22 20:11:24 +00:00
Add missing comparison operator for rdcarray
This commit is contained in:
1 file changed
+4
@@ -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]")
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user