libretro: add portability_subset extension if required (#1791)

This commit is contained in:
Eric Warmenhoven 2026-02-28 09:23:03 -05:00 committed by GitHub
parent 526d9d4cea
commit cb09d1e064
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,6 +96,7 @@ bool CreateVulkanDevice(struct retro_vulkan_context* context, VkInstance instanc
AddExtensionIfAvailable(enabled_exts, available_exts,
VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME);
AddExtensionIfAvailable(enabled_exts, available_exts, VK_EXT_TOOLING_INFO_EXTENSION_NAME);
AddExtensionIfAvailable(enabled_exts, available_exts, VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME);
// These are beneficial but blacklisted on some platforms due to driver bugs
// For now, let the Instance class handle these decisions