Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors running Chapter 2 on M2 mac #378

Open
davidaronson13 opened this issue Mar 22, 2024 · 0 comments
Open

Errors running Chapter 2 on M2 mac #378

davidaronson13 opened this issue Mar 22, 2024 · 0 comments

Comments

@davidaronson13
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant