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

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. */