Zhiyi Zhang : vkd3d: Implement d3d12_descriptor_heap_SetName().
Alexandre Julliard
julliard at winehq.org
Thu Jan 31 14:45:39 CST 2019
Module: vkd3d
Branch: master
Commit: 3718e471331893f81a2be16b7cd0a20a3f45fd96
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=3718e471331893f81a2be16b7cd0a20a3f45fd96
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Thu Jan 31 17:07:10 2019 +0800
vkd3d: Implement d3d12_descriptor_heap_SetName().
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d/resource.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/vkd3d/resource.c b/libs/vkd3d/resource.c
index ced232d..34f558d 100644
--- a/libs/vkd3d/resource.c
+++ b/libs/vkd3d/resource.c
@@ -2514,9 +2514,9 @@ static HRESULT STDMETHODCALLTYPE d3d12_descriptor_heap_SetName(ID3D12DescriptorH
{
struct d3d12_descriptor_heap *heap = impl_from_ID3D12DescriptorHeap(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 name ? S_OK : E_INVALIDARG;
}
static HRESULT STDMETHODCALLTYPE d3d12_descriptor_heap_GetDevice(ID3D12DescriptorHeap *iface,
More information about the wine-cvs
mailing list