From b9d0f180a3a65c33e40844e151cf6410a0ca6cef Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 9 Jun 2022 10:22:28 +0530 Subject: [PATCH vkd3d 2/2] include: Add ID3D12SharingContract interface declarations in vkd3d_d3d12sdklayers.idl. Signed-off-by: Biswapriyo Nath --- include/vkd3d_d3d12sdklayers.idl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/include/vkd3d_d3d12sdklayers.idl b/include/vkd3d_d3d12sdklayers.idl index 194cce0..78f18c5 100644 --- a/include/vkd3d_d3d12sdklayers.idl +++ b/include/vkd3d_d3d12sdklayers.idl @@ -1087,6 +1087,20 @@ interface ID3D12DebugDevice2 : ID3D12DebugDevice HRESULT GetDebugParameter(D3D12_DEBUG_DEVICE_PARAMETER_TYPE type, void *data, UINT size); } +[ + uuid(0adf7d52-929c-4e61-addb-ffed30de66ef), + object, + local, + pointer_default(unique) +] +interface ID3D12SharingContract : IUnknown +{ + void Present(ID3D12Resource *resource, UINT sub_resource, HWND window); + void SharedFenceSignal(ID3D12Fence *fence, UINT64 fence_value); + void BeginCapturableWork(REFGUID guid); + void EndCapturableWork(REFGUID guid); +} + [ uuid(0742a90b-c387-483f-b946-30a7e4e61458), object, -- 2.36.1