mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-27 17:06:32 +00:00
Set proper loader dispatch table while allocating external queue cmd buf
This commit is contained in:
@@ -1975,6 +1975,11 @@ VkResult WrappedVulkan::vkCreateDevice(VkPhysicalDevice physicalDevice,
|
||||
&m_ExternalQueues[qidx].buffer);
|
||||
RDCASSERTEQUAL(vkr, VK_SUCCESS);
|
||||
|
||||
if(m_SetDeviceLoaderData)
|
||||
m_SetDeviceLoaderData(device, m_ExternalQueues[qidx].buffer);
|
||||
else
|
||||
SetDispatchTableOverMagicNumber(device, m_ExternalQueues[qidx].buffer);
|
||||
|
||||
GetResourceManager()->WrapResource(Unwrap(device), m_ExternalQueues[qidx].buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user