[PATCH vkd3d 1/7] vkd3d: Set object names for Vulkan command pools.
Józef Kucia
joseph.kucia at gmail.com
Wed Feb 6 05:38:05 CST 2019
From: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
libs/vkd3d/command.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index 48aa37c81812..65eee1bb7d80 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -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,
--
2.19.2
More information about the wine-devel
mailing list