1 /*
2 * Copyright 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 // This file is generated.
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 #include "vulkan_wrapper.h"
22 #include <dlfcn.h>
23
InitVulkan(void)24 int InitVulkan(void) {
25 void* libvulkan = dlopen("libvulkan.so", RTLD_NOW | RTLD_LOCAL);
26 if (!libvulkan) return 0;
27
28 // Vulkan supported, set function addresses
29 vkCreateInstance = reinterpret_cast<PFN_vkCreateInstance>(dlsym(libvulkan, "vkCreateInstance"));
30 vkDestroyInstance = reinterpret_cast<PFN_vkDestroyInstance>(dlsym(libvulkan, "vkDestroyInstance"));
31 vkEnumeratePhysicalDevices = reinterpret_cast<PFN_vkEnumeratePhysicalDevices>(dlsym(libvulkan, "vkEnumeratePhysicalDevices"));
32 vkGetPhysicalDeviceFeatures =
33 reinterpret_cast<PFN_vkGetPhysicalDeviceFeatures>(dlsym(libvulkan, "vkGetPhysicalDeviceFeatures"));
34 vkGetPhysicalDeviceFormatProperties =
35 reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties>(dlsym(libvulkan, "vkGetPhysicalDeviceFormatProperties"));
36 vkGetPhysicalDeviceImageFormatProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceImageFormatProperties>(
37 dlsym(libvulkan, "vkGetPhysicalDeviceImageFormatProperties"));
38 vkGetPhysicalDeviceProperties =
39 reinterpret_cast<PFN_vkGetPhysicalDeviceProperties>(dlsym(libvulkan, "vkGetPhysicalDeviceProperties"));
40 vkGetPhysicalDeviceQueueFamilyProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceQueueFamilyProperties>(
41 dlsym(libvulkan, "vkGetPhysicalDeviceQueueFamilyProperties"));
42 vkGetPhysicalDeviceMemoryProperties =
43 reinterpret_cast<PFN_vkGetPhysicalDeviceMemoryProperties>(dlsym(libvulkan, "vkGetPhysicalDeviceMemoryProperties"));
44 vkGetInstanceProcAddr = reinterpret_cast<PFN_vkGetInstanceProcAddr>(dlsym(libvulkan, "vkGetInstanceProcAddr"));
45 vkGetDeviceProcAddr = reinterpret_cast<PFN_vkGetDeviceProcAddr>(dlsym(libvulkan, "vkGetDeviceProcAddr"));
46 vkCreateDevice = reinterpret_cast<PFN_vkCreateDevice>(dlsym(libvulkan, "vkCreateDevice"));
47 vkDestroyDevice = reinterpret_cast<PFN_vkDestroyDevice>(dlsym(libvulkan, "vkDestroyDevice"));
48 vkEnumerateInstanceExtensionProperties =
49 reinterpret_cast<PFN_vkEnumerateInstanceExtensionProperties>(dlsym(libvulkan, "vkEnumerateInstanceExtensionProperties"));
50 vkEnumerateDeviceExtensionProperties =
51 reinterpret_cast<PFN_vkEnumerateDeviceExtensionProperties>(dlsym(libvulkan, "vkEnumerateDeviceExtensionProperties"));
52 vkEnumerateInstanceLayerProperties =
53 reinterpret_cast<PFN_vkEnumerateInstanceLayerProperties>(dlsym(libvulkan, "vkEnumerateInstanceLayerProperties"));
54 vkEnumerateDeviceLayerProperties =
55 reinterpret_cast<PFN_vkEnumerateDeviceLayerProperties>(dlsym(libvulkan, "vkEnumerateDeviceLayerProperties"));
56 vkGetDeviceQueue = reinterpret_cast<PFN_vkGetDeviceQueue>(dlsym(libvulkan, "vkGetDeviceQueue"));
57 vkQueueSubmit = reinterpret_cast<PFN_vkQueueSubmit>(dlsym(libvulkan, "vkQueueSubmit"));
58 vkQueueWaitIdle = reinterpret_cast<PFN_vkQueueWaitIdle>(dlsym(libvulkan, "vkQueueWaitIdle"));
59 vkDeviceWaitIdle = reinterpret_cast<PFN_vkDeviceWaitIdle>(dlsym(libvulkan, "vkDeviceWaitIdle"));
60 vkAllocateMemory = reinterpret_cast<PFN_vkAllocateMemory>(dlsym(libvulkan, "vkAllocateMemory"));
61 vkFreeMemory = reinterpret_cast<PFN_vkFreeMemory>(dlsym(libvulkan, "vkFreeMemory"));
62 vkMapMemory = reinterpret_cast<PFN_vkMapMemory>(dlsym(libvulkan, "vkMapMemory"));
63 vkUnmapMemory = reinterpret_cast<PFN_vkUnmapMemory>(dlsym(libvulkan, "vkUnmapMemory"));
64 vkFlushMappedMemoryRanges = reinterpret_cast<PFN_vkFlushMappedMemoryRanges>(dlsym(libvulkan, "vkFlushMappedMemoryRanges"));
65 vkInvalidateMappedMemoryRanges =
66 reinterpret_cast<PFN_vkInvalidateMappedMemoryRanges>(dlsym(libvulkan, "vkInvalidateMappedMemoryRanges"));
67 vkGetDeviceMemoryCommitment =
68 reinterpret_cast<PFN_vkGetDeviceMemoryCommitment>(dlsym(libvulkan, "vkGetDeviceMemoryCommitment"));
69 vkBindBufferMemory = reinterpret_cast<PFN_vkBindBufferMemory>(dlsym(libvulkan, "vkBindBufferMemory"));
70 vkBindImageMemory = reinterpret_cast<PFN_vkBindImageMemory>(dlsym(libvulkan, "vkBindImageMemory"));
71 vkGetBufferMemoryRequirements =
72 reinterpret_cast<PFN_vkGetBufferMemoryRequirements>(dlsym(libvulkan, "vkGetBufferMemoryRequirements"));
73 vkGetImageMemoryRequirements =
74 reinterpret_cast<PFN_vkGetImageMemoryRequirements>(dlsym(libvulkan, "vkGetImageMemoryRequirements"));
75 vkGetImageSparseMemoryRequirements =
76 reinterpret_cast<PFN_vkGetImageSparseMemoryRequirements>(dlsym(libvulkan, "vkGetImageSparseMemoryRequirements"));
77 vkGetPhysicalDeviceSparseImageFormatProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceSparseImageFormatProperties>(
78 dlsym(libvulkan, "vkGetPhysicalDeviceSparseImageFormatProperties"));
79 vkQueueBindSparse = reinterpret_cast<PFN_vkQueueBindSparse>(dlsym(libvulkan, "vkQueueBindSparse"));
80 vkCreateFence = reinterpret_cast<PFN_vkCreateFence>(dlsym(libvulkan, "vkCreateFence"));
81 vkDestroyFence = reinterpret_cast<PFN_vkDestroyFence>(dlsym(libvulkan, "vkDestroyFence"));
82 vkResetFences = reinterpret_cast<PFN_vkResetFences>(dlsym(libvulkan, "vkResetFences"));
83 vkGetFenceStatus = reinterpret_cast<PFN_vkGetFenceStatus>(dlsym(libvulkan, "vkGetFenceStatus"));
84 vkWaitForFences = reinterpret_cast<PFN_vkWaitForFences>(dlsym(libvulkan, "vkWaitForFences"));
85 vkCreateSemaphore = reinterpret_cast<PFN_vkCreateSemaphore>(dlsym(libvulkan, "vkCreateSemaphore"));
86 vkDestroySemaphore = reinterpret_cast<PFN_vkDestroySemaphore>(dlsym(libvulkan, "vkDestroySemaphore"));
87 vkCreateEvent = reinterpret_cast<PFN_vkCreateEvent>(dlsym(libvulkan, "vkCreateEvent"));
88 vkDestroyEvent = reinterpret_cast<PFN_vkDestroyEvent>(dlsym(libvulkan, "vkDestroyEvent"));
89 vkGetEventStatus = reinterpret_cast<PFN_vkGetEventStatus>(dlsym(libvulkan, "vkGetEventStatus"));
90 vkSetEvent = reinterpret_cast<PFN_vkSetEvent>(dlsym(libvulkan, "vkSetEvent"));
91 vkResetEvent = reinterpret_cast<PFN_vkResetEvent>(dlsym(libvulkan, "vkResetEvent"));
92 vkCreateQueryPool = reinterpret_cast<PFN_vkCreateQueryPool>(dlsym(libvulkan, "vkCreateQueryPool"));
93 vkDestroyQueryPool = reinterpret_cast<PFN_vkDestroyQueryPool>(dlsym(libvulkan, "vkDestroyQueryPool"));
94 vkGetQueryPoolResults = reinterpret_cast<PFN_vkGetQueryPoolResults>(dlsym(libvulkan, "vkGetQueryPoolResults"));
95 vkCreateBuffer = reinterpret_cast<PFN_vkCreateBuffer>(dlsym(libvulkan, "vkCreateBuffer"));
96 vkDestroyBuffer = reinterpret_cast<PFN_vkDestroyBuffer>(dlsym(libvulkan, "vkDestroyBuffer"));
97 vkCreateBufferView = reinterpret_cast<PFN_vkCreateBufferView>(dlsym(libvulkan, "vkCreateBufferView"));
98 vkDestroyBufferView = reinterpret_cast<PFN_vkDestroyBufferView>(dlsym(libvulkan, "vkDestroyBufferView"));
99 vkCreateImage = reinterpret_cast<PFN_vkCreateImage>(dlsym(libvulkan, "vkCreateImage"));
100 vkDestroyImage = reinterpret_cast<PFN_vkDestroyImage>(dlsym(libvulkan, "vkDestroyImage"));
101 vkGetImageSubresourceLayout =
102 reinterpret_cast<PFN_vkGetImageSubresourceLayout>(dlsym(libvulkan, "vkGetImageSubresourceLayout"));
103 vkCreateImageView = reinterpret_cast<PFN_vkCreateImageView>(dlsym(libvulkan, "vkCreateImageView"));
104 vkDestroyImageView = reinterpret_cast<PFN_vkDestroyImageView>(dlsym(libvulkan, "vkDestroyImageView"));
105 vkCreateShaderModule = reinterpret_cast<PFN_vkCreateShaderModule>(dlsym(libvulkan, "vkCreateShaderModule"));
106 vkDestroyShaderModule = reinterpret_cast<PFN_vkDestroyShaderModule>(dlsym(libvulkan, "vkDestroyShaderModule"));
107 vkCreatePipelineCache = reinterpret_cast<PFN_vkCreatePipelineCache>(dlsym(libvulkan, "vkCreatePipelineCache"));
108 vkDestroyPipelineCache = reinterpret_cast<PFN_vkDestroyPipelineCache>(dlsym(libvulkan, "vkDestroyPipelineCache"));
109 vkGetPipelineCacheData = reinterpret_cast<PFN_vkGetPipelineCacheData>(dlsym(libvulkan, "vkGetPipelineCacheData"));
110 vkMergePipelineCaches = reinterpret_cast<PFN_vkMergePipelineCaches>(dlsym(libvulkan, "vkMergePipelineCaches"));
111 vkCreateGraphicsPipelines = reinterpret_cast<PFN_vkCreateGraphicsPipelines>(dlsym(libvulkan, "vkCreateGraphicsPipelines"));
112 vkCreateComputePipelines = reinterpret_cast<PFN_vkCreateComputePipelines>(dlsym(libvulkan, "vkCreateComputePipelines"));
113 vkDestroyPipeline = reinterpret_cast<PFN_vkDestroyPipeline>(dlsym(libvulkan, "vkDestroyPipeline"));
114 vkCreatePipelineLayout = reinterpret_cast<PFN_vkCreatePipelineLayout>(dlsym(libvulkan, "vkCreatePipelineLayout"));
115 vkDestroyPipelineLayout = reinterpret_cast<PFN_vkDestroyPipelineLayout>(dlsym(libvulkan, "vkDestroyPipelineLayout"));
116 vkCreateSampler = reinterpret_cast<PFN_vkCreateSampler>(dlsym(libvulkan, "vkCreateSampler"));
117 vkDestroySampler = reinterpret_cast<PFN_vkDestroySampler>(dlsym(libvulkan, "vkDestroySampler"));
118 vkCreateDescriptorSetLayout =
119 reinterpret_cast<PFN_vkCreateDescriptorSetLayout>(dlsym(libvulkan, "vkCreateDescriptorSetLayout"));
120 vkDestroyDescriptorSetLayout =
121 reinterpret_cast<PFN_vkDestroyDescriptorSetLayout>(dlsym(libvulkan, "vkDestroyDescriptorSetLayout"));
122 vkCreateDescriptorPool = reinterpret_cast<PFN_vkCreateDescriptorPool>(dlsym(libvulkan, "vkCreateDescriptorPool"));
123 vkDestroyDescriptorPool = reinterpret_cast<PFN_vkDestroyDescriptorPool>(dlsym(libvulkan, "vkDestroyDescriptorPool"));
124 vkResetDescriptorPool = reinterpret_cast<PFN_vkResetDescriptorPool>(dlsym(libvulkan, "vkResetDescriptorPool"));
125 vkAllocateDescriptorSets = reinterpret_cast<PFN_vkAllocateDescriptorSets>(dlsym(libvulkan, "vkAllocateDescriptorSets"));
126 vkFreeDescriptorSets = reinterpret_cast<PFN_vkFreeDescriptorSets>(dlsym(libvulkan, "vkFreeDescriptorSets"));
127 vkUpdateDescriptorSets = reinterpret_cast<PFN_vkUpdateDescriptorSets>(dlsym(libvulkan, "vkUpdateDescriptorSets"));
128 vkCreateFramebuffer = reinterpret_cast<PFN_vkCreateFramebuffer>(dlsym(libvulkan, "vkCreateFramebuffer"));
129 vkDestroyFramebuffer = reinterpret_cast<PFN_vkDestroyFramebuffer>(dlsym(libvulkan, "vkDestroyFramebuffer"));
130 vkCreateRenderPass = reinterpret_cast<PFN_vkCreateRenderPass>(dlsym(libvulkan, "vkCreateRenderPass"));
131 vkDestroyRenderPass = reinterpret_cast<PFN_vkDestroyRenderPass>(dlsym(libvulkan, "vkDestroyRenderPass"));
132 vkGetRenderAreaGranularity = reinterpret_cast<PFN_vkGetRenderAreaGranularity>(dlsym(libvulkan, "vkGetRenderAreaGranularity"));
133 vkCreateCommandPool = reinterpret_cast<PFN_vkCreateCommandPool>(dlsym(libvulkan, "vkCreateCommandPool"));
134 vkDestroyCommandPool = reinterpret_cast<PFN_vkDestroyCommandPool>(dlsym(libvulkan, "vkDestroyCommandPool"));
135 vkResetCommandPool = reinterpret_cast<PFN_vkResetCommandPool>(dlsym(libvulkan, "vkResetCommandPool"));
136 vkAllocateCommandBuffers = reinterpret_cast<PFN_vkAllocateCommandBuffers>(dlsym(libvulkan, "vkAllocateCommandBuffers"));
137 vkFreeCommandBuffers = reinterpret_cast<PFN_vkFreeCommandBuffers>(dlsym(libvulkan, "vkFreeCommandBuffers"));
138 vkBeginCommandBuffer = reinterpret_cast<PFN_vkBeginCommandBuffer>(dlsym(libvulkan, "vkBeginCommandBuffer"));
139 vkEndCommandBuffer = reinterpret_cast<PFN_vkEndCommandBuffer>(dlsym(libvulkan, "vkEndCommandBuffer"));
140 vkResetCommandBuffer = reinterpret_cast<PFN_vkResetCommandBuffer>(dlsym(libvulkan, "vkResetCommandBuffer"));
141 vkCmdBindPipeline = reinterpret_cast<PFN_vkCmdBindPipeline>(dlsym(libvulkan, "vkCmdBindPipeline"));
142 vkCmdSetViewport = reinterpret_cast<PFN_vkCmdSetViewport>(dlsym(libvulkan, "vkCmdSetViewport"));
143 vkCmdSetScissor = reinterpret_cast<PFN_vkCmdSetScissor>(dlsym(libvulkan, "vkCmdSetScissor"));
144 vkCmdSetLineWidth = reinterpret_cast<PFN_vkCmdSetLineWidth>(dlsym(libvulkan, "vkCmdSetLineWidth"));
145 vkCmdSetDepthBias = reinterpret_cast<PFN_vkCmdSetDepthBias>(dlsym(libvulkan, "vkCmdSetDepthBias"));
146 vkCmdSetBlendConstants = reinterpret_cast<PFN_vkCmdSetBlendConstants>(dlsym(libvulkan, "vkCmdSetBlendConstants"));
147 vkCmdSetDepthBounds = reinterpret_cast<PFN_vkCmdSetDepthBounds>(dlsym(libvulkan, "vkCmdSetDepthBounds"));
148 vkCmdSetStencilCompareMask = reinterpret_cast<PFN_vkCmdSetStencilCompareMask>(dlsym(libvulkan, "vkCmdSetStencilCompareMask"));
149 vkCmdSetStencilWriteMask = reinterpret_cast<PFN_vkCmdSetStencilWriteMask>(dlsym(libvulkan, "vkCmdSetStencilWriteMask"));
150 vkCmdSetStencilReference = reinterpret_cast<PFN_vkCmdSetStencilReference>(dlsym(libvulkan, "vkCmdSetStencilReference"));
151 vkCmdBindDescriptorSets = reinterpret_cast<PFN_vkCmdBindDescriptorSets>(dlsym(libvulkan, "vkCmdBindDescriptorSets"));
152 vkCmdBindIndexBuffer = reinterpret_cast<PFN_vkCmdBindIndexBuffer>(dlsym(libvulkan, "vkCmdBindIndexBuffer"));
153 vkCmdBindVertexBuffers = reinterpret_cast<PFN_vkCmdBindVertexBuffers>(dlsym(libvulkan, "vkCmdBindVertexBuffers"));
154 vkCmdDraw = reinterpret_cast<PFN_vkCmdDraw>(dlsym(libvulkan, "vkCmdDraw"));
155 vkCmdDrawIndexed = reinterpret_cast<PFN_vkCmdDrawIndexed>(dlsym(libvulkan, "vkCmdDrawIndexed"));
156 vkCmdDrawIndirect = reinterpret_cast<PFN_vkCmdDrawIndirect>(dlsym(libvulkan, "vkCmdDrawIndirect"));
157 vkCmdDrawIndexedIndirect = reinterpret_cast<PFN_vkCmdDrawIndexedIndirect>(dlsym(libvulkan, "vkCmdDrawIndexedIndirect"));
158 vkCmdDispatch = reinterpret_cast<PFN_vkCmdDispatch>(dlsym(libvulkan, "vkCmdDispatch"));
159 vkCmdDispatchIndirect = reinterpret_cast<PFN_vkCmdDispatchIndirect>(dlsym(libvulkan, "vkCmdDispatchIndirect"));
160 vkCmdCopyBuffer = reinterpret_cast<PFN_vkCmdCopyBuffer>(dlsym(libvulkan, "vkCmdCopyBuffer"));
161 vkCmdCopyImage = reinterpret_cast<PFN_vkCmdCopyImage>(dlsym(libvulkan, "vkCmdCopyImage"));
162 vkCmdBlitImage = reinterpret_cast<PFN_vkCmdBlitImage>(dlsym(libvulkan, "vkCmdBlitImage"));
163 vkCmdCopyBufferToImage = reinterpret_cast<PFN_vkCmdCopyBufferToImage>(dlsym(libvulkan, "vkCmdCopyBufferToImage"));
164 vkCmdCopyImageToBuffer = reinterpret_cast<PFN_vkCmdCopyImageToBuffer>(dlsym(libvulkan, "vkCmdCopyImageToBuffer"));
165 vkCmdUpdateBuffer = reinterpret_cast<PFN_vkCmdUpdateBuffer>(dlsym(libvulkan, "vkCmdUpdateBuffer"));
166 vkCmdFillBuffer = reinterpret_cast<PFN_vkCmdFillBuffer>(dlsym(libvulkan, "vkCmdFillBuffer"));
167 vkCmdClearColorImage = reinterpret_cast<PFN_vkCmdClearColorImage>(dlsym(libvulkan, "vkCmdClearColorImage"));
168 vkCmdClearDepthStencilImage =
169 reinterpret_cast<PFN_vkCmdClearDepthStencilImage>(dlsym(libvulkan, "vkCmdClearDepthStencilImage"));
170 vkCmdClearAttachments = reinterpret_cast<PFN_vkCmdClearAttachments>(dlsym(libvulkan, "vkCmdClearAttachments"));
171 vkCmdResolveImage = reinterpret_cast<PFN_vkCmdResolveImage>(dlsym(libvulkan, "vkCmdResolveImage"));
172 vkCmdSetEvent = reinterpret_cast<PFN_vkCmdSetEvent>(dlsym(libvulkan, "vkCmdSetEvent"));
173 vkCmdResetEvent = reinterpret_cast<PFN_vkCmdResetEvent>(dlsym(libvulkan, "vkCmdResetEvent"));
174 vkCmdWaitEvents = reinterpret_cast<PFN_vkCmdWaitEvents>(dlsym(libvulkan, "vkCmdWaitEvents"));
175 vkCmdPipelineBarrier = reinterpret_cast<PFN_vkCmdPipelineBarrier>(dlsym(libvulkan, "vkCmdPipelineBarrier"));
176 vkCmdBeginQuery = reinterpret_cast<PFN_vkCmdBeginQuery>(dlsym(libvulkan, "vkCmdBeginQuery"));
177 vkCmdEndQuery = reinterpret_cast<PFN_vkCmdEndQuery>(dlsym(libvulkan, "vkCmdEndQuery"));
178 vkCmdResetQueryPool = reinterpret_cast<PFN_vkCmdResetQueryPool>(dlsym(libvulkan, "vkCmdResetQueryPool"));
179 vkCmdWriteTimestamp = reinterpret_cast<PFN_vkCmdWriteTimestamp>(dlsym(libvulkan, "vkCmdWriteTimestamp"));
180 vkCmdCopyQueryPoolResults = reinterpret_cast<PFN_vkCmdCopyQueryPoolResults>(dlsym(libvulkan, "vkCmdCopyQueryPoolResults"));
181 vkCmdPushConstants = reinterpret_cast<PFN_vkCmdPushConstants>(dlsym(libvulkan, "vkCmdPushConstants"));
182 vkCmdBeginRenderPass = reinterpret_cast<PFN_vkCmdBeginRenderPass>(dlsym(libvulkan, "vkCmdBeginRenderPass"));
183 vkCmdNextSubpass = reinterpret_cast<PFN_vkCmdNextSubpass>(dlsym(libvulkan, "vkCmdNextSubpass"));
184 vkCmdEndRenderPass = reinterpret_cast<PFN_vkCmdEndRenderPass>(dlsym(libvulkan, "vkCmdEndRenderPass"));
185 vkCmdExecuteCommands = reinterpret_cast<PFN_vkCmdExecuteCommands>(dlsym(libvulkan, "vkCmdExecuteCommands"));
186 vkEnumerateInstanceVersion = reinterpret_cast<PFN_vkEnumerateInstanceVersion>(dlsym(libvulkan, "vkEnumerateInstanceVersion"));
187 vkBindBufferMemory2 = reinterpret_cast<PFN_vkBindBufferMemory2>(dlsym(libvulkan, "vkBindBufferMemory2"));
188 vkBindImageMemory2 = reinterpret_cast<PFN_vkBindImageMemory2>(dlsym(libvulkan, "vkBindImageMemory2"));
189 vkGetDeviceGroupPeerMemoryFeatures =
190 reinterpret_cast<PFN_vkGetDeviceGroupPeerMemoryFeatures>(dlsym(libvulkan, "vkGetDeviceGroupPeerMemoryFeatures"));
191 vkCmdSetDeviceMask = reinterpret_cast<PFN_vkCmdSetDeviceMask>(dlsym(libvulkan, "vkCmdSetDeviceMask"));
192 vkCmdDispatchBase = reinterpret_cast<PFN_vkCmdDispatchBase>(dlsym(libvulkan, "vkCmdDispatchBase"));
193 vkEnumeratePhysicalDeviceGroups =
194 reinterpret_cast<PFN_vkEnumeratePhysicalDeviceGroups>(dlsym(libvulkan, "vkEnumeratePhysicalDeviceGroups"));
195 vkGetImageMemoryRequirements2 =
196 reinterpret_cast<PFN_vkGetImageMemoryRequirements2>(dlsym(libvulkan, "vkGetImageMemoryRequirements2"));
197 vkGetBufferMemoryRequirements2 =
198 reinterpret_cast<PFN_vkGetBufferMemoryRequirements2>(dlsym(libvulkan, "vkGetBufferMemoryRequirements2"));
199 vkGetImageSparseMemoryRequirements2 =
200 reinterpret_cast<PFN_vkGetImageSparseMemoryRequirements2>(dlsym(libvulkan, "vkGetImageSparseMemoryRequirements2"));
201 vkGetPhysicalDeviceFeatures2 =
202 reinterpret_cast<PFN_vkGetPhysicalDeviceFeatures2>(dlsym(libvulkan, "vkGetPhysicalDeviceFeatures2"));
203 vkGetPhysicalDeviceProperties2 =
204 reinterpret_cast<PFN_vkGetPhysicalDeviceProperties2>(dlsym(libvulkan, "vkGetPhysicalDeviceProperties2"));
205 vkGetPhysicalDeviceFormatProperties2 =
206 reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties2>(dlsym(libvulkan, "vkGetPhysicalDeviceFormatProperties2"));
207 vkGetPhysicalDeviceImageFormatProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceImageFormatProperties2>(
208 dlsym(libvulkan, "vkGetPhysicalDeviceImageFormatProperties2"));
209 vkGetPhysicalDeviceQueueFamilyProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceQueueFamilyProperties2>(
210 dlsym(libvulkan, "vkGetPhysicalDeviceQueueFamilyProperties2"));
211 vkGetPhysicalDeviceMemoryProperties2 =
212 reinterpret_cast<PFN_vkGetPhysicalDeviceMemoryProperties2>(dlsym(libvulkan, "vkGetPhysicalDeviceMemoryProperties2"));
213 vkGetPhysicalDeviceSparseImageFormatProperties2 = reinterpret_cast<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2>(
214 dlsym(libvulkan, "vkGetPhysicalDeviceSparseImageFormatProperties2"));
215 vkTrimCommandPool = reinterpret_cast<PFN_vkTrimCommandPool>(dlsym(libvulkan, "vkTrimCommandPool"));
216 vkGetDeviceQueue2 = reinterpret_cast<PFN_vkGetDeviceQueue2>(dlsym(libvulkan, "vkGetDeviceQueue2"));
217 vkCreateSamplerYcbcrConversion =
218 reinterpret_cast<PFN_vkCreateSamplerYcbcrConversion>(dlsym(libvulkan, "vkCreateSamplerYcbcrConversion"));
219 vkDestroySamplerYcbcrConversion =
220 reinterpret_cast<PFN_vkDestroySamplerYcbcrConversion>(dlsym(libvulkan, "vkDestroySamplerYcbcrConversion"));
221 vkCreateDescriptorUpdateTemplate =
222 reinterpret_cast<PFN_vkCreateDescriptorUpdateTemplate>(dlsym(libvulkan, "vkCreateDescriptorUpdateTemplate"));
223 vkDestroyDescriptorUpdateTemplate =
224 reinterpret_cast<PFN_vkDestroyDescriptorUpdateTemplate>(dlsym(libvulkan, "vkDestroyDescriptorUpdateTemplate"));
225 vkUpdateDescriptorSetWithTemplate =
226 reinterpret_cast<PFN_vkUpdateDescriptorSetWithTemplate>(dlsym(libvulkan, "vkUpdateDescriptorSetWithTemplate"));
227 vkGetPhysicalDeviceExternalBufferProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalBufferProperties>(
228 dlsym(libvulkan, "vkGetPhysicalDeviceExternalBufferProperties"));
229 vkGetPhysicalDeviceExternalFenceProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalFenceProperties>(
230 dlsym(libvulkan, "vkGetPhysicalDeviceExternalFenceProperties"));
231 vkGetPhysicalDeviceExternalSemaphoreProperties = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalSemaphoreProperties>(
232 dlsym(libvulkan, "vkGetPhysicalDeviceExternalSemaphoreProperties"));
233 vkGetDescriptorSetLayoutSupport =
234 reinterpret_cast<PFN_vkGetDescriptorSetLayoutSupport>(dlsym(libvulkan, "vkGetDescriptorSetLayoutSupport"));
235 vkDestroySurfaceKHR = reinterpret_cast<PFN_vkDestroySurfaceKHR>(dlsym(libvulkan, "vkDestroySurfaceKHR"));
236 vkGetPhysicalDeviceSurfaceSupportKHR =
237 reinterpret_cast<PFN_vkGetPhysicalDeviceSurfaceSupportKHR>(dlsym(libvulkan, "vkGetPhysicalDeviceSurfaceSupportKHR"));
238 vkGetPhysicalDeviceSurfaceCapabilitiesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR>(
239 dlsym(libvulkan, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR"));
240 vkGetPhysicalDeviceSurfaceFormatsKHR =
241 reinterpret_cast<PFN_vkGetPhysicalDeviceSurfaceFormatsKHR>(dlsym(libvulkan, "vkGetPhysicalDeviceSurfaceFormatsKHR"));
242 vkGetPhysicalDeviceSurfacePresentModesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceSurfacePresentModesKHR>(
243 dlsym(libvulkan, "vkGetPhysicalDeviceSurfacePresentModesKHR"));
244 vkCreateSwapchainKHR = reinterpret_cast<PFN_vkCreateSwapchainKHR>(dlsym(libvulkan, "vkCreateSwapchainKHR"));
245 vkDestroySwapchainKHR = reinterpret_cast<PFN_vkDestroySwapchainKHR>(dlsym(libvulkan, "vkDestroySwapchainKHR"));
246 vkGetSwapchainImagesKHR = reinterpret_cast<PFN_vkGetSwapchainImagesKHR>(dlsym(libvulkan, "vkGetSwapchainImagesKHR"));
247 vkAcquireNextImageKHR = reinterpret_cast<PFN_vkAcquireNextImageKHR>(dlsym(libvulkan, "vkAcquireNextImageKHR"));
248 vkQueuePresentKHR = reinterpret_cast<PFN_vkQueuePresentKHR>(dlsym(libvulkan, "vkQueuePresentKHR"));
249 vkGetDeviceGroupPresentCapabilitiesKHR =
250 reinterpret_cast<PFN_vkGetDeviceGroupPresentCapabilitiesKHR>(dlsym(libvulkan, "vkGetDeviceGroupPresentCapabilitiesKHR"));
251 vkGetDeviceGroupSurfacePresentModesKHR =
252 reinterpret_cast<PFN_vkGetDeviceGroupSurfacePresentModesKHR>(dlsym(libvulkan, "vkGetDeviceGroupSurfacePresentModesKHR"));
253 vkGetPhysicalDevicePresentRectanglesKHR =
254 reinterpret_cast<PFN_vkGetPhysicalDevicePresentRectanglesKHR>(dlsym(libvulkan, "vkGetPhysicalDevicePresentRectanglesKHR"));
255 vkAcquireNextImage2KHR = reinterpret_cast<PFN_vkAcquireNextImage2KHR>(dlsym(libvulkan, "vkAcquireNextImage2KHR"));
256 vkGetPhysicalDeviceDisplayPropertiesKHR =
257 reinterpret_cast<PFN_vkGetPhysicalDeviceDisplayPropertiesKHR>(dlsym(libvulkan, "vkGetPhysicalDeviceDisplayPropertiesKHR"));
258 vkGetPhysicalDeviceDisplayPlanePropertiesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR>(
259 dlsym(libvulkan, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR"));
260 vkGetDisplayPlaneSupportedDisplaysKHR =
261 reinterpret_cast<PFN_vkGetDisplayPlaneSupportedDisplaysKHR>(dlsym(libvulkan, "vkGetDisplayPlaneSupportedDisplaysKHR"));
262 vkGetDisplayModePropertiesKHR =
263 reinterpret_cast<PFN_vkGetDisplayModePropertiesKHR>(dlsym(libvulkan, "vkGetDisplayModePropertiesKHR"));
264 vkCreateDisplayModeKHR = reinterpret_cast<PFN_vkCreateDisplayModeKHR>(dlsym(libvulkan, "vkCreateDisplayModeKHR"));
265 vkGetDisplayPlaneCapabilitiesKHR =
266 reinterpret_cast<PFN_vkGetDisplayPlaneCapabilitiesKHR>(dlsym(libvulkan, "vkGetDisplayPlaneCapabilitiesKHR"));
267 vkCreateDisplayPlaneSurfaceKHR =
268 reinterpret_cast<PFN_vkCreateDisplayPlaneSurfaceKHR>(dlsym(libvulkan, "vkCreateDisplayPlaneSurfaceKHR"));
269 vkCreateSharedSwapchainsKHR =
270 reinterpret_cast<PFN_vkCreateSharedSwapchainsKHR>(dlsym(libvulkan, "vkCreateSharedSwapchainsKHR"));
271 vkGetPhysicalDeviceFeatures2KHR =
272 reinterpret_cast<PFN_vkGetPhysicalDeviceFeatures2KHR>(dlsym(libvulkan, "vkGetPhysicalDeviceFeatures2KHR"));
273 vkGetPhysicalDeviceProperties2KHR =
274 reinterpret_cast<PFN_vkGetPhysicalDeviceProperties2KHR>(dlsym(libvulkan, "vkGetPhysicalDeviceProperties2KHR"));
275 vkGetPhysicalDeviceFormatProperties2KHR =
276 reinterpret_cast<PFN_vkGetPhysicalDeviceFormatProperties2KHR>(dlsym(libvulkan, "vkGetPhysicalDeviceFormatProperties2KHR"));
277 vkGetPhysicalDeviceImageFormatProperties2KHR = reinterpret_cast<PFN_vkGetPhysicalDeviceImageFormatProperties2KHR>(
278 dlsym(libvulkan, "vkGetPhysicalDeviceImageFormatProperties2KHR"));
279 vkGetPhysicalDeviceQueueFamilyProperties2KHR = reinterpret_cast<PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR>(
280 dlsym(libvulkan, "vkGetPhysicalDeviceQueueFamilyProperties2KHR"));
281 vkGetPhysicalDeviceMemoryProperties2KHR =
282 reinterpret_cast<PFN_vkGetPhysicalDeviceMemoryProperties2KHR>(dlsym(libvulkan, "vkGetPhysicalDeviceMemoryProperties2KHR"));
283 vkGetPhysicalDeviceSparseImageFormatProperties2KHR = reinterpret_cast<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR>(
284 dlsym(libvulkan, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR"));
285 vkGetDeviceGroupPeerMemoryFeaturesKHR =
286 reinterpret_cast<PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR>(dlsym(libvulkan, "vkGetDeviceGroupPeerMemoryFeaturesKHR"));
287 vkCmdSetDeviceMaskKHR = reinterpret_cast<PFN_vkCmdSetDeviceMaskKHR>(dlsym(libvulkan, "vkCmdSetDeviceMaskKHR"));
288 vkCmdDispatchBaseKHR = reinterpret_cast<PFN_vkCmdDispatchBaseKHR>(dlsym(libvulkan, "vkCmdDispatchBaseKHR"));
289 vkTrimCommandPoolKHR = reinterpret_cast<PFN_vkTrimCommandPoolKHR>(dlsym(libvulkan, "vkTrimCommandPoolKHR"));
290 vkEnumeratePhysicalDeviceGroupsKHR =
291 reinterpret_cast<PFN_vkEnumeratePhysicalDeviceGroupsKHR>(dlsym(libvulkan, "vkEnumeratePhysicalDeviceGroupsKHR"));
292 vkGetPhysicalDeviceExternalBufferPropertiesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR>(
293 dlsym(libvulkan, "vkGetPhysicalDeviceExternalBufferPropertiesKHR"));
294 vkGetMemoryFdKHR = reinterpret_cast<PFN_vkGetMemoryFdKHR>(dlsym(libvulkan, "vkGetMemoryFdKHR"));
295 vkGetMemoryFdPropertiesKHR = reinterpret_cast<PFN_vkGetMemoryFdPropertiesKHR>(dlsym(libvulkan, "vkGetMemoryFdPropertiesKHR"));
296 vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR>(
297 dlsym(libvulkan, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"));
298 vkImportSemaphoreFdKHR = reinterpret_cast<PFN_vkImportSemaphoreFdKHR>(dlsym(libvulkan, "vkImportSemaphoreFdKHR"));
299 vkGetSemaphoreFdKHR = reinterpret_cast<PFN_vkGetSemaphoreFdKHR>(dlsym(libvulkan, "vkGetSemaphoreFdKHR"));
300 vkCmdPushDescriptorSetKHR = reinterpret_cast<PFN_vkCmdPushDescriptorSetKHR>(dlsym(libvulkan, "vkCmdPushDescriptorSetKHR"));
301 vkCmdPushDescriptorSetWithTemplateKHR =
302 reinterpret_cast<PFN_vkCmdPushDescriptorSetWithTemplateKHR>(dlsym(libvulkan, "vkCmdPushDescriptorSetWithTemplateKHR"));
303 vkCreateDescriptorUpdateTemplateKHR =
304 reinterpret_cast<PFN_vkCreateDescriptorUpdateTemplateKHR>(dlsym(libvulkan, "vkCreateDescriptorUpdateTemplateKHR"));
305 vkDestroyDescriptorUpdateTemplateKHR =
306 reinterpret_cast<PFN_vkDestroyDescriptorUpdateTemplateKHR>(dlsym(libvulkan, "vkDestroyDescriptorUpdateTemplateKHR"));
307 vkUpdateDescriptorSetWithTemplateKHR =
308 reinterpret_cast<PFN_vkUpdateDescriptorSetWithTemplateKHR>(dlsym(libvulkan, "vkUpdateDescriptorSetWithTemplateKHR"));
309 vkGetSwapchainStatusKHR = reinterpret_cast<PFN_vkGetSwapchainStatusKHR>(dlsym(libvulkan, "vkGetSwapchainStatusKHR"));
310 vkGetPhysicalDeviceExternalFencePropertiesKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR>(
311 dlsym(libvulkan, "vkGetPhysicalDeviceExternalFencePropertiesKHR"));
312 vkImportFenceFdKHR = reinterpret_cast<PFN_vkImportFenceFdKHR>(dlsym(libvulkan, "vkImportFenceFdKHR"));
313 vkGetFenceFdKHR = reinterpret_cast<PFN_vkGetFenceFdKHR>(dlsym(libvulkan, "vkGetFenceFdKHR"));
314 vkGetPhysicalDeviceSurfaceCapabilities2KHR = reinterpret_cast<PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR>(
315 dlsym(libvulkan, "vkGetPhysicalDeviceSurfaceCapabilities2KHR"));
316 vkGetPhysicalDeviceSurfaceFormats2KHR =
317 reinterpret_cast<PFN_vkGetPhysicalDeviceSurfaceFormats2KHR>(dlsym(libvulkan, "vkGetPhysicalDeviceSurfaceFormats2KHR"));
318 vkGetImageMemoryRequirements2KHR =
319 reinterpret_cast<PFN_vkGetImageMemoryRequirements2KHR>(dlsym(libvulkan, "vkGetImageMemoryRequirements2KHR"));
320 vkGetBufferMemoryRequirements2KHR =
321 reinterpret_cast<PFN_vkGetBufferMemoryRequirements2KHR>(dlsym(libvulkan, "vkGetBufferMemoryRequirements2KHR"));
322 vkGetImageSparseMemoryRequirements2KHR =
323 reinterpret_cast<PFN_vkGetImageSparseMemoryRequirements2KHR>(dlsym(libvulkan, "vkGetImageSparseMemoryRequirements2KHR"));
324 vkCreateSamplerYcbcrConversionKHR =
325 reinterpret_cast<PFN_vkCreateSamplerYcbcrConversionKHR>(dlsym(libvulkan, "vkCreateSamplerYcbcrConversionKHR"));
326 vkDestroySamplerYcbcrConversionKHR =
327 reinterpret_cast<PFN_vkDestroySamplerYcbcrConversionKHR>(dlsym(libvulkan, "vkDestroySamplerYcbcrConversionKHR"));
328 vkBindBufferMemory2KHR = reinterpret_cast<PFN_vkBindBufferMemory2KHR>(dlsym(libvulkan, "vkBindBufferMemory2KHR"));
329 vkBindImageMemory2KHR = reinterpret_cast<PFN_vkBindImageMemory2KHR>(dlsym(libvulkan, "vkBindImageMemory2KHR"));
330 vkGetDescriptorSetLayoutSupportKHR =
331 reinterpret_cast<PFN_vkGetDescriptorSetLayoutSupportKHR>(dlsym(libvulkan, "vkGetDescriptorSetLayoutSupportKHR"));
332
333 #ifdef VK_USE_PLATFORM_ANDROID_KHR
334 vkCreateAndroidSurfaceKHR = reinterpret_cast<PFN_vkCreateAndroidSurfaceKHR>(dlsym(libvulkan, "vkCreateAndroidSurfaceKHR"));
335 #endif
336
337 #ifdef VK_USE_PLATFORM_MIR_KHR
338 vkCreateMirSurfaceKHR = reinterpret_cast<PFN_vkCreateMirSurfaceKHR>(dlsym(libvulkan, "vkCreateMirSurfaceKHR"));
339 vkGetPhysicalDeviceMirPresentationSupportKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceMirPresentationSupportKHR>(
340 dlsym(libvulkan, "vkGetPhysicalDeviceMirPresentationSupportKHR"));
341 #endif
342
343 #ifdef VK_USE_PLATFORM_WAYLAND_KHR
344 vkCreateWaylandSurfaceKHR = reinterpret_cast<PFN_vkCreateWaylandSurfaceKHR>(dlsym(libvulkan, "vkCreateWaylandSurfaceKHR"));
345 vkGetPhysicalDeviceWaylandPresentationSupportKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR>(
346 dlsym(libvulkan, "vkGetPhysicalDeviceWaylandPresentationSupportKHR"));
347 #endif
348
349 #ifdef VK_USE_PLATFORM_WIN32_KHR
350 vkCreateWin32SurfaceKHR = reinterpret_cast<PFN_vkCreateWin32SurfaceKHR>(dlsym(libvulkan, "vkCreateWin32SurfaceKHR"));
351 vkGetPhysicalDeviceWin32PresentationSupportKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR>(
352 dlsym(libvulkan, "vkGetPhysicalDeviceWin32PresentationSupportKHR"));
353 #endif
354
355 #ifdef VK_USE_PLATFORM_WIN32_KHR
356 vkGetMemoryWin32HandleKHR = reinterpret_cast<PFN_vkGetMemoryWin32HandleKHR>(dlsym(libvulkan, "vkGetMemoryWin32HandleKHR"));
357 vkGetMemoryWin32HandlePropertiesKHR =
358 reinterpret_cast<PFN_vkGetMemoryWin32HandlePropertiesKHR>(dlsym(libvulkan, "vkGetMemoryWin32HandlePropertiesKHR"));
359 #endif
360
361 #ifdef VK_USE_PLATFORM_WIN32_KHR
362 #endif
363
364 #ifdef VK_USE_PLATFORM_WIN32_KHR
365 vkImportSemaphoreWin32HandleKHR =
366 reinterpret_cast<PFN_vkImportSemaphoreWin32HandleKHR>(dlsym(libvulkan, "vkImportSemaphoreWin32HandleKHR"));
367 vkGetSemaphoreWin32HandleKHR =
368 reinterpret_cast<PFN_vkGetSemaphoreWin32HandleKHR>(dlsym(libvulkan, "vkGetSemaphoreWin32HandleKHR"));
369 #endif
370
371 #ifdef VK_USE_PLATFORM_WIN32_KHR
372 vkImportFenceWin32HandleKHR =
373 reinterpret_cast<PFN_vkImportFenceWin32HandleKHR>(dlsym(libvulkan, "vkImportFenceWin32HandleKHR"));
374 vkGetFenceWin32HandleKHR = reinterpret_cast<PFN_vkGetFenceWin32HandleKHR>(dlsym(libvulkan, "vkGetFenceWin32HandleKHR"));
375 #endif
376
377 #ifdef VK_USE_PLATFORM_XCB_KHR
378 vkCreateXcbSurfaceKHR = reinterpret_cast<PFN_vkCreateXcbSurfaceKHR>(dlsym(libvulkan, "vkCreateXcbSurfaceKHR"));
379 vkGetPhysicalDeviceXcbPresentationSupportKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR>(
380 dlsym(libvulkan, "vkGetPhysicalDeviceXcbPresentationSupportKHR"));
381 #endif
382
383 #ifdef VK_USE_PLATFORM_XLIB_KHR
384 vkCreateXlibSurfaceKHR = reinterpret_cast<PFN_vkCreateXlibSurfaceKHR>(dlsym(libvulkan, "vkCreateXlibSurfaceKHR"));
385 vkGetPhysicalDeviceXlibPresentationSupportKHR = reinterpret_cast<PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR>(
386 dlsym(libvulkan, "vkGetPhysicalDeviceXlibPresentationSupportKHR"));
387 #endif
388 return 1;
389 }
390
391 // No Vulkan support, do not set function addresses
392 PFN_vkCreateInstance vkCreateInstance;
393 PFN_vkDestroyInstance vkDestroyInstance;
394 PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices;
395 PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures;
396 PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties;
397 PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
398 PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties;
399 PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties;
400 PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties;
401 PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
402 PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr;
403 PFN_vkCreateDevice vkCreateDevice;
404 PFN_vkDestroyDevice vkDestroyDevice;
405 PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties;
406 PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties;
407 PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties;
408 PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties;
409 PFN_vkGetDeviceQueue vkGetDeviceQueue;
410 PFN_vkQueueSubmit vkQueueSubmit;
411 PFN_vkQueueWaitIdle vkQueueWaitIdle;
412 PFN_vkDeviceWaitIdle vkDeviceWaitIdle;
413 PFN_vkAllocateMemory vkAllocateMemory;
414 PFN_vkFreeMemory vkFreeMemory;
415 PFN_vkMapMemory vkMapMemory;
416 PFN_vkUnmapMemory vkUnmapMemory;
417 PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
418 PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
419 PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment;
420 PFN_vkBindBufferMemory vkBindBufferMemory;
421 PFN_vkBindImageMemory vkBindImageMemory;
422 PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
423 PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
424 PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements;
425 PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties;
426 PFN_vkQueueBindSparse vkQueueBindSparse;
427 PFN_vkCreateFence vkCreateFence;
428 PFN_vkDestroyFence vkDestroyFence;
429 PFN_vkResetFences vkResetFences;
430 PFN_vkGetFenceStatus vkGetFenceStatus;
431 PFN_vkWaitForFences vkWaitForFences;
432 PFN_vkCreateSemaphore vkCreateSemaphore;
433 PFN_vkDestroySemaphore vkDestroySemaphore;
434 PFN_vkCreateEvent vkCreateEvent;
435 PFN_vkDestroyEvent vkDestroyEvent;
436 PFN_vkGetEventStatus vkGetEventStatus;
437 PFN_vkSetEvent vkSetEvent;
438 PFN_vkResetEvent vkResetEvent;
439 PFN_vkCreateQueryPool vkCreateQueryPool;
440 PFN_vkDestroyQueryPool vkDestroyQueryPool;
441 PFN_vkGetQueryPoolResults vkGetQueryPoolResults;
442 PFN_vkCreateBuffer vkCreateBuffer;
443 PFN_vkDestroyBuffer vkDestroyBuffer;
444 PFN_vkCreateBufferView vkCreateBufferView;
445 PFN_vkDestroyBufferView vkDestroyBufferView;
446 PFN_vkCreateImage vkCreateImage;
447 PFN_vkDestroyImage vkDestroyImage;
448 PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
449 PFN_vkCreateImageView vkCreateImageView;
450 PFN_vkDestroyImageView vkDestroyImageView;
451 PFN_vkCreateShaderModule vkCreateShaderModule;
452 PFN_vkDestroyShaderModule vkDestroyShaderModule;
453 PFN_vkCreatePipelineCache vkCreatePipelineCache;
454 PFN_vkDestroyPipelineCache vkDestroyPipelineCache;
455 PFN_vkGetPipelineCacheData vkGetPipelineCacheData;
456 PFN_vkMergePipelineCaches vkMergePipelineCaches;
457 PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines;
458 PFN_vkCreateComputePipelines vkCreateComputePipelines;
459 PFN_vkDestroyPipeline vkDestroyPipeline;
460 PFN_vkCreatePipelineLayout vkCreatePipelineLayout;
461 PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout;
462 PFN_vkCreateSampler vkCreateSampler;
463 PFN_vkDestroySampler vkDestroySampler;
464 PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout;
465 PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout;
466 PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
467 PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
468 PFN_vkResetDescriptorPool vkResetDescriptorPool;
469 PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
470 PFN_vkFreeDescriptorSets vkFreeDescriptorSets;
471 PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets;
472 PFN_vkCreateFramebuffer vkCreateFramebuffer;
473 PFN_vkDestroyFramebuffer vkDestroyFramebuffer;
474 PFN_vkCreateRenderPass vkCreateRenderPass;
475 PFN_vkDestroyRenderPass vkDestroyRenderPass;
476 PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity;
477 PFN_vkCreateCommandPool vkCreateCommandPool;
478 PFN_vkDestroyCommandPool vkDestroyCommandPool;
479 PFN_vkResetCommandPool vkResetCommandPool;
480 PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
481 PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
482 PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
483 PFN_vkEndCommandBuffer vkEndCommandBuffer;
484 PFN_vkResetCommandBuffer vkResetCommandBuffer;
485 PFN_vkCmdBindPipeline vkCmdBindPipeline;
486 PFN_vkCmdSetViewport vkCmdSetViewport;
487 PFN_vkCmdSetScissor vkCmdSetScissor;
488 PFN_vkCmdSetLineWidth vkCmdSetLineWidth;
489 PFN_vkCmdSetDepthBias vkCmdSetDepthBias;
490 PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants;
491 PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds;
492 PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask;
493 PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask;
494 PFN_vkCmdSetStencilReference vkCmdSetStencilReference;
495 PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets;
496 PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer;
497 PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers;
498 PFN_vkCmdDraw vkCmdDraw;
499 PFN_vkCmdDrawIndexed vkCmdDrawIndexed;
500 PFN_vkCmdDrawIndirect vkCmdDrawIndirect;
501 PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect;
502 PFN_vkCmdDispatch vkCmdDispatch;
503 PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect;
504 PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
505 PFN_vkCmdCopyImage vkCmdCopyImage;
506 PFN_vkCmdBlitImage vkCmdBlitImage;
507 PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
508 PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
509 PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer;
510 PFN_vkCmdFillBuffer vkCmdFillBuffer;
511 PFN_vkCmdClearColorImage vkCmdClearColorImage;
512 PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage;
513 PFN_vkCmdClearAttachments vkCmdClearAttachments;
514 PFN_vkCmdResolveImage vkCmdResolveImage;
515 PFN_vkCmdSetEvent vkCmdSetEvent;
516 PFN_vkCmdResetEvent vkCmdResetEvent;
517 PFN_vkCmdWaitEvents vkCmdWaitEvents;
518 PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
519 PFN_vkCmdBeginQuery vkCmdBeginQuery;
520 PFN_vkCmdEndQuery vkCmdEndQuery;
521 PFN_vkCmdResetQueryPool vkCmdResetQueryPool;
522 PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp;
523 PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults;
524 PFN_vkCmdPushConstants vkCmdPushConstants;
525 PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass;
526 PFN_vkCmdNextSubpass vkCmdNextSubpass;
527 PFN_vkCmdEndRenderPass vkCmdEndRenderPass;
528 PFN_vkCmdExecuteCommands vkCmdExecuteCommands;
529 PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion;
530 PFN_vkBindBufferMemory2 vkBindBufferMemory2;
531 PFN_vkBindImageMemory2 vkBindImageMemory2;
532 PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures;
533 PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask;
534 PFN_vkCmdDispatchBase vkCmdDispatchBase;
535 PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups;
536 PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2;
537 PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2;
538 PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2;
539 PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2;
540 PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2;
541 PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2;
542 PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2;
543 PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2;
544 PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2;
545 PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2;
546 PFN_vkTrimCommandPool vkTrimCommandPool;
547 PFN_vkGetDeviceQueue2 vkGetDeviceQueue2;
548 PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion;
549 PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion;
550 PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate;
551 PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate;
552 PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate;
553 PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties;
554 PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties;
555 PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties;
556 PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport;
557 PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR;
558 PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR;
559 PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
560 PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR;
561 PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR;
562 PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR;
563 PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR;
564 PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR;
565 PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR;
566 PFN_vkQueuePresentKHR vkQueuePresentKHR;
567 PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR;
568 PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR;
569 PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR;
570 PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR;
571 PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR;
572 PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR;
573 PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR;
574 PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR;
575 PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR;
576 PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR;
577 PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR;
578 PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR;
579 PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR;
580 PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR;
581 PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR;
582 PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR;
583 PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR;
584 PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR;
585 PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR;
586 PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR;
587 PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR;
588 PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR;
589 PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR;
590 PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR;
591 PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR;
592 PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR;
593 PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR;
594 PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR;
595 PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
596 PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
597 PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR;
598 PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR;
599 PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR;
600 PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR;
601 PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR;
602 PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR;
603 PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR;
604 PFN_vkImportFenceFdKHR vkImportFenceFdKHR;
605 PFN_vkGetFenceFdKHR vkGetFenceFdKHR;
606 PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR;
607 PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR;
608 PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR;
609 PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR;
610 PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR;
611 PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR;
612 PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR;
613 PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR;
614 PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR;
615 PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR;
616 PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT;
617 PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT;
618 PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT;
619 PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT;
620 PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT;
621 PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT;
622 PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT;
623 PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT;
624 PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD;
625 PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD;
626 PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD;
627 PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV;
628 PFN_vkCmdProcessCommandsNVX vkCmdProcessCommandsNVX;
629 PFN_vkCmdReserveSpaceForCommandsNVX vkCmdReserveSpaceForCommandsNVX;
630 PFN_vkCreateIndirectCommandsLayoutNVX vkCreateIndirectCommandsLayoutNVX;
631 PFN_vkDestroyIndirectCommandsLayoutNVX vkDestroyIndirectCommandsLayoutNVX;
632 PFN_vkCreateObjectTableNVX vkCreateObjectTableNVX;
633 PFN_vkDestroyObjectTableNVX vkDestroyObjectTableNVX;
634 PFN_vkRegisterObjectsNVX vkRegisterObjectsNVX;
635 PFN_vkUnregisterObjectsNVX vkUnregisterObjectsNVX;
636 PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX;
637 PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV;
638 PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT;
639 PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT;
640 PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT;
641 PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT;
642 PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT;
643 PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT;
644 PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE;
645 PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE;
646 PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT;
647 PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT;
648 PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT;
649 PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT;
650 PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT;
651 PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT;
652 PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT;
653 PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT;
654 PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT;
655 PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT;
656 PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT;
657 PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT;
658 PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT;
659 PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT;
660 PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT;
661 PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT;
662 PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT;
663 PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT;
664 PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT;
665 PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT;
666 PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD;
667
668 #ifdef VK_USE_PLATFORM_ANDROID_KHR
669 PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR;
670 #endif
671
672 #ifdef VK_USE_PLATFORM_ANDROID_KHR
673 PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
674 PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
675 #endif
676
677 #ifdef VK_USE_PLATFORM_IOS_MVK
678 PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK;
679 #endif
680
681 #ifdef VK_USE_PLATFORM_MACOS_MVK
682 PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK;
683 #endif
684
685 #ifdef VK_USE_PLATFORM_MIR_KHR
686 PFN_vkCreateMirSurfaceKHR vkCreateMirSurfaceKHR;
687 PFN_vkGetPhysicalDeviceMirPresentationSupportKHR vkGetPhysicalDeviceMirPresentationSupportKHR;
688 #endif
689
690 #ifdef VK_USE_PLATFORM_VI_NN
691 PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN;
692 #endif
693
694 #ifdef VK_USE_PLATFORM_WAYLAND_KHR
695 PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR;
696 PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR;
697 #endif
698
699 #ifdef VK_USE_PLATFORM_WIN32_KHR
700 PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR;
701 PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR;
702 #endif
703
704 #ifdef VK_USE_PLATFORM_WIN32_KHR
705 PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
706 PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR;
707 #endif
708
709 #ifdef VK_USE_PLATFORM_WIN32_KHR
710 #endif
711
712 #ifdef VK_USE_PLATFORM_WIN32_KHR
713 PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR;
714 PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR;
715 #endif
716
717 #ifdef VK_USE_PLATFORM_WIN32_KHR
718 PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR;
719 PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR;
720 #endif
721
722 #ifdef VK_USE_PLATFORM_WIN32_KHR
723 PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV;
724 #endif
725
726 #ifdef VK_USE_PLATFORM_WIN32_KHR
727 #endif
728
729 #ifdef VK_USE_PLATFORM_XCB_KHR
730 PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR;
731 PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR;
732 #endif
733
734 #ifdef VK_USE_PLATFORM_XLIB_KHR
735 PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR;
736 PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR;
737 #endif
738
739 #ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
740 PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT;
741 PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT;
742 #endif
743
744 #ifdef __cplusplus
745 }
746 #endif
747