-
Notifications
You must be signed in to change notification settings - Fork 361
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
Asserts on Android 9 wth vkGetPhysicalDeviceMemoryProperties2KHR #410
Comments
I made some fixes in importing What method of importing Vulkan functions do you use? What suspected bug in VMA do you report here? Function
And this is what this assert checks, so I think it is correct. |
I'm seeing the same here. I'm using Volk, so both However, it seems to work fine if I pass the pointer to I'm using RADV from Mesa, in case that matters. |
For some reason, I need to use vkGetPhysicalDeviceMemoryProperties2 instead of vkGetPhysicalDeviceMemoryProperties2KHR here. See this issue for details: GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator#410
Hitting another crash on our 1.1 Android 9 devices. This code seems to just assert on this extension, but we weren't loading the extension nor was that documented for using VMA. Also the KHR extension isn't needed on 1.2+. So this is similar to the failure with the 1.3 asserts, but there the code conditionally test.
Samsung SM-g955f w/Mali-G71 running Android 9, Android 28, Galaxy S8+, Vulkan 1.1?
For now, we'll just remove this assert. I'm assuming this was a Vulkan 1.1 part, and so it should have had the vkGetPhysicalDeviceMemoryProperties2 which the code sets vkGetPhysicalDeviceMemoryProperties2KHR to.
Code that sets up the function ptr.
This is the assert that fails at startup. I'll dig through vulkan.gpuinfo.org, since this is a player device, and not one that I have.
The text was updated successfully, but these errors were encountered: