vkd3d: Implement d3d12_fence_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-31 17:08:06 +08:00 committed by Alexandre Julliard
parent 21b71be40e
commit f181334c54

View File

@ -435,9 +435,9 @@ static HRESULT STDMETHODCALLTYPE d3d12_fence_SetName(ID3D12Fence *iface, const W
{
struct d3d12_fence *fence = impl_from_ID3D12Fence(iface);
FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, fence->device->wchar_size));
TRACE("iface %p, name %s.\n", iface, debugstr_w(name, fence->device->wchar_size));
return E_NOTIMPL;
return name ? S_OK : E_INVALIDARG;
}
static HRESULT STDMETHODCALLTYPE d3d12_fence_GetDevice(ID3D12Fence *iface,