Module: vkd3d Branch: master Commit: 1599de9a0d77557d4543f7544bd9a4fbe5abc2f9 URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/1599de9a0d77557d4543f7544bd9a4...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Jan 17 18:18:14 2024 +0100
vkd3d: Use debugstr_hresult() in d3d12_pipeline_state_init_compute().
---
libs/vkd3d/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c index fed5c7e2..2b9d24ba 100644 --- a/libs/vkd3d/state.c +++ b/libs/vkd3d/state.c @@ -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; }