vkd3d: Implement d3d12_command_allocator_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-02-01 11:37:30 +08:00 committed by Alexandre Julliard
parent be6ffa6b79
commit 3e955da668

View File

@ -1081,9 +1081,9 @@ 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 name ? S_OK : E_INVALIDARG;
}
static HRESULT STDMETHODCALLTYPE d3d12_command_allocator_GetDevice(ID3D12CommandAllocator *iface,