"Beginning with the 1.3.216 Vulkan SDK, the Vulkan Loader is strictly enforcing
the new VK_KHR_PORTABILITY_subset extension. The most likely cause of this error
message on instance creation is failure to adhere to this extension, which prevents
applications on all platforms from selecting by default a non-conformant Vulkan
implementation without opting in.
MoltenVK is currently not fully conformant, and thus supporting this extension is
necessary for building robust and portable Vulkan-based applications that are
good citizens in the Vulkan ecosystem.
This commit fixes VK_ERROR_INCOMPATIBLE_DRIVER on vkCreateInstance
on MacOS by conforming to the above loader specification.
We're maintaining the Meta fork of RenderDoc for Meta Quest devices, where replay is possible on Mac clients.
The rationale makes sense, we'll keep this local on our fork, thanks!
Description
Per MacOS Vulkan SDK docs: (https://vulkan.lunarg.com/doc/view/latest/mac/getting_started.html)
"Beginning with the 1.3.216 Vulkan SDK, the Vulkan Loader is strictly enforcing the new VK_KHR_PORTABILITY_subset extension. The most likely cause of this error message on instance creation is failure to adhere to this extension, which prevents applications on all platforms from selecting by default a non-conformant Vulkan implementation without opting in. MoltenVK is currently not fully conformant, and thus supporting this extension is necessary for building robust and portable Vulkan-based applications that are good citizens in the Vulkan ecosystem.
This commit fixes VK_ERROR_INCOMPATIBLE_DRIVER on vkCreateInstance on MacOS by conforming to the above loader specification.