vkd3d: Set object names for Vulkan command pools.

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:
Józef Kucia 2019-02-06 12:38:05 +01:00 committed by Alexandre Julliard
parent 257ac5c3a1
commit 0641229e0e
1 changed files with 2 additions and 1 deletions

View File

@ -1083,7 +1083,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_allocator_SetName(ID3D12CommandAl
TRACE("iface %p, name %s.\n", iface, debugstr_w(name, allocator->device->wchar_size));
return name ? S_OK : E_INVALIDARG;
return vkd3d_set_vk_object_name(allocator->device, (uint64_t)allocator->vk_command_pool,
VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT, name);
}
static HRESULT STDMETHODCALLTYPE d3d12_command_allocator_GetDevice(ID3D12CommandAllocator *iface,