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

@ -51,6 +51,7 @@ public:
bool vk_khr_driver_properties : 1;
bool vk_khr_dynamic_rendering : 1;
bool vk_khr_push_descriptor : 1;
bool vk_ext_external_memory_host : 1;
};
static GPUTexture::Format GetFormatForVkFormat(VkFormat format);