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:
baldurk
2017-06-29 11:55:44 +01:00
parent 92c545ea06
commit 5e5ec5de4b
@@ -1394,8 +1394,6 @@ VkResult WrappedVulkan::vkCreateDevice(VkPhysicalDevice physicalDevice,
}
InitDeviceExtensionTables(*pDevice);
GetRecord(m_Instance)->AddParent(record);
}
else
{