24 lines
1.0 KiB
C
24 lines
1.0 KiB
C
/* 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. */
|
|
#define WINE_VULKAN_DRIVER_VERSION 1
|
|
|
|
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 *);
|
|
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 */
|