On Sat May 25 13:22:59 2024 +0000, Rémi Bernon wrote:
I don't think we should update the client object here, and this should IMO just return the client handle for the debug callback. Only once the object is created the client object will be updated, and a proper handle mapping added. (This was what I though it was doing, and the reason why I said you didn't need the host handle).
I had a look at what vkd3d-proton does and indeed it just uses the value of the handle.
Reading through the spec again I've [found](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/PFN_vkDebu...):
The callback must not make calls to any Vulkan commands
I thought that the object may be used from the callback but that's not true. I'll fix this and push a new version. Thanks!