Draft: render/vulkan: use VK_EXT_external_memory_host for uploads
This allows the Vulkan driver to directly access client buffers.
-
Investigate why ERROR_INVALID_EXTERNAL_HANDLE
is returned byvkAllocateMemory
on AMD -
Keep buffer locked while the copy is in progress -
Check VkPhysicalDeviceExternalMemoryHostPropertiesEXT.minImportedHostPointerAlignment
-
Cleanup properly in error path
Edited by Simon Ser