include: Add an #include of d3d12sdklayers.h in vkd3d_d3d12.idl.

This matches what is done in the upstream headers; end users
including d3d12.h don't need to explicitly include d3d12sdklayers.h.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2023-09-27 14:41:20 +03:00 committed by Alexandre Julliard
parent 8e0fe29bfc
commit e44a1927e5
Notes: Alexandre Julliard 2023-09-27 22:59:55 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/373

View File

@ -5083,6 +5083,10 @@ interface ID3D12GraphicsCommandList7 : ID3D12GraphicsCommandList6
const D3D12_BARRIER_GROUP *barrier_groups); const D3D12_BARRIER_GROUP *barrier_groups);
}; };
cpp_quote("#ifndef D3D12_IGNORE_SDK_LAYERS")
cpp_quote("#include \"vkd3d_d3d12sdklayers.h\"")
cpp_quote("#endif")
typedef HRESULT (__stdcall *PFN_D3D12_CREATE_ROOT_SIGNATURE_DESERIALIZER)( typedef HRESULT (__stdcall *PFN_D3D12_CREATE_ROOT_SIGNATURE_DESERIALIZER)(
const void *data, SIZE_T data_size, REFIID iid, void **deserializer); const void *data, SIZE_T data_size, REFIID iid, void **deserializer);