Accroding to MoltenVK release notes, the VK_KHR_PORTABILITY_subset extension is mandatory. Otherwise vkCreateInstance will generate VK_ERROR_INCOMPATIBLE_DRIVER error.
So I append a new section in Instance creation chapter to show how to fix this error. I think this is helpful for beganners with MacOS.
Thank you for your contribution. I've reworded the explanation a bit and moved the code to the FAQ page because I would consider it a "workaround" for a temporary problem.
Accroding to MoltenVK release notes, the
VK_KHR_PORTABILITY_subset
extension is mandatory. OtherwisevkCreateInstance
will generateVK_ERROR_INCOMPATIBLE_DRIVER
error.So I append a new section in Instance creation chapter to show how to fix this error. I think this is helpful for beganners with MacOS.