<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Mar 13, 2018 at 8:33 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 13 March 2018 at 15:02, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> On Tue, Mar 13, 2018 at 7:56 AM, Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>><br>
> wrote:<br>
>><br>
>> On 12 March 2018 at 08:40, Iago Toral Quiroga <<a href="mailto:itoral@igalia.com">itoral@igalia.com</a>> wrote:<br>
>> > af5f2322d0c64 addressed this for extension commands, but the spec<br>
>> > mandates<br>
>> > this behavior also for core API commands. From the Vulkan spec,<br>
>> > Table 2. vkGetDeviceProcAddr behavior:<br>
>> ><br>
>> > device     pname                            return<br>
>> > ------------------------------<wbr>----------------------------<br>
>> > (..)<br>
>> > device     core device-level command        fp<br>
>> > (...)<br>
>> ><br>
>> > See that it specifically states "device-level".<br>
>> ><br>
>> > Since the vk.xml file doesn't state if core commands are instance or<br>
>> > device level, we identify device level commands as the ones that take a<br>
>> > VkDevice, VkQueue or VkCommandBuffer as their first parameter.<br>
>> ><br>
>> > Fixes test failures in new work-in-progress CTS tests.<br>
>> ><br>
>> > Also see the public issue:<br>
>> ><br>
>> > <a href="https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/2323" rel="noreferrer" target="_blank">https://github.com/<wbr>KhronosGroup/Vulkan-<wbr>LoaderAndValidationLayers/<wbr>issues/2323</a><br>
>> ><br>
>> > v2:<br>
>> >   - Include reference to github issue (Emil)<br>
>> >   - Rebased on top of Vulkan 1.1 changes.<br>
>> ><br>
>> > Reviewed-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>> (v1)<br>
>> > ---<br>
>> ><br>
>> > Emil, I had to rebase the patch on top of Jason's 1.1 changes. He had<br>
>> > already<br>
>> > accounted for device dispatches in that work, so now I just build on top<br>
>> > of<br>
>> > that now. With that, I am not sure whether the comment you were asking<br>
>> > for makes<br>
>> > sense in this patch any more (I think it should have gone in Jason's,<br>
>> > when he<br>
>> > added is_device_entrypoint()). I you want a comment for that I can send<br>
>> > another patch to include it, or maybe ammend the first patch in this<br>
>> > series to<br>
>> > include that. However, do notice that the comment you were referring to<br>
>> > has<br>
>> > been removed from the spec, since now it is clearly stated that only<br>
>> > core device-level commands return non-NULL pointers, so I think my<br>
>> > preference<br>
>> > would be to not add ny comments.<br>
>> ><br>
>> The suggestion was aimed as a reference, for anyone who missed the<br>
>> specific hunk in the spec update.<br>
>> There should be none, so yeah - don't bother ;-)<br>
>><br>
>> > Also, this version won't do for 18.0, but I guess we can still use the<br>
>> > previous version for that if you want to put it in.<br>
>> ><br>
>> I would love to apply that one, if you don't mind.<br>
><br>
><br>
> I would rather we not back-port this to 18.0 at least not without<br>
> significant testing.  From what I've heard from the WG, it looks lie the two<br>
> id games will be broken with it and the loader is not yet patched with a<br>
> work-around.<br>
><br>
</div></div>Guess I have misunderstood Lenny's reply [1] - it indicated that<br>
Wolfenstein/Doom are fine with said change.<br></blockquote><div><br></div><div>There have been what you might call "further developments". :-)<br></div></div></div></div>