<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED NOTOURBUG - [anv] (and radv) Regression enabling Vulkan loader interface version 3"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99446#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_CLOSED bz_closed"
title="CLOSED NOTOURBUG - [anv] (and radv) Regression enabling Vulkan loader interface version 3"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99446">bug 99446</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>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] <a href="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/180">https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/180</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>