[PATCH vkd3d 02/10] vkd3d: Implement d3d12_pipeline_state_SetName().

Zhiyi Zhang zzhang at codeweavers.com
Thu Jan 31 01:32:41 CST 2019


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 libs/vkd3d/state.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c
index 08f2f3c..c419997 100644
--- a/libs/vkd3d/state.c
+++ b/libs/vkd3d/state.c
@@ -1195,9 +1195,9 @@ static HRESULT STDMETHODCALLTYPE d3d12_pipeline_state_SetName(ID3D12PipelineStat
 {
     struct d3d12_pipeline_state *state = impl_from_ID3D12PipelineState(iface);
 
-    FIXME("iface %p, name %s stub!\n", iface, debugstr_w(name, state->device->wchar_size));
+    TRACE("iface %p, name %s.\n", iface, debugstr_w(name, state->device->wchar_size));
 
-    return E_NOTIMPL;
+    return name ? S_OK : E_INVALIDARG;
 }
 
 static HRESULT STDMETHODCALLTYPE d3d12_pipeline_state_GetDevice(ID3D12PipelineState *iface,
-- 
2.20.1





More information about the wine-devel mailing list