mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
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:
parent
694e5c865b
commit
b7fbac1c09
@ -1641,6 +1641,12 @@ typedef struct D3D12_COMPUTE_PIPELINE_STATE_DESC
|
|||||||
D3D12_PIPELINE_STATE_FLAGS Flags;
|
D3D12_PIPELINE_STATE_FLAGS Flags;
|
||||||
} D3D12_COMPUTE_PIPELINE_STATE_DESC;
|
} 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
|
typedef enum D3D12_COMMAND_LIST_TYPE
|
||||||
{
|
{
|
||||||
D3D12_COMMAND_LIST_TYPE_DIRECT = 0,
|
D3D12_COMMAND_LIST_TYPE_DIRECT = 0,
|
||||||
@ -2538,6 +2544,20 @@ interface ID3D12Device1 : ID3D12Device
|
|||||||
const D3D12_RESIDENCY_PRIORITY *priorities);
|
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),
|
uuid(34ab647b-3cc8-46ac-841b-c0965645c046),
|
||||||
object,
|
object,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user