mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-19 18:41:13 +00:00
Framebuffers should depend on the renderpass
This commit is contained in:
1 parent
b6c7a406c1
commit
4c070023dc
1 file changed
+2
@@ -516,6 +516,8 @@ VkResult WrappedVulkan::vkCreateFramebuffer(
|
||||
VkResourceRecord *record = GetResourceManager()->AddResourceRecord(*pFramebuffer);
|
||||
record->AddChunk(chunk);
|
||||
|
||||
if(pCreateInfo->renderPass != VK_NULL_HANDLE)
|
||||
record->AddParent(GetRecord(pCreateInfo->renderPass));
|
||||
for(uint32_t i=0; i < pCreateInfo->attachmentCount; i++)
|
||||
{
|
||||
record->AddParent(GetRecord(pCreateInfo->pAttachments[i].view));
|
||||
|
||||
Reference in new issue
Block a user