diff --git a/engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.h b/engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.h index 135f82464..c7fc2fddb 100644 --- a/engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.h +++ b/engine/source/runtime/function/render/rhi/vulkan/vulkan_rhi.h @@ -169,7 +169,12 @@ namespace Pilot const std::vector m_validation_layers {"VK_LAYER_KHRONOS_validation"}; uint32_t m_vulkan_api_version {VK_API_VERSION_1_0}; - std::vector m_device_extensions = {VK_KHR_SWAPCHAIN_EXTENSION_NAME}; + std::vector m_device_extensions = { + VK_KHR_SWAPCHAIN_EXTENSION_NAME, +#if defined(__MACH__) + "VK_KHR_portability_subset" +#endif + }; VkDebugUtilsMessengerEXT m_debug_messenger {VK_NULL_HANDLE}; };