You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple vulkan app that uses VMA, and runs fine as I run it normally on my PC.
However, I wanted to validate if it would work in Android devices.
For that, I'm using the Portability layer along with the "VP_Android_baseline_2021.json" configuration.
When using that layer, the application crashes inside VMA when calling vkGetBufferMemoryRequirements2KHR.
The function pointer itself is not null, but it ends up calling a null pointer internally.
I was using Vulkan 1.1, if I use Vulkan 1.0 the crash doesn't happen anymore.
This is because the "VP_Android_baseline_2021.json" configuration supports 1.0 only. I have tried to use vkEnumerateInstanceVersion to find out the max supported version and create the instance considering that. However, that doesn't work because the "instance" layer is not active before creating the instance. Not sure what to do about this.
I have a simple vulkan app that uses VMA, and runs fine as I run it normally on my PC.
However, I wanted to validate if it would work in Android devices.
For that, I'm using the Portability layer along with the "VP_Android_baseline_2021.json" configuration.
When using that layer, the application crashes inside VMA when calling
vkGetBufferMemoryRequirements2KHR
.The function pointer itself is not null, but it ends up calling a null pointer internally.
My code is available in this repo.
The text was updated successfully, but these errors were encountered: