vkd3d: Change to void the return type for ID3D12GraphicsCommandList::ClearState().

ClearState() does not return a value.

Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Conor McCarthy 2021-09-04 00:58:55 +10:00 committed by Alexandre Julliard
parent eb3d8c911c
commit 2ed344a5f0
2 changed files with 2 additions and 4 deletions

View File

@ -2052,7 +2052,7 @@ interface ID3D12GraphicsCommandList : ID3D12CommandList
HRESULT Reset(ID3D12CommandAllocator *allocator, ID3D12PipelineState *initial_state); HRESULT Reset(ID3D12CommandAllocator *allocator, ID3D12PipelineState *initial_state);
HRESULT ClearState(ID3D12PipelineState *pipeline_state); void ClearState(ID3D12PipelineState *pipeline_state);
void DrawInstanced(UINT vertex_count_per_instance, UINT instance_count, void DrawInstanced(UINT vertex_count_per_instance, UINT instance_count,
UINT start_vertex_location, UINT start_instance_location); UINT start_vertex_location, UINT start_instance_location);

View File

@ -2398,12 +2398,10 @@ static HRESULT STDMETHODCALLTYPE d3d12_command_list_Reset(ID3D12GraphicsCommandL
return hr; return hr;
} }
static HRESULT STDMETHODCALLTYPE d3d12_command_list_ClearState(ID3D12GraphicsCommandList2 *iface, static void STDMETHODCALLTYPE d3d12_command_list_ClearState(ID3D12GraphicsCommandList2 *iface,
ID3D12PipelineState *pipeline_state) ID3D12PipelineState *pipeline_state)
{ {
FIXME("iface %p, pipline_state %p stub!\n", iface, pipeline_state); FIXME("iface %p, pipline_state %p stub!\n", iface, pipeline_state);
return E_NOTIMPL;
} }
static bool d3d12_command_list_has_depth_stencil_view(struct d3d12_command_list *list) static bool d3d12_command_list_has_depth_stencil_view(struct d3d12_command_list *list)