Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.06k stars 511 forks source link

Errors running Chapter 2 on M2 mac #378

Open davidaronson13 opened 3 months ago

davidaronson13 commented 3 months ago

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