mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Implement d3d12_device_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:
parent
c8e05a93b4
commit
bff7218091
@ -1564,9 +1564,10 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_SetName(ID3D12Device *iface, const
|
|||||||
{
|
{
|
||||||
struct d3d12_device *device = impl_from_ID3D12Device(iface);
|
struct d3d12_device *device = impl_from_ID3D12Device(iface);
|
||||||
|
|
||||||
FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, device->wchar_size));
|
TRACE("iface %p, name %s.\n", iface, debugstr_w(name, device->wchar_size));
|
||||||
|
|
||||||
return E_NOTIMPL;
|
return vkd3d_set_vk_object_name(device, (uint64_t)(uintptr_t)device->vk_device,
|
||||||
|
VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static UINT STDMETHODCALLTYPE d3d12_device_GetNodeCount(ID3D12Device *iface)
|
static UINT STDMETHODCALLTYPE d3d12_device_GetNodeCount(ID3D12Device *iface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user