radv: Add winsys functions for timeline syncobj.
[mesa.git] / include / vulkan / vulkan_vi.h
1 #ifndef VULKAN_VI_H_
2 #define VULKAN_VI_H_ 1
3
4 /*
5 ** Copyright (c) 2015-2020 The Khronos Group Inc.
6 **
7 ** SPDX-License-Identifier: Apache-2.0
8 */
9
10 /*
11 ** This header is generated from the Khronos Vulkan XML API Registry.
12 **
13 */
14
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20
21
22 #define VK_NN_vi_surface 1
23 #define VK_NN_VI_SURFACE_SPEC_VERSION 1
24 #define VK_NN_VI_SURFACE_EXTENSION_NAME "VK_NN_vi_surface"
25 typedef VkFlags VkViSurfaceCreateFlagsNN;
26 typedef struct VkViSurfaceCreateInfoNN {
27 VkStructureType sType;
28 const void* pNext;
29 VkViSurfaceCreateFlagsNN flags;
30 void* window;
31 } VkViSurfaceCreateInfoNN;
32
33 typedef VkResult (VKAPI_PTR *PFN_vkCreateViSurfaceNN)(VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
34
35 #ifndef VK_NO_PROTOTYPES
36 VKAPI_ATTR VkResult VKAPI_CALL vkCreateViSurfaceNN(
37 VkInstance instance,
38 const VkViSurfaceCreateInfoNN* pCreateInfo,
39 const VkAllocationCallbacks* pAllocator,
40 VkSurfaceKHR* pSurface);
41 #endif
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif