vkd3d: Ignore redundant SetPipelineState() calls.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-03-19 14:40:59 +01:00 committed by Alexandre Julliard
parent f3c9229cc3
commit 3a3bc772b1

View File

@ -3110,6 +3110,9 @@ static void STDMETHODCALLTYPE d3d12_command_list_SetPipelineState(ID3D12Graphics
TRACE("iface %p, pipeline_state %p.\n", iface, pipeline_state);
if (list->state == state)
return;
vk_procs = &list->device->vk_procs;
d3d12_command_list_invalidate_bindings(list, state);