[Mesa-dev] [Bug 99446] [anv] (and radv) Regression enabling Vulkan loader interface version 3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 24 13:52:14 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99446

--- Comment #10 from Emil Velikov <emil.l.velikov at gmail.com> ---
Things can be improved on Mesa side as well. Due to the difference in
VKSurfaceKHR allocation [and related API] things can get rather nasty.

All we need is to set a flag as vk_icdNegotiateLoaderICDInterfaceVersion is
called, and if one calls vk_icdGetInstanceProcAddr with the flag off - we just
bail ;-)

Admittedly it's a bit pedantic check, but similar one is explicitly mentioned
in the the the Negotiation API proposal [1] it would have caught/prevented this
crash.

I'll send a patch in a bit.

[1] https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/180

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170124/48a8002a/attachment.html>


More information about the mesa-dev mailing list