VulkanDevice: Optional VK_EXT_external_memory_host enablement

Allows usage of this extension only when the import-pointer-alignment
matches that of the hosts' page size.
This commit is contained in:
Wunkolo
2024-01-20 15:55:10 -08:00
committed by Stenzek
parent 411213d6a0
commit 0ce1149e41
3 changed files with 18 additions and 0 deletions

View File

@ -248,4 +248,8 @@ VULKAN_DEVICE_ENTRY_POINT(vkCmdEndRenderingKHR, false)
// VK_KHR_push_descriptor
VULKAN_DEVICE_ENTRY_POINT(vkCmdPushDescriptorSetKHR, false)
// VK_EXT_external_memory_host
VULKAN_DEVICE_ENTRY_POINT(vkGetMemoryHostPointerPropertiesEXT, false)
#endif // VULKAN_DEVICE_ENTRY_POINT