-
Notifications
You must be signed in to change notification settings - Fork 151
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
VkSurfacePresentModeCompatibilityEXT passed without VkSurfacePresentModeEXT #846
Comments
So looking at this VUID, its clear that I need to supply a |
Yeah, I think it would make sense to query the present mode compatibility for each present mode supported by the Vulkan implementation. |
A bug in vulkan tools, KhronosGroup/Vulkan-Tools#846 causes vulkaninfo to crash in Mesa under wayland since the changes in 5ceba97 Handle the crashing case on wayland similarly to how other WSIs do (nonsensically claiming a single compatible mode), and log the condition once for all WSIs. Fixes 5ceba97 Signed-off-by: Derek Foreman <derek.foreman@collabora.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24888>
I started to work on this issue but got distracted by other repo's (loader & vulkan-utility-library). I hope to have a fix for this up by the end of the week, its not great to be shipping vulkaninfo with such a bug in it. |
@emersion I added sample output in the PR I just linked. This is what it'll look like in the text output of vulkaninfo. Let me know if it makes sense or needs tweaking. |
Yes, that makes sense to me. Thanks! |
However, vulkaninfo passes
VkSurfacePresentModeCompatibilityEXT
without aVkSurfacePresentModeEXT
chained up.This makes Mesa crash.
The text was updated successfully, but these errors were encountered: