mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-23 02:10:40 +00:00
Don't try to serialise attachments in imageless framebuffer
This commit is contained in:
@@ -1933,7 +1933,14 @@ void DoSerialise(SerialiserType &ser, VkFramebufferCreateInfo &el)
|
||||
SERIALISE_MEMBER_VKFLAGS(VkFramebufferCreateFlags, flags);
|
||||
SERIALISE_MEMBER(renderPass);
|
||||
SERIALISE_MEMBER(attachmentCount);
|
||||
SERIALISE_MEMBER_ARRAY(pAttachments, attachmentCount);
|
||||
if((el.flags & VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT) == 0)
|
||||
{
|
||||
SERIALISE_MEMBER_ARRAY(pAttachments, attachmentCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
SERIALISE_MEMBER_ARRAY_EMPTY(pAttachments);
|
||||
}
|
||||
SERIALISE_MEMBER(width);
|
||||
SERIALISE_MEMBER(height);
|
||||
SERIALISE_MEMBER(layers);
|
||||
|
||||
Reference in New Issue
Block a user