mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Don't set devices as parents of the instance
* This causes all devices to be included in the capture, when that isn't what we want. If the application creates and destroys some devices they must not be included in the capture or we end up with multiple devices and can use them in a inconsistent manner. * The active m_Device is still marked as referenced in the frame so it will be pulled in that way.
This commit is contained in:
@@ -1394,8 +1394,6 @@ VkResult WrappedVulkan::vkCreateDevice(VkPhysicalDevice physicalDevice,
|
||||
}
|
||||
|
||||
InitDeviceExtensionTables(*pDevice);
|
||||
|
||||
GetRecord(m_Instance)->AddParent(record);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user