vk-bootstrap: Instance creation fails on iOS using MoltenVK
When using value()
on the instance builder, an assertion fails and the error is simply vkb_instance:0
. The same doesn’t happen under macOS even when using the same XCFramework.
I’ve tried manually creating the instance to see if something’s wrong with the library but it worked so I don’t know what’s going wrong here.
If you have an idea what could be causing this any help is welcome. Thanks.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 25 (11 by maintainers)
After discussing this issue with a user, it was found that a very old bug where
VK_EXT_metal_surface
was spelled asVK_KHR_metal_surface
caused instance creation to fail. This would explain most of the people’s issues here, but it doesn’t explain the situation where linking to moltenVK causes issue.IF anyone inspects their version of VkBootstrap.cpp and sees
VK_KHR_metal_surface
, replace it withVK_EXT_metal_surface
. This is an old bug that may exist out in the wild.Sadly not, I’m focused on my semester right now and I didn’t manage to get a better grasp at the issue last time I tried.