From c5b5621e2897f3917fd4ab9b5d4b368aaeb372af Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 17 Jan 2024 18:15:59 +0100 Subject: [PATCH] vkd3d: Use debugstr_hresult() in d3d12_pipeline_state_find_and_init_uav_counters(). --- 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 c4afa1ed..fed5c7e2 100644 --- a/libs/vkd3d/state.c +++ b/libs/vkd3d/state.c @@ -2400,7 +2400,7 @@ static HRESULT d3d12_pipeline_state_find_and_init_uav_counters(struct d3d12_pipe } if (FAILED(hr = d3d12_pipeline_state_init_uav_counters(state, device, root_signature, &shader_info, stage_flags))) - WARN("Failed to create descriptor set layout for UAV counters, hr %#x.\n", hr); + WARN("Failed to create descriptor set layout for UAV counters, hr %s.\n", debugstr_hresult(hr)); vkd3d_shader_free_scan_descriptor_info(&shader_info);