vkd3d: Implement d3d12_heap_SetName().

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2019-01-30 00:44:33 +03:30 committed by Alexandre Julliard
parent 875577bb89
commit 1372bebc86

View File

@ -192,9 +192,10 @@ static HRESULT STDMETHODCALLTYPE d3d12_heap_SetName(ID3D12Heap *iface, const WCH
{
struct d3d12_heap *heap = impl_from_ID3D12Heap(iface);
FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, heap->device->wchar_size));
TRACE("iface %p, name %s.\n", iface, debugstr_w(name, heap->device->wchar_size));
return E_NOTIMPL;
return vkd3d_set_vk_object_name(heap->device, (uint64_t)heap->vk_memory,
VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT, name);
}
static HRESULT STDMETHODCALLTYPE d3d12_heap_GetDevice(ID3D12Heap *iface,