include/vkd3d_utils: Declare all exported functions.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2019-06-17 15:43:32 +02:00 committed by Alexandre Julliard
parent f723a791d5
commit 7240534abc
3 changed files with 15 additions and 1 deletions

View File

@ -141,7 +141,6 @@ static inline HRESULT demo_create_root_signature(ID3D12Device *device,
#ifdef _WIN32
#include "demo_win32.h"
#else
#include <vkd3d_utils.h>
#define INFINITE VKD3D_INFINITE
#include "demo_xcb.h"
#endif

View File

@ -19,6 +19,7 @@
#define VK_USE_PLATFORM_XCB_KHR
#include <vkd3d.h>
#include <vkd3d_utils.h>
#include <xcb/xcb_event.h>
#include <xcb/xcb_icccm.h>
#include <xcb/xcb_keysyms.h>

View File

@ -19,6 +19,8 @@
#ifndef __VKD3D_UTILS_H
#define __VKD3D_UTILS_H
#include <vkd3d.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@ -34,6 +36,18 @@ HRESULT vkd3d_signal_event(HANDLE event);
unsigned int vkd3d_wait_event(HANDLE event, unsigned int milliseconds);
void vkd3d_destroy_event(HANDLE event);
HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter, D3D_FEATURE_LEVEL feature_level, REFIID iid, void **device);
HRESULT WINAPI D3D12CreateRootSignatureDeserializer(const void *data, SIZE_T data_size, REFIID iid, void **deserializer);
HRESULT WINAPI D3D12GetDebugInterface(REFIID iid, void **debug);
HRESULT WINAPI D3D12SerializeRootSignature(const D3D12_ROOT_SIGNATURE_DESC *desc,
D3D_ROOT_SIGNATURE_VERSION version, ID3DBlob **blob, ID3DBlob **error_blob);
/* 1.2 */
HRESULT WINAPI D3D12CreateVersionedRootSignatureDeserializer(const void *data,
SIZE_T data_size, REFIID iid, void **deserializer);
HRESULT WINAPI D3D12SerializeVersionedRootSignature(const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *desc,
ID3DBlob **blob, ID3DBlob **error_blob);
#ifdef __cplusplus
}
#endif /* __cplusplus */