Rémi Bernon (@rbernon) commented about dlls/winevulkan/vulkan_thunks.c:
+ out->maxLod = in->maxLod; + out->borderColor = in->borderColor; + out->unnormalizedCoordinates = in->unnormalizedCoordinates; + + for (in_header = (void *)in->pNext; in_header; in_header = (void *)in_header->pNext) + { + switch (in_header->sType) + { + case VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT: + { + VkDebugUtilsObjectNameInfoEXT *out_ext = conversion_context_alloc(ctx, sizeof(*out_ext)); + const VkDebugUtilsObjectNameInfoEXT *in_ext = (const VkDebugUtilsObjectNameInfoEXT *)in_header; + out_ext->sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT; + out_ext->pNext = NULL; + out_ext->objectType = in_ext->objectType; + out_ext->objectHandle = wine_vk_unwrap_handle(in_ext->objectType, in_ext->objectHandle); Probably doesn't need to be resolved here or now, but IIUC this unwrapping is unnecessary, and the objectType and objectHandle fields are supposed to be set to VK_OBJECT_TYPE_UNKNOWN / VK_NULL_HANDLE resp. when in a CreateInfo struct chain, right?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9954#note_127777