-
Notifications
You must be signed in to change notification settings - Fork 432
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
vkGetBufferMemoryRequirements2KHR crash #1216
Comments
After modifying your code to the code below, to replace What is the nature of the crash? Can you provide a stack call trace?
|
Can you provide some further context? Is that crash report a result of running my code above? Or your code above, which doesn't set Specifically, is the |
And just to be certain, when you say you link against MoltenVK statically, are you linking directly to MoltenVK, or through the Vulkan SDK? |
Okay. It's likely an SDK issue then. Each layer in the SDK has different Vulkan handle types, so that Can you post a link to this issue in the Vulkan SDK issue list, please, so they can have a look? BTW...Vulkan SDK 1.2.162 should be using MoltenVK 1.1.1, not 1.1.2. |
Hi, finally I found this is 100% my mistake. I linked against both MoltenVK and the official Vulkan SDK. Now the problem is solved. Thank you for your help :) |
I'm using Vulkan Memory Allocator and the program crashes when calling vkGetBufferMemoryRequirements2KHR(https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator/blob/master/src/vk_mem_alloc.h#L16489).
Following code is taken from VMA with some modifications:
I'm using a MacBook Pro 16-inch 2019 and the program is linked against MoltenVK statically.
The text was updated successfully, but these errors were encountered: