mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Add missing comparison operator for rdcarray
This commit is contained in:
@@ -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