2018-02-26 19:42:15 +01:00
|
|
|
/* Automatically generated from Vulkan vk.xml; DO NOT EDIT! */
|
|
|
|
|
|
|
|
#ifndef __WINE_VULKAN_DRIVER_H
|
|
|
|
#define __WINE_VULKAN_DRIVER_H
|
|
|
|
|
|
|
|
/* Wine internal vulkan driver version, needs to be bumped upon vulkan_funcs changes. */
|
2018-03-09 17:48:48 +01:00
|
|
|
#define WINE_VULKAN_DRIVER_VERSION 2
|
2018-02-26 19:42:15 +01:00
|
|
|
|
|
|
|
struct vulkan_funcs
|
|
|
|
{
|
|
|
|
/* Vulkan global functions. These are the only calls at this point a graphics driver
|
|
|
|
* needs to provide. Other function calls will be provided indirectly by dispatch
|
|
|
|
* tables part of dispatchable Vulkan objects such as VkInstance or vkDevice.
|
|
|
|
*/
|
|
|
|
VkResult (*p_vkCreateInstance)(const VkInstanceCreateInfo *, const VkAllocationCallbacks *, VkInstance *);
|
|
|
|
void (*p_vkDestroyInstance)(VkInstance, const VkAllocationCallbacks *);
|
|
|
|
VkResult (*p_vkEnumerateInstanceExtensionProperties)(const char *, uint32_t *, VkExtensionProperties *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void * (*p_vkGetDeviceProcAddr)(VkDevice, const char *);
|
2018-02-26 19:42:15 +01:00
|
|
|
void * (*p_vkGetInstanceProcAddr)(VkInstance, const char *);
|
|
|
|
};
|
|
|
|
|
|
|
|
extern const struct vulkan_funcs * CDECL __wine_get_vulkan_driver(HDC hdc, UINT version);
|
|
|
|
|
|
|
|
#endif /* __WINE_VULKAN_DRIVER_H */
|