vkd3d: Use debugstr_hresult() in d3d12_pipeline_state_init_compute().

This commit is contained in:
Henri Verbeet 2024-01-17 18:18:14 +01:00 committed by Alexandre Julliard
parent c5b5621e28
commit 1599de9a0d
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

@ -2474,7 +2474,7 @@ static HRESULT d3d12_pipeline_state_init_compute(struct d3d12_pipeline_state *st
if (FAILED(hr = vkd3d_create_compute_pipeline(device, &desc->cs, &shader_interface,
vk_pipeline_layout, &state->u.compute.vk_pipeline)))
{
WARN("Failed to create Vulkan compute pipeline, hr %#x.\n", hr);
WARN("Failed to create Vulkan compute pipeline, hr %s.\n", debugstr_hresult(hr));
d3d12_pipeline_uav_counter_state_cleanup(&state->uav_counters, device);
return hr;
}