mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Set object names for Vulkan compute pipelines.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0055aa67f1
commit
257ac5c3a1
@ -1195,6 +1195,12 @@ static HRESULT STDMETHODCALLTYPE d3d12_pipeline_state_SetName(ID3D12PipelineStat
|
||||
|
||||
TRACE("iface %p, name %s.\n", iface, debugstr_w(name, state->device->wchar_size));
|
||||
|
||||
if (d3d12_pipeline_state_is_compute(state))
|
||||
{
|
||||
return vkd3d_set_vk_object_name(state->device, (uint64_t)state->u.compute.vk_pipeline,
|
||||
VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, name);
|
||||
}
|
||||
|
||||
return name ? S_OK : E_INVALIDARG;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user