[PATCH vkd3d 07/10] vkd3d: Implement d3d12_command_allocator_SetName().
Zhiyi Zhang
zzhang at codeweavers.com
Thu Jan 31 01:33:55 CST 2019
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
libs/vkd3d/command.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index f05b40c..1010b09 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -1081,9 +1081,10 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_allocator_SetName(ID3D12CommandAl
{
struct d3d12_command_allocator *allocator = impl_from_ID3D12CommandAllocator(iface);
- FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, allocator->device->wchar_size));
+ TRACE("iface %p, name %s.\n", iface, debugstr_w(name, allocator->device->wchar_size));
- return E_NOTIMPL;
+ 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.20.1
More information about the wine-devel
mailing list