mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 06:56:40 +00:00
Print which physical device is used to create the device on replay
This commit is contained in:
@@ -1436,6 +1436,8 @@ bool WrappedVulkan::Serialise_vkCreateDevice(SerialiserType &ser, VkPhysicalDevi
|
||||
uint32_t physicalDeviceIndex = GetPhysicalDeviceIndexFromHandle(Unwrap(physicalDevice));
|
||||
physicalDevice = m_PhysicalDevices[physicalDeviceIndex];
|
||||
|
||||
RDCLOG("Creating replay device from physical device %u", physicalDeviceIndex);
|
||||
|
||||
// we must make any modifications locally, so the free of pointers
|
||||
// in the serialised VkDeviceCreateInfo don't double-free
|
||||
VkDeviceCreateInfo createInfo = CreateInfo;
|
||||
|
||||
Reference in New Issue
Block a user