Zhiyi Zhang : vkd3d: Implement d3d12_pipeline_state_SetName().
Alexandre Julliard
julliard at winehq.org
Thu Jan 31 14:45:39 CST 2019
Module: vkd3d
Branch: master
Commit: 225242c0b1120642a30c5da2cee64656d9a1535f
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=225242c0b1120642a30c5da2cee64656d9a1535f
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Thu Jan 31 17:07:28 2019 +0800
vkd3d: Implement d3d12_pipeline_state_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/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,
More information about the wine-cvs
mailing list