vkd3d: Add ID3D12GraphicsCommandList5 interface stub.

This commit is contained in:
Andrey Gusev 2023-10-04 14:11:47 +03:00 committed by Alexandre Julliard
parent 71715cc434
commit 8087cc01f7
Notes: Alexandre Julliard 2023-10-05 22:36:24 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/389
3 changed files with 157 additions and 141 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->ID3D12GraphicsCommandList4_iface,
&IID_ID3D12GraphicsCommandList4, riid, command_list);
return return_interface(&object->ID3D12GraphicsCommandList5_iface,
&IID_ID3D12GraphicsCommandList5, 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
{
ID3D12GraphicsCommandList4 ID3D12GraphicsCommandList4_iface;
ID3D12GraphicsCommandList5 ID3D12GraphicsCommandList5_iface;
LONG refcount;
D3D12_COMMAND_LIST_TYPE type;