mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 05:05:44 +00:00
Pipeline layout should take a parent reference on the layouts used
This commit is contained in:
@@ -91,6 +91,12 @@ VkResult WrappedVulkan::vkCreatePipelineLayout(
|
||||
|
||||
VkResourceRecord *record = GetResourceManager()->AddResourceRecord(*pPipelineLayout);
|
||||
record->AddChunk(chunk);
|
||||
|
||||
for(uint32_t i=0; i < pCreateInfo->descriptorSetCount; i++)
|
||||
{
|
||||
VkResourceRecord *layoutrecord = GetRecord(pCreateInfo->pSetLayouts[i]);
|
||||
record->AddParent(layoutrecord);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user