Skip to content

Draft: render/vulkan: use VK_EXT_external_memory_host for uploads

Simon Ser requested to merge emersion/wlroots:ext-mem-host-upload into master

This allows the Vulkan driver to directly access client buffers.

  • Investigate why ERROR_INVALID_EXTERNAL_HANDLE is returned by vkAllocateMemory on AMD
  • Keep buffer locked while the copy is in progress
  • Check VkPhysicalDeviceExternalMemoryHostPropertiesEXT.minImportedHostPointerAlignment
  • Cleanup properly in error path
Edited by Simon Ser

Merge request reports