vkd3d: Use debugstr_hresult() in vkd3d_create_compute_pipeline().

This commit is contained in:
Henri Verbeet 2024-01-17 17:57:55 +01:00 committed by Alexandre Julliard
parent eabcaf15fb
commit 9c1e661ae3
Notes: Alexandre Julliard 2024-01-24 22:56:11 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/597

View File

@ -2272,7 +2272,7 @@ static HRESULT vkd3d_create_compute_pipeline(struct d3d12_device *device,
VK_CALL(vkDestroyShaderModule(device->vk_device, pipeline_info.stage.module, NULL));
if (vr < 0)
{
WARN("Failed to create Vulkan compute pipeline, hr %#x.\n", hr);
WARN("Failed to create Vulkan compute pipeline, hr %s.\n", debugstr_hresult(hr));
return hresult_from_vk_result(vr);
}