mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
include: Add the ID3D12PipelineLibrary{,1} interfaces.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
e847df9528
commit
fffdb76b33
Notes:
Alexandre Julliard
2023-09-13 23:18:09 +02:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/332
@ -3080,6 +3080,42 @@ interface ID3D12Device : ID3D12Object
|
|||||||
LUID GetAdapterLuid();
|
LUID GetAdapterLuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
uuid(c64226a8-9201-46af-b4cc-53fb9ff7414f),
|
||||||
|
object,
|
||||||
|
local,
|
||||||
|
pointer_default(unique)
|
||||||
|
]
|
||||||
|
interface ID3D12PipelineLibrary : ID3D12DeviceChild
|
||||||
|
{
|
||||||
|
HRESULT StorePipeline(const WCHAR *name, ID3D12PipelineState *pipeline);
|
||||||
|
|
||||||
|
HRESULT LoadGraphicsPipeline(const WCHAR *name,
|
||||||
|
const D3D12_GRAPHICS_PIPELINE_STATE_DESC *desc, REFIID riid,
|
||||||
|
void **pipeline_state);
|
||||||
|
|
||||||
|
HRESULT LoadComputePipeline(const WCHAR *name,
|
||||||
|
const D3D12_COMPUTE_PIPELINE_STATE_DESC *desc, REFIID riid,
|
||||||
|
void **pipeline_state);
|
||||||
|
|
||||||
|
SIZE_T GetSerializedSize();
|
||||||
|
|
||||||
|
HRESULT Serialize(void *data, SIZE_T data_size_in_bytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
[
|
||||||
|
uuid(80eabf42-2568-4e5e-bd82-c37f86961dc3),
|
||||||
|
object,
|
||||||
|
local,
|
||||||
|
pointer_default(unique)
|
||||||
|
]
|
||||||
|
interface ID3D12PipelineLibrary1 : ID3D12PipelineLibrary
|
||||||
|
{
|
||||||
|
HRESULT LoadPipeline(const WCHAR *name,
|
||||||
|
const D3D12_PIPELINE_STATE_STREAM_DESC *desc, REFIID riid,
|
||||||
|
void **pipeline_state);
|
||||||
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
uuid(77acce80-638e-4e65-8895-c1f23386863e),
|
uuid(77acce80-638e-4e65-8895-c1f23386863e),
|
||||||
object,
|
object,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user