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

Need to set additional flags and extensions for newer versions of Vulkan SDK on Mac #70

Open
annethereshewent opened this issue Jan 26, 2025 · 0 comments

Comments

@annethereshewent
Copy link

Hello, I found an issue on Mac with a fairly simple fix in the source code, so it turns out that for newer versions of Vulkan SDK, there are some additional flags that need to be set for Vulkan to work on Mac. if you don't, it will throw a VK_ERROR_INCOMPATIBLE_DRIVER when creating an instance. Per https://stackoverflow.com/questions/72789012/why-does-vkcreateinstance-return-vk-error-incompatible-driver-on-macos-despite, the fix is quite simple:

  • Enable the VK_KHR_portability_enumeration instance extension
  • Add (or set) the VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR flag for your instance create info
  • (optional?) Enable the VK_KHR_portability_subset device extension

I only had to do the first two to get things to work properly but it might be worth it to do all three.

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