include: Add ID3D12Device2 declaration in vkd3d_d3d12.idl.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2022-06-09 18:50:36 +05:30 committed by Alexandre Julliard
parent 694e5c865b
commit b7fbac1c09

View File

@ -1641,6 +1641,12 @@ typedef struct D3D12_COMPUTE_PIPELINE_STATE_DESC
D3D12_PIPELINE_STATE_FLAGS Flags;
} D3D12_COMPUTE_PIPELINE_STATE_DESC;
typedef struct D3D12_PIPELINE_STATE_STREAM_DESC
{
SIZE_T SizeInBytes;
void *pPipelineStateSubobjectStream;
} D3D12_PIPELINE_STATE_STREAM_DESC;
typedef enum D3D12_COMMAND_LIST_TYPE
{
D3D12_COMMAND_LIST_TYPE_DIRECT = 0,
@ -2538,6 +2544,20 @@ interface ID3D12Device1 : ID3D12Device
const D3D12_RESIDENCY_PRIORITY *priorities);
}
[
uuid(30baa41e-b15b-475c-a0bb-1af5c5b64328),
object,
local,
pointer_default(unique)
]
interface ID3D12Device2 : ID3D12Device1
{
HRESULT CreatePipelineState(
[in] const D3D12_PIPELINE_STATE_STREAM_DESC *desc,
[in] REFIID riid,
[out, iid_is(riid)] void **pipeline_state);
}
[
uuid(34ab647b-3cc8-46ac-841b-c0965645c046),
object,