vkd3d: Add ID3D12GraphicsCommandList4 interface stub.

This commit is contained in:
Andrey Gusev 2023-10-02 12:55:34 +03:00 committed by Alexandre Julliard
parent d10e94d8d5
commit 679203f717
Notes: Alexandre Julliard 2023-10-03 21:40:44 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/386
3 changed files with 206 additions and 132 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2667,8 +2667,8 @@ static HRESULT STDMETHODCALLTYPE d3d12_device_CreateCommandList(ID3D12Device5 *i
initial_pipeline_state, &object)))
return hr;
return return_interface(&object->ID3D12GraphicsCommandList3_iface,
&IID_ID3D12GraphicsCommandList3, riid, command_list);
return return_interface(&object->ID3D12GraphicsCommandList4_iface,
&IID_ID3D12GraphicsCommandList4, riid, command_list);
}
/* Direct3D feature levels restrict which formats can be optionally supported. */

View File

@ -1429,7 +1429,7 @@ enum vkd3d_pipeline_bind_point
/* ID3D12CommandList */
struct d3d12_command_list
{
ID3D12GraphicsCommandList3 ID3D12GraphicsCommandList3_iface;
ID3D12GraphicsCommandList4 ID3D12GraphicsCommandList4_iface;
LONG refcount;
D3D12_COMMAND_LIST_TYPE type;