Zhiyi Zhang : vkd3d: Implement d3d12_command_list_SetName().

Alexandre Julliard julliard at winehq.org
Tue Feb 5 15:58:12 CST 2019


Module: vkd3d
Branch: master
Commit: be6ffa6b79b0d5dd1007549eae8fe3fb5704b267
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=be6ffa6b79b0d5dd1007549eae8fe3fb5704b267

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Fri Feb  1 11:36:59 2019 +0800

vkd3d: Implement d3d12_command_list_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/command.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/vkd3d/command.c b/libs/vkd3d/command.c
index 9af1ec9..abee0e2 100644
--- a/libs/vkd3d/command.c
+++ b/libs/vkd3d/command.c
@@ -1694,9 +1694,9 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_list_SetName(ID3D12GraphicsComman
 {
     struct d3d12_command_list *list = impl_from_ID3D12GraphicsCommandList(iface);
 
-    FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, list->device->wchar_size));
+    TRACE("iface %p, name %s.\n", iface, debugstr_w(name, list->device->wchar_size));
 
-    return E_NOTIMPL;
+    return name ? S_OK : E_INVALIDARG;
 }
 
 static HRESULT STDMETHODCALLTYPE d3d12_command_list_GetDevice(ID3D12GraphicsCommandList *iface,




More information about the wine-cvs mailing list