I'm trying to run 02_validation_layers.cpp on a mac m2.
I get the following errors:
validation layer: Searching for ICD drivers named ../../../lib/libMoltenVK.dylib
validation layer: vkCreateInstance: Found drivers that contain devices which support the portability subset, but the instance does not enumerate portability drivers! Applications that wish to enumerate portability drivers must set the VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and enable the VK_KHR_portability_enumeration instance extension.
validation layer: vkCreateInstance: Found no drivers!
failed to create instance!
Program ended with exit code: 1
I'm trying to run 02_validation_layers.cpp on a mac m2. I get the following errors: validation layer: Searching for ICD drivers named ../../../lib/libMoltenVK.dylib validation layer: vkCreateInstance: Found drivers that contain devices which support the portability subset, but the instance does not enumerate portability drivers! Applications that wish to enumerate portability drivers must set the VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR bit in the VkInstanceCreateInfo flags and enable the VK_KHR_portability_enumeration instance extension. validation layer: vkCreateInstance: Found no drivers! failed to create instance! Program ended with exit code: 1