vkd3d: Update command list to ID3D12GraphicsCommandList1.

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-07 11:01:15 +01:00
committed by Alexandre Julliard
parent d0f8443ac5
commit f1bfb1305e
4 changed files with 242 additions and 129 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1745,8 +1745,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CreateCommandList(ID3D12Device *if
initial_pipeline_state, &object)))
return hr;
return return_interface(&object->ID3D12GraphicsCommandList_iface,
&IID_ID3D12GraphicsCommandList, riid, command_list);
return return_interface(&object->ID3D12GraphicsCommandList1_iface,
&IID_ID3D12GraphicsCommandList1, riid, command_list);
}
/* Direct3D feature levels restrict which formats can be optionally supported. */

View File

@@ -778,7 +778,7 @@ struct vkd3d_pipeline_bindings
/* ID3D12CommandList */
struct d3d12_command_list
{
ID3D12GraphicsCommandList ID3D12GraphicsCommandList_iface;
ID3D12GraphicsCommandList1 ID3D12GraphicsCommandList1_iface;
LONG refcount;
D3D12_COMMAND_LIST_TYPE type;