volk.h 98 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754
  1. /**
  2. * volk
  3. *
  4. * Copyright (C) 2018-2022, by Arseny Kapoulkine (arseny.kapoulkine@gmail.com)
  5. * Report bugs and download new versions at https://github.com/zeux/volk
  6. *
  7. * This library is distributed under the MIT License. See notice at the end of this file.
  8. */
  9. /* clang-format off */
  10. #ifndef VOLK_H_
  11. #define VOLK_H_
  12. #if defined(VULKAN_H_) && !defined(VK_NO_PROTOTYPES)
  13. # error To use volk, you need to define VK_NO_PROTOTYPES before including vulkan.h
  14. #endif
  15. /* VOLK_GENERATE_VERSION_DEFINE */
  16. #define VOLK_HEADER_VERSION 231
  17. /* VOLK_GENERATE_VERSION_DEFINE */
  18. #ifndef VK_NO_PROTOTYPES
  19. # define VK_NO_PROTOTYPES
  20. #endif
  21. #ifndef VULKAN_H_
  22. # ifdef VOLK_VULKAN_H_PATH
  23. # include VOLK_VULKAN_H_PATH
  24. # elif defined(VK_USE_PLATFORM_WIN32_KHR)
  25. # include <vulkan/vk_platform.h>
  26. # include <vulkan/vulkan_core.h>
  27. /* When VK_USE_PLATFORM_WIN32_KHR is defined, instead of including vulkan.h directly, we include individual parts of the SDK
  28. * This is necessary to avoid including <windows.h> which is very heavy - it takes 200ms to parse without WIN32_LEAN_AND_MEAN
  29. * and 100ms to parse with it. vulkan_win32.h only needs a few symbols that are easy to redefine ourselves.
  30. */
  31. typedef unsigned long DWORD;
  32. typedef const wchar_t* LPCWSTR;
  33. typedef void* HANDLE;
  34. typedef struct HINSTANCE__* HINSTANCE;
  35. typedef struct HWND__* HWND;
  36. typedef struct HMONITOR__* HMONITOR;
  37. typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
  38. # include <vulkan/vulkan_win32.h>
  39. # ifdef VK_ENABLE_BETA_EXTENSIONS
  40. # include <vulkan/vulkan_beta.h>
  41. # endif
  42. # else
  43. # include <vulkan/vulkan.h>
  44. # endif
  45. #endif
  46. /* Disable several extensions on earlier SDKs because later SDKs introduce a backwards incompatible change to function signatures */
  47. #if VK_HEADER_VERSION < 140
  48. # undef VK_NVX_image_view_handle
  49. #endif
  50. #if VK_HEADER_VERSION < 184
  51. # undef VK_HUAWEI_subpass_shading
  52. #endif
  53. #ifdef __cplusplus
  54. extern "C" {
  55. #endif
  56. struct VolkDeviceTable;
  57. /**
  58. * Initialize library by loading Vulkan loader; call this function before creating the Vulkan instance.
  59. *
  60. * Returns VK_SUCCESS on success and VK_ERROR_INITIALIZATION_FAILED otherwise.
  61. */
  62. VkResult volkInitialize(void);
  63. /**
  64. * Initialize library by providing a custom handler to load global symbols.
  65. *
  66. * This function can be used instead of volkInitialize.
  67. * The handler function pointer will be asked to load global Vulkan symbols which require no instance
  68. * (such as vkCreateInstance, vkEnumerateInstance* and vkEnumerateInstanceVersion if available).
  69. */
  70. void volkInitializeCustom(PFN_vkGetInstanceProcAddr handler);
  71. /**
  72. * Get Vulkan instance version supported by the Vulkan loader, or 0 if Vulkan isn't supported
  73. *
  74. * Returns 0 if volkInitialize wasn't called or failed.
  75. */
  76. uint32_t volkGetInstanceVersion(void);
  77. /**
  78. * Load global function pointers using application-created VkInstance; call this function after creating the Vulkan instance.
  79. */
  80. void volkLoadInstance(VkInstance instance);
  81. /**
  82. * Load global function pointers using application-created VkInstance; call this function after creating the Vulkan instance.
  83. * Skips loading device-based function pointers, requires usage of volkLoadDevice afterwards.
  84. */
  85. void volkLoadInstanceOnly(VkInstance instance);
  86. /**
  87. * Load global function pointers using application-created VkDevice; call this function after creating the Vulkan device.
  88. *
  89. * Note: this is not suitable for applications that want to use multiple VkDevice objects concurrently.
  90. */
  91. void volkLoadDevice(VkDevice device);
  92. /**
  93. * Return last VkInstance for which global function pointers have been loaded via volkLoadInstance(),
  94. * or VK_NULL_HANDLE if volkLoadInstance() has not been called.
  95. */
  96. VkInstance volkGetLoadedInstance(void);
  97. /**
  98. * Return last VkDevice for which global function pointers have been loaded via volkLoadDevice(),
  99. * or VK_NULL_HANDLE if volkLoadDevice() has not been called.
  100. */
  101. VkDevice volkGetLoadedDevice(void);
  102. /**
  103. * Load function pointers using application-created VkDevice into a table.
  104. * Application should use function pointers from that table instead of using global function pointers.
  105. */
  106. void volkLoadDeviceTable(struct VolkDeviceTable* table, VkDevice device);
  107. /**
  108. * Device-specific function pointer table
  109. */
  110. struct VolkDeviceTable
  111. {
  112. /* VOLK_GENERATE_DEVICE_TABLE */
  113. #if defined(VK_VERSION_1_0)
  114. PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
  115. PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
  116. PFN_vkAllocateMemory vkAllocateMemory;
  117. PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
  118. PFN_vkBindBufferMemory vkBindBufferMemory;
  119. PFN_vkBindImageMemory vkBindImageMemory;
  120. PFN_vkCmdBeginQuery vkCmdBeginQuery;
  121. PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass;
  122. PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets;
  123. PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer;
  124. PFN_vkCmdBindPipeline vkCmdBindPipeline;
  125. PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers;
  126. PFN_vkCmdBlitImage vkCmdBlitImage;
  127. PFN_vkCmdClearAttachments vkCmdClearAttachments;
  128. PFN_vkCmdClearColorImage vkCmdClearColorImage;
  129. PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage;
  130. PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
  131. PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
  132. PFN_vkCmdCopyImage vkCmdCopyImage;
  133. PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
  134. PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults;
  135. PFN_vkCmdDispatch vkCmdDispatch;
  136. PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect;
  137. PFN_vkCmdDraw vkCmdDraw;
  138. PFN_vkCmdDrawIndexed vkCmdDrawIndexed;
  139. PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect;
  140. PFN_vkCmdDrawIndirect vkCmdDrawIndirect;
  141. PFN_vkCmdEndQuery vkCmdEndQuery;
  142. PFN_vkCmdEndRenderPass vkCmdEndRenderPass;
  143. PFN_vkCmdExecuteCommands vkCmdExecuteCommands;
  144. PFN_vkCmdFillBuffer vkCmdFillBuffer;
  145. PFN_vkCmdNextSubpass vkCmdNextSubpass;
  146. PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
  147. PFN_vkCmdPushConstants vkCmdPushConstants;
  148. PFN_vkCmdResetEvent vkCmdResetEvent;
  149. PFN_vkCmdResetQueryPool vkCmdResetQueryPool;
  150. PFN_vkCmdResolveImage vkCmdResolveImage;
  151. PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants;
  152. PFN_vkCmdSetDepthBias vkCmdSetDepthBias;
  153. PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds;
  154. PFN_vkCmdSetEvent vkCmdSetEvent;
  155. PFN_vkCmdSetLineWidth vkCmdSetLineWidth;
  156. PFN_vkCmdSetScissor vkCmdSetScissor;
  157. PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask;
  158. PFN_vkCmdSetStencilReference vkCmdSetStencilReference;
  159. PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask;
  160. PFN_vkCmdSetViewport vkCmdSetViewport;
  161. PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer;
  162. PFN_vkCmdWaitEvents vkCmdWaitEvents;
  163. PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp;
  164. PFN_vkCreateBuffer vkCreateBuffer;
  165. PFN_vkCreateBufferView vkCreateBufferView;
  166. PFN_vkCreateCommandPool vkCreateCommandPool;
  167. PFN_vkCreateComputePipelines vkCreateComputePipelines;
  168. PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
  169. PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout;
  170. PFN_vkCreateEvent vkCreateEvent;
  171. PFN_vkCreateFence vkCreateFence;
  172. PFN_vkCreateFramebuffer vkCreateFramebuffer;
  173. PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines;
  174. PFN_vkCreateImage vkCreateImage;
  175. PFN_vkCreateImageView vkCreateImageView;
  176. PFN_vkCreatePipelineCache vkCreatePipelineCache;
  177. PFN_vkCreatePipelineLayout vkCreatePipelineLayout;
  178. PFN_vkCreateQueryPool vkCreateQueryPool;
  179. PFN_vkCreateRenderPass vkCreateRenderPass;
  180. PFN_vkCreateSampler vkCreateSampler;
  181. PFN_vkCreateSemaphore vkCreateSemaphore;
  182. PFN_vkCreateShaderModule vkCreateShaderModule;
  183. PFN_vkDestroyBuffer vkDestroyBuffer;
  184. PFN_vkDestroyBufferView vkDestroyBufferView;
  185. PFN_vkDestroyCommandPool vkDestroyCommandPool;
  186. PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
  187. PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout;
  188. PFN_vkDestroyDevice vkDestroyDevice;
  189. PFN_vkDestroyEvent vkDestroyEvent;
  190. PFN_vkDestroyFence vkDestroyFence;
  191. PFN_vkDestroyFramebuffer vkDestroyFramebuffer;
  192. PFN_vkDestroyImage vkDestroyImage;
  193. PFN_vkDestroyImageView vkDestroyImageView;
  194. PFN_vkDestroyPipeline vkDestroyPipeline;
  195. PFN_vkDestroyPipelineCache vkDestroyPipelineCache;
  196. PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout;
  197. PFN_vkDestroyQueryPool vkDestroyQueryPool;
  198. PFN_vkDestroyRenderPass vkDestroyRenderPass;
  199. PFN_vkDestroySampler vkDestroySampler;
  200. PFN_vkDestroySemaphore vkDestroySemaphore;
  201. PFN_vkDestroyShaderModule vkDestroyShaderModule;
  202. PFN_vkDeviceWaitIdle vkDeviceWaitIdle;
  203. PFN_vkEndCommandBuffer vkEndCommandBuffer;
  204. PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
  205. PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
  206. PFN_vkFreeDescriptorSets vkFreeDescriptorSets;
  207. PFN_vkFreeMemory vkFreeMemory;
  208. PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
  209. PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment;
  210. PFN_vkGetDeviceQueue vkGetDeviceQueue;
  211. PFN_vkGetEventStatus vkGetEventStatus;
  212. PFN_vkGetFenceStatus vkGetFenceStatus;
  213. PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
  214. PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements;
  215. PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
  216. PFN_vkGetPipelineCacheData vkGetPipelineCacheData;
  217. PFN_vkGetQueryPoolResults vkGetQueryPoolResults;
  218. PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity;
  219. PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
  220. PFN_vkMapMemory vkMapMemory;
  221. PFN_vkMergePipelineCaches vkMergePipelineCaches;
  222. PFN_vkQueueBindSparse vkQueueBindSparse;
  223. PFN_vkQueueSubmit vkQueueSubmit;
  224. PFN_vkQueueWaitIdle vkQueueWaitIdle;
  225. PFN_vkResetCommandBuffer vkResetCommandBuffer;
  226. PFN_vkResetCommandPool vkResetCommandPool;
  227. PFN_vkResetDescriptorPool vkResetDescriptorPool;
  228. PFN_vkResetEvent vkResetEvent;
  229. PFN_vkResetFences vkResetFences;
  230. PFN_vkSetEvent vkSetEvent;
  231. PFN_vkUnmapMemory vkUnmapMemory;
  232. PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets;
  233. PFN_vkWaitForFences vkWaitForFences;
  234. #endif /* defined(VK_VERSION_1_0) */
  235. #if defined(VK_VERSION_1_1)
  236. PFN_vkBindBufferMemory2 vkBindBufferMemory2;
  237. PFN_vkBindImageMemory2 vkBindImageMemory2;
  238. PFN_vkCmdDispatchBase vkCmdDispatchBase;
  239. PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask;
  240. PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate;
  241. PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion;
  242. PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate;
  243. PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion;
  244. PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2;
  245. PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport;
  246. PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures;
  247. PFN_vkGetDeviceQueue2 vkGetDeviceQueue2;
  248. PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2;
  249. PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2;
  250. PFN_vkTrimCommandPool vkTrimCommandPool;
  251. PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate;
  252. #endif /* defined(VK_VERSION_1_1) */
  253. #if defined(VK_VERSION_1_2)
  254. PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2;
  255. PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount;
  256. PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount;
  257. PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2;
  258. PFN_vkCmdNextSubpass2 vkCmdNextSubpass2;
  259. PFN_vkCreateRenderPass2 vkCreateRenderPass2;
  260. PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress;
  261. PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress;
  262. PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress;
  263. PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue;
  264. PFN_vkResetQueryPool vkResetQueryPool;
  265. PFN_vkSignalSemaphore vkSignalSemaphore;
  266. PFN_vkWaitSemaphores vkWaitSemaphores;
  267. #endif /* defined(VK_VERSION_1_2) */
  268. #if defined(VK_VERSION_1_3)
  269. PFN_vkCmdBeginRendering vkCmdBeginRendering;
  270. PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2;
  271. PFN_vkCmdBlitImage2 vkCmdBlitImage2;
  272. PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2;
  273. PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2;
  274. PFN_vkCmdCopyImage2 vkCmdCopyImage2;
  275. PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2;
  276. PFN_vkCmdEndRendering vkCmdEndRendering;
  277. PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2;
  278. PFN_vkCmdResetEvent2 vkCmdResetEvent2;
  279. PFN_vkCmdResolveImage2 vkCmdResolveImage2;
  280. PFN_vkCmdSetCullMode vkCmdSetCullMode;
  281. PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable;
  282. PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable;
  283. PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp;
  284. PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable;
  285. PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable;
  286. PFN_vkCmdSetEvent2 vkCmdSetEvent2;
  287. PFN_vkCmdSetFrontFace vkCmdSetFrontFace;
  288. PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable;
  289. PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology;
  290. PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable;
  291. PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount;
  292. PFN_vkCmdSetStencilOp vkCmdSetStencilOp;
  293. PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable;
  294. PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount;
  295. PFN_vkCmdWaitEvents2 vkCmdWaitEvents2;
  296. PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2;
  297. PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot;
  298. PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot;
  299. PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements;
  300. PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements;
  301. PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements;
  302. PFN_vkGetPrivateData vkGetPrivateData;
  303. PFN_vkQueueSubmit2 vkQueueSubmit2;
  304. PFN_vkSetPrivateData vkSetPrivateData;
  305. #endif /* defined(VK_VERSION_1_3) */
  306. #if defined(VK_AMD_buffer_marker)
  307. PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD;
  308. #endif /* defined(VK_AMD_buffer_marker) */
  309. #if defined(VK_AMD_display_native_hdr)
  310. PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD;
  311. #endif /* defined(VK_AMD_display_native_hdr) */
  312. #if defined(VK_AMD_draw_indirect_count)
  313. PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD;
  314. PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD;
  315. #endif /* defined(VK_AMD_draw_indirect_count) */
  316. #if defined(VK_AMD_shader_info)
  317. PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD;
  318. #endif /* defined(VK_AMD_shader_info) */
  319. #if defined(VK_ANDROID_external_memory_android_hardware_buffer)
  320. PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
  321. PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
  322. #endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
  323. #if defined(VK_EXT_buffer_device_address)
  324. PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT;
  325. #endif /* defined(VK_EXT_buffer_device_address) */
  326. #if defined(VK_EXT_calibrated_timestamps)
  327. PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT;
  328. #endif /* defined(VK_EXT_calibrated_timestamps) */
  329. #if defined(VK_EXT_color_write_enable)
  330. PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT;
  331. #endif /* defined(VK_EXT_color_write_enable) */
  332. #if defined(VK_EXT_conditional_rendering)
  333. PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT;
  334. PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT;
  335. #endif /* defined(VK_EXT_conditional_rendering) */
  336. #if defined(VK_EXT_debug_marker)
  337. PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT;
  338. PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT;
  339. PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT;
  340. PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT;
  341. PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT;
  342. #endif /* defined(VK_EXT_debug_marker) */
  343. #if defined(VK_EXT_device_fault)
  344. PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT;
  345. #endif /* defined(VK_EXT_device_fault) */
  346. #if defined(VK_EXT_discard_rectangles)
  347. PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT;
  348. #endif /* defined(VK_EXT_discard_rectangles) */
  349. #if defined(VK_EXT_display_control)
  350. PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT;
  351. PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT;
  352. PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT;
  353. PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT;
  354. #endif /* defined(VK_EXT_display_control) */
  355. #if defined(VK_EXT_extended_dynamic_state)
  356. PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT;
  357. PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT;
  358. PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT;
  359. PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT;
  360. PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT;
  361. PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT;
  362. PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT;
  363. PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT;
  364. PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT;
  365. PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT;
  366. PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT;
  367. PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT;
  368. #endif /* defined(VK_EXT_extended_dynamic_state) */
  369. #if defined(VK_EXT_extended_dynamic_state2)
  370. PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT;
  371. PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT;
  372. PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT;
  373. PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT;
  374. PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT;
  375. #endif /* defined(VK_EXT_extended_dynamic_state2) */
  376. #if defined(VK_EXT_extended_dynamic_state3)
  377. PFN_vkCmdSetAlphaToCoverageEnableEXT vkCmdSetAlphaToCoverageEnableEXT;
  378. PFN_vkCmdSetAlphaToOneEnableEXT vkCmdSetAlphaToOneEnableEXT;
  379. PFN_vkCmdSetColorBlendAdvancedEXT vkCmdSetColorBlendAdvancedEXT;
  380. PFN_vkCmdSetColorBlendEnableEXT vkCmdSetColorBlendEnableEXT;
  381. PFN_vkCmdSetColorBlendEquationEXT vkCmdSetColorBlendEquationEXT;
  382. PFN_vkCmdSetColorWriteMaskEXT vkCmdSetColorWriteMaskEXT;
  383. PFN_vkCmdSetConservativeRasterizationModeEXT vkCmdSetConservativeRasterizationModeEXT;
  384. PFN_vkCmdSetCoverageModulationModeNV vkCmdSetCoverageModulationModeNV;
  385. PFN_vkCmdSetCoverageModulationTableEnableNV vkCmdSetCoverageModulationTableEnableNV;
  386. PFN_vkCmdSetCoverageModulationTableNV vkCmdSetCoverageModulationTableNV;
  387. PFN_vkCmdSetCoverageReductionModeNV vkCmdSetCoverageReductionModeNV;
  388. PFN_vkCmdSetCoverageToColorEnableNV vkCmdSetCoverageToColorEnableNV;
  389. PFN_vkCmdSetCoverageToColorLocationNV vkCmdSetCoverageToColorLocationNV;
  390. PFN_vkCmdSetDepthClampEnableEXT vkCmdSetDepthClampEnableEXT;
  391. PFN_vkCmdSetDepthClipEnableEXT vkCmdSetDepthClipEnableEXT;
  392. PFN_vkCmdSetDepthClipNegativeOneToOneEXT vkCmdSetDepthClipNegativeOneToOneEXT;
  393. PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT vkCmdSetExtraPrimitiveOverestimationSizeEXT;
  394. PFN_vkCmdSetLineRasterizationModeEXT vkCmdSetLineRasterizationModeEXT;
  395. PFN_vkCmdSetLineStippleEnableEXT vkCmdSetLineStippleEnableEXT;
  396. PFN_vkCmdSetLogicOpEnableEXT vkCmdSetLogicOpEnableEXT;
  397. PFN_vkCmdSetPolygonModeEXT vkCmdSetPolygonModeEXT;
  398. PFN_vkCmdSetProvokingVertexModeEXT vkCmdSetProvokingVertexModeEXT;
  399. PFN_vkCmdSetRasterizationSamplesEXT vkCmdSetRasterizationSamplesEXT;
  400. PFN_vkCmdSetRasterizationStreamEXT vkCmdSetRasterizationStreamEXT;
  401. PFN_vkCmdSetRepresentativeFragmentTestEnableNV vkCmdSetRepresentativeFragmentTestEnableNV;
  402. PFN_vkCmdSetSampleLocationsEnableEXT vkCmdSetSampleLocationsEnableEXT;
  403. PFN_vkCmdSetSampleMaskEXT vkCmdSetSampleMaskEXT;
  404. PFN_vkCmdSetShadingRateImageEnableNV vkCmdSetShadingRateImageEnableNV;
  405. PFN_vkCmdSetTessellationDomainOriginEXT vkCmdSetTessellationDomainOriginEXT;
  406. PFN_vkCmdSetViewportSwizzleNV vkCmdSetViewportSwizzleNV;
  407. PFN_vkCmdSetViewportWScalingEnableNV vkCmdSetViewportWScalingEnableNV;
  408. #endif /* defined(VK_EXT_extended_dynamic_state3) */
  409. #if defined(VK_EXT_external_memory_host)
  410. PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT;
  411. #endif /* defined(VK_EXT_external_memory_host) */
  412. #if defined(VK_EXT_full_screen_exclusive)
  413. PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT;
  414. PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT;
  415. #endif /* defined(VK_EXT_full_screen_exclusive) */
  416. #if defined(VK_EXT_hdr_metadata)
  417. PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT;
  418. #endif /* defined(VK_EXT_hdr_metadata) */
  419. #if defined(VK_EXT_host_query_reset)
  420. PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT;
  421. #endif /* defined(VK_EXT_host_query_reset) */
  422. #if defined(VK_EXT_image_compression_control)
  423. PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT;
  424. #endif /* defined(VK_EXT_image_compression_control) */
  425. #if defined(VK_EXT_image_drm_format_modifier)
  426. PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT;
  427. #endif /* defined(VK_EXT_image_drm_format_modifier) */
  428. #if defined(VK_EXT_line_rasterization)
  429. PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT;
  430. #endif /* defined(VK_EXT_line_rasterization) */
  431. #if defined(VK_EXT_mesh_shader)
  432. PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT;
  433. PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT;
  434. PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT;
  435. #endif /* defined(VK_EXT_mesh_shader) */
  436. #if defined(VK_EXT_metal_objects)
  437. PFN_vkExportMetalObjectsEXT vkExportMetalObjectsEXT;
  438. #endif /* defined(VK_EXT_metal_objects) */
  439. #if defined(VK_EXT_multi_draw)
  440. PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT;
  441. PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT;
  442. #endif /* defined(VK_EXT_multi_draw) */
  443. #if defined(VK_EXT_opacity_micromap)
  444. PFN_vkBuildMicromapsEXT vkBuildMicromapsEXT;
  445. PFN_vkCmdBuildMicromapsEXT vkCmdBuildMicromapsEXT;
  446. PFN_vkCmdCopyMemoryToMicromapEXT vkCmdCopyMemoryToMicromapEXT;
  447. PFN_vkCmdCopyMicromapEXT vkCmdCopyMicromapEXT;
  448. PFN_vkCmdCopyMicromapToMemoryEXT vkCmdCopyMicromapToMemoryEXT;
  449. PFN_vkCmdWriteMicromapsPropertiesEXT vkCmdWriteMicromapsPropertiesEXT;
  450. PFN_vkCopyMemoryToMicromapEXT vkCopyMemoryToMicromapEXT;
  451. PFN_vkCopyMicromapEXT vkCopyMicromapEXT;
  452. PFN_vkCopyMicromapToMemoryEXT vkCopyMicromapToMemoryEXT;
  453. PFN_vkCreateMicromapEXT vkCreateMicromapEXT;
  454. PFN_vkDestroyMicromapEXT vkDestroyMicromapEXT;
  455. PFN_vkGetDeviceMicromapCompatibilityEXT vkGetDeviceMicromapCompatibilityEXT;
  456. PFN_vkGetMicromapBuildSizesEXT vkGetMicromapBuildSizesEXT;
  457. PFN_vkWriteMicromapsPropertiesEXT vkWriteMicromapsPropertiesEXT;
  458. #endif /* defined(VK_EXT_opacity_micromap) */
  459. #if defined(VK_EXT_pageable_device_local_memory)
  460. PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT;
  461. #endif /* defined(VK_EXT_pageable_device_local_memory) */
  462. #if defined(VK_EXT_pipeline_properties)
  463. PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT;
  464. #endif /* defined(VK_EXT_pipeline_properties) */
  465. #if defined(VK_EXT_private_data)
  466. PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT;
  467. PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT;
  468. PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT;
  469. PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT;
  470. #endif /* defined(VK_EXT_private_data) */
  471. #if defined(VK_EXT_sample_locations)
  472. PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT;
  473. #endif /* defined(VK_EXT_sample_locations) */
  474. #if defined(VK_EXT_shader_module_identifier)
  475. PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT;
  476. PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT;
  477. #endif /* defined(VK_EXT_shader_module_identifier) */
  478. #if defined(VK_EXT_transform_feedback)
  479. PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT;
  480. PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT;
  481. PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT;
  482. PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT;
  483. PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT;
  484. PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT;
  485. #endif /* defined(VK_EXT_transform_feedback) */
  486. #if defined(VK_EXT_validation_cache)
  487. PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT;
  488. PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT;
  489. PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT;
  490. PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT;
  491. #endif /* defined(VK_EXT_validation_cache) */
  492. #if defined(VK_EXT_vertex_input_dynamic_state)
  493. PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT;
  494. #endif /* defined(VK_EXT_vertex_input_dynamic_state) */
  495. #if defined(VK_FUCHSIA_buffer_collection)
  496. PFN_vkCreateBufferCollectionFUCHSIA vkCreateBufferCollectionFUCHSIA;
  497. PFN_vkDestroyBufferCollectionFUCHSIA vkDestroyBufferCollectionFUCHSIA;
  498. PFN_vkGetBufferCollectionPropertiesFUCHSIA vkGetBufferCollectionPropertiesFUCHSIA;
  499. PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA vkSetBufferCollectionBufferConstraintsFUCHSIA;
  500. PFN_vkSetBufferCollectionImageConstraintsFUCHSIA vkSetBufferCollectionImageConstraintsFUCHSIA;
  501. #endif /* defined(VK_FUCHSIA_buffer_collection) */
  502. #if defined(VK_FUCHSIA_external_memory)
  503. PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA;
  504. PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA;
  505. #endif /* defined(VK_FUCHSIA_external_memory) */
  506. #if defined(VK_FUCHSIA_external_semaphore)
  507. PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA;
  508. PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA;
  509. #endif /* defined(VK_FUCHSIA_external_semaphore) */
  510. #if defined(VK_GOOGLE_display_timing)
  511. PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE;
  512. PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE;
  513. #endif /* defined(VK_GOOGLE_display_timing) */
  514. #if defined(VK_HUAWEI_invocation_mask)
  515. PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI;
  516. #endif /* defined(VK_HUAWEI_invocation_mask) */
  517. #if defined(VK_HUAWEI_subpass_shading)
  518. PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI;
  519. PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
  520. #endif /* defined(VK_HUAWEI_subpass_shading) */
  521. #if defined(VK_INTEL_performance_query)
  522. PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL;
  523. PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL;
  524. PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL;
  525. PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL;
  526. PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL;
  527. PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL;
  528. PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL;
  529. PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL;
  530. PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL;
  531. #endif /* defined(VK_INTEL_performance_query) */
  532. #if defined(VK_KHR_acceleration_structure)
  533. PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR;
  534. PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR;
  535. PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR;
  536. PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR;
  537. PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR;
  538. PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR;
  539. PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR;
  540. PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR;
  541. PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR;
  542. PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR;
  543. PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR;
  544. PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR;
  545. PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR;
  546. PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR;
  547. PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR;
  548. PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR;
  549. #endif /* defined(VK_KHR_acceleration_structure) */
  550. #if defined(VK_KHR_bind_memory2)
  551. PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR;
  552. PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR;
  553. #endif /* defined(VK_KHR_bind_memory2) */
  554. #if defined(VK_KHR_buffer_device_address)
  555. PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR;
  556. PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR;
  557. PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR;
  558. #endif /* defined(VK_KHR_buffer_device_address) */
  559. #if defined(VK_KHR_copy_commands2)
  560. PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR;
  561. PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR;
  562. PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR;
  563. PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR;
  564. PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR;
  565. PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR;
  566. #endif /* defined(VK_KHR_copy_commands2) */
  567. #if defined(VK_KHR_create_renderpass2)
  568. PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR;
  569. PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR;
  570. PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR;
  571. PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR;
  572. #endif /* defined(VK_KHR_create_renderpass2) */
  573. #if defined(VK_KHR_deferred_host_operations)
  574. PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR;
  575. PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR;
  576. PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR;
  577. PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR;
  578. PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR;
  579. #endif /* defined(VK_KHR_deferred_host_operations) */
  580. #if defined(VK_KHR_descriptor_update_template)
  581. PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR;
  582. PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR;
  583. PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR;
  584. #endif /* defined(VK_KHR_descriptor_update_template) */
  585. #if defined(VK_KHR_device_group)
  586. PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR;
  587. PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR;
  588. PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR;
  589. #endif /* defined(VK_KHR_device_group) */
  590. #if defined(VK_KHR_display_swapchain)
  591. PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR;
  592. #endif /* defined(VK_KHR_display_swapchain) */
  593. #if defined(VK_KHR_draw_indirect_count)
  594. PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR;
  595. PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR;
  596. #endif /* defined(VK_KHR_draw_indirect_count) */
  597. #if defined(VK_KHR_dynamic_rendering)
  598. PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR;
  599. PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR;
  600. #endif /* defined(VK_KHR_dynamic_rendering) */
  601. #if defined(VK_KHR_external_fence_fd)
  602. PFN_vkGetFenceFdKHR vkGetFenceFdKHR;
  603. PFN_vkImportFenceFdKHR vkImportFenceFdKHR;
  604. #endif /* defined(VK_KHR_external_fence_fd) */
  605. #if defined(VK_KHR_external_fence_win32)
  606. PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR;
  607. PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR;
  608. #endif /* defined(VK_KHR_external_fence_win32) */
  609. #if defined(VK_KHR_external_memory_fd)
  610. PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR;
  611. PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR;
  612. #endif /* defined(VK_KHR_external_memory_fd) */
  613. #if defined(VK_KHR_external_memory_win32)
  614. PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
  615. PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR;
  616. #endif /* defined(VK_KHR_external_memory_win32) */
  617. #if defined(VK_KHR_external_semaphore_fd)
  618. PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
  619. PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
  620. #endif /* defined(VK_KHR_external_semaphore_fd) */
  621. #if defined(VK_KHR_external_semaphore_win32)
  622. PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR;
  623. PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR;
  624. #endif /* defined(VK_KHR_external_semaphore_win32) */
  625. #if defined(VK_KHR_fragment_shading_rate)
  626. PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR;
  627. #endif /* defined(VK_KHR_fragment_shading_rate) */
  628. #if defined(VK_KHR_get_memory_requirements2)
  629. PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR;
  630. PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR;
  631. PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR;
  632. #endif /* defined(VK_KHR_get_memory_requirements2) */
  633. #if defined(VK_KHR_maintenance1)
  634. PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR;
  635. #endif /* defined(VK_KHR_maintenance1) */
  636. #if defined(VK_KHR_maintenance3)
  637. PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR;
  638. #endif /* defined(VK_KHR_maintenance3) */
  639. #if defined(VK_KHR_maintenance4)
  640. PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR;
  641. PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR;
  642. PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR;
  643. #endif /* defined(VK_KHR_maintenance4) */
  644. #if defined(VK_KHR_performance_query)
  645. PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR;
  646. PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR;
  647. #endif /* defined(VK_KHR_performance_query) */
  648. #if defined(VK_KHR_pipeline_executable_properties)
  649. PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR;
  650. PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR;
  651. PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR;
  652. #endif /* defined(VK_KHR_pipeline_executable_properties) */
  653. #if defined(VK_KHR_present_wait)
  654. PFN_vkWaitForPresentKHR vkWaitForPresentKHR;
  655. #endif /* defined(VK_KHR_present_wait) */
  656. #if defined(VK_KHR_push_descriptor)
  657. PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR;
  658. #endif /* defined(VK_KHR_push_descriptor) */
  659. #if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
  660. PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR;
  661. #endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
  662. #if defined(VK_KHR_ray_tracing_pipeline)
  663. PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR;
  664. PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR;
  665. PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR;
  666. PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR;
  667. PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
  668. PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR;
  669. PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR;
  670. #endif /* defined(VK_KHR_ray_tracing_pipeline) */
  671. #if defined(VK_KHR_sampler_ycbcr_conversion)
  672. PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR;
  673. PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR;
  674. #endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
  675. #if defined(VK_KHR_shared_presentable_image)
  676. PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR;
  677. #endif /* defined(VK_KHR_shared_presentable_image) */
  678. #if defined(VK_KHR_swapchain)
  679. PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR;
  680. PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR;
  681. PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR;
  682. PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR;
  683. PFN_vkQueuePresentKHR vkQueuePresentKHR;
  684. #endif /* defined(VK_KHR_swapchain) */
  685. #if defined(VK_KHR_synchronization2)
  686. PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR;
  687. PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR;
  688. PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR;
  689. PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR;
  690. PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR;
  691. PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR;
  692. #endif /* defined(VK_KHR_synchronization2) */
  693. #if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
  694. PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD;
  695. #endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
  696. #if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
  697. PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV;
  698. #endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
  699. #if defined(VK_KHR_timeline_semaphore)
  700. PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR;
  701. PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR;
  702. PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR;
  703. #endif /* defined(VK_KHR_timeline_semaphore) */
  704. #if defined(VK_KHR_video_decode_queue)
  705. PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR;
  706. #endif /* defined(VK_KHR_video_decode_queue) */
  707. #if defined(VK_KHR_video_encode_queue)
  708. PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR;
  709. #endif /* defined(VK_KHR_video_encode_queue) */
  710. #if defined(VK_KHR_video_queue)
  711. PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR;
  712. PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR;
  713. PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR;
  714. PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR;
  715. PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR;
  716. PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR;
  717. PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR;
  718. PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR;
  719. PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR;
  720. PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR;
  721. #endif /* defined(VK_KHR_video_queue) */
  722. #if defined(VK_NVX_binary_import)
  723. PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX;
  724. PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX;
  725. PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX;
  726. PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX;
  727. PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX;
  728. #endif /* defined(VK_NVX_binary_import) */
  729. #if defined(VK_NVX_image_view_handle)
  730. PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX;
  731. PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX;
  732. #endif /* defined(VK_NVX_image_view_handle) */
  733. #if defined(VK_NV_clip_space_w_scaling)
  734. PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV;
  735. #endif /* defined(VK_NV_clip_space_w_scaling) */
  736. #if defined(VK_NV_device_diagnostic_checkpoints)
  737. PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV;
  738. PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV;
  739. #endif /* defined(VK_NV_device_diagnostic_checkpoints) */
  740. #if defined(VK_NV_device_generated_commands)
  741. PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV;
  742. PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV;
  743. PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV;
  744. PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV;
  745. PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV;
  746. PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV;
  747. #endif /* defined(VK_NV_device_generated_commands) */
  748. #if defined(VK_NV_external_memory_rdma)
  749. PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV;
  750. #endif /* defined(VK_NV_external_memory_rdma) */
  751. #if defined(VK_NV_external_memory_win32)
  752. PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV;
  753. #endif /* defined(VK_NV_external_memory_win32) */
  754. #if defined(VK_NV_fragment_shading_rate_enums)
  755. PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV;
  756. #endif /* defined(VK_NV_fragment_shading_rate_enums) */
  757. #if defined(VK_NV_mesh_shader)
  758. PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV;
  759. PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV;
  760. PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV;
  761. #endif /* defined(VK_NV_mesh_shader) */
  762. #if defined(VK_NV_optical_flow)
  763. PFN_vkBindOpticalFlowSessionImageNV vkBindOpticalFlowSessionImageNV;
  764. PFN_vkCmdOpticalFlowExecuteNV vkCmdOpticalFlowExecuteNV;
  765. PFN_vkCreateOpticalFlowSessionNV vkCreateOpticalFlowSessionNV;
  766. PFN_vkDestroyOpticalFlowSessionNV vkDestroyOpticalFlowSessionNV;
  767. #endif /* defined(VK_NV_optical_flow) */
  768. #if defined(VK_NV_ray_tracing)
  769. PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV;
  770. PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV;
  771. PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV;
  772. PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV;
  773. PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV;
  774. PFN_vkCompileDeferredNV vkCompileDeferredNV;
  775. PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV;
  776. PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV;
  777. PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV;
  778. PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV;
  779. PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV;
  780. PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV;
  781. #endif /* defined(VK_NV_ray_tracing) */
  782. #if defined(VK_NV_scissor_exclusive)
  783. PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV;
  784. #endif /* defined(VK_NV_scissor_exclusive) */
  785. #if defined(VK_NV_shading_rate_image)
  786. PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV;
  787. PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV;
  788. PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV;
  789. #endif /* defined(VK_NV_shading_rate_image) */
  790. #if defined(VK_QCOM_tile_properties)
  791. PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM;
  792. PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM;
  793. #endif /* defined(VK_QCOM_tile_properties) */
  794. #if defined(VK_VALVE_descriptor_set_host_mapping)
  795. PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE;
  796. PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE;
  797. #endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
  798. #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
  799. PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT;
  800. #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
  801. #if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template))
  802. PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR;
  803. #endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */
  804. #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
  805. PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR;
  806. PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR;
  807. #endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
  808. #if (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
  809. PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR;
  810. #endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
  811. /* VOLK_GENERATE_DEVICE_TABLE */
  812. };
  813. /* VOLK_GENERATE_PROTOTYPES_H */
  814. #if defined(VK_VERSION_1_0)
  815. extern PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers;
  816. extern PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets;
  817. extern PFN_vkAllocateMemory vkAllocateMemory;
  818. extern PFN_vkBeginCommandBuffer vkBeginCommandBuffer;
  819. extern PFN_vkBindBufferMemory vkBindBufferMemory;
  820. extern PFN_vkBindImageMemory vkBindImageMemory;
  821. extern PFN_vkCmdBeginQuery vkCmdBeginQuery;
  822. extern PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass;
  823. extern PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets;
  824. extern PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer;
  825. extern PFN_vkCmdBindPipeline vkCmdBindPipeline;
  826. extern PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers;
  827. extern PFN_vkCmdBlitImage vkCmdBlitImage;
  828. extern PFN_vkCmdClearAttachments vkCmdClearAttachments;
  829. extern PFN_vkCmdClearColorImage vkCmdClearColorImage;
  830. extern PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage;
  831. extern PFN_vkCmdCopyBuffer vkCmdCopyBuffer;
  832. extern PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage;
  833. extern PFN_vkCmdCopyImage vkCmdCopyImage;
  834. extern PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer;
  835. extern PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults;
  836. extern PFN_vkCmdDispatch vkCmdDispatch;
  837. extern PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect;
  838. extern PFN_vkCmdDraw vkCmdDraw;
  839. extern PFN_vkCmdDrawIndexed vkCmdDrawIndexed;
  840. extern PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect;
  841. extern PFN_vkCmdDrawIndirect vkCmdDrawIndirect;
  842. extern PFN_vkCmdEndQuery vkCmdEndQuery;
  843. extern PFN_vkCmdEndRenderPass vkCmdEndRenderPass;
  844. extern PFN_vkCmdExecuteCommands vkCmdExecuteCommands;
  845. extern PFN_vkCmdFillBuffer vkCmdFillBuffer;
  846. extern PFN_vkCmdNextSubpass vkCmdNextSubpass;
  847. extern PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier;
  848. extern PFN_vkCmdPushConstants vkCmdPushConstants;
  849. extern PFN_vkCmdResetEvent vkCmdResetEvent;
  850. extern PFN_vkCmdResetQueryPool vkCmdResetQueryPool;
  851. extern PFN_vkCmdResolveImage vkCmdResolveImage;
  852. extern PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants;
  853. extern PFN_vkCmdSetDepthBias vkCmdSetDepthBias;
  854. extern PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds;
  855. extern PFN_vkCmdSetEvent vkCmdSetEvent;
  856. extern PFN_vkCmdSetLineWidth vkCmdSetLineWidth;
  857. extern PFN_vkCmdSetScissor vkCmdSetScissor;
  858. extern PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask;
  859. extern PFN_vkCmdSetStencilReference vkCmdSetStencilReference;
  860. extern PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask;
  861. extern PFN_vkCmdSetViewport vkCmdSetViewport;
  862. extern PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer;
  863. extern PFN_vkCmdWaitEvents vkCmdWaitEvents;
  864. extern PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp;
  865. extern PFN_vkCreateBuffer vkCreateBuffer;
  866. extern PFN_vkCreateBufferView vkCreateBufferView;
  867. extern PFN_vkCreateCommandPool vkCreateCommandPool;
  868. extern PFN_vkCreateComputePipelines vkCreateComputePipelines;
  869. extern PFN_vkCreateDescriptorPool vkCreateDescriptorPool;
  870. extern PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout;
  871. extern PFN_vkCreateDevice vkCreateDevice;
  872. extern PFN_vkCreateEvent vkCreateEvent;
  873. extern PFN_vkCreateFence vkCreateFence;
  874. extern PFN_vkCreateFramebuffer vkCreateFramebuffer;
  875. extern PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines;
  876. extern PFN_vkCreateImage vkCreateImage;
  877. extern PFN_vkCreateImageView vkCreateImageView;
  878. extern PFN_vkCreateInstance vkCreateInstance;
  879. extern PFN_vkCreatePipelineCache vkCreatePipelineCache;
  880. extern PFN_vkCreatePipelineLayout vkCreatePipelineLayout;
  881. extern PFN_vkCreateQueryPool vkCreateQueryPool;
  882. extern PFN_vkCreateRenderPass vkCreateRenderPass;
  883. extern PFN_vkCreateSampler vkCreateSampler;
  884. extern PFN_vkCreateSemaphore vkCreateSemaphore;
  885. extern PFN_vkCreateShaderModule vkCreateShaderModule;
  886. extern PFN_vkDestroyBuffer vkDestroyBuffer;
  887. extern PFN_vkDestroyBufferView vkDestroyBufferView;
  888. extern PFN_vkDestroyCommandPool vkDestroyCommandPool;
  889. extern PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool;
  890. extern PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout;
  891. extern PFN_vkDestroyDevice vkDestroyDevice;
  892. extern PFN_vkDestroyEvent vkDestroyEvent;
  893. extern PFN_vkDestroyFence vkDestroyFence;
  894. extern PFN_vkDestroyFramebuffer vkDestroyFramebuffer;
  895. extern PFN_vkDestroyImage vkDestroyImage;
  896. extern PFN_vkDestroyImageView vkDestroyImageView;
  897. extern PFN_vkDestroyInstance vkDestroyInstance;
  898. extern PFN_vkDestroyPipeline vkDestroyPipeline;
  899. extern PFN_vkDestroyPipelineCache vkDestroyPipelineCache;
  900. extern PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout;
  901. extern PFN_vkDestroyQueryPool vkDestroyQueryPool;
  902. extern PFN_vkDestroyRenderPass vkDestroyRenderPass;
  903. extern PFN_vkDestroySampler vkDestroySampler;
  904. extern PFN_vkDestroySemaphore vkDestroySemaphore;
  905. extern PFN_vkDestroyShaderModule vkDestroyShaderModule;
  906. extern PFN_vkDeviceWaitIdle vkDeviceWaitIdle;
  907. extern PFN_vkEndCommandBuffer vkEndCommandBuffer;
  908. extern PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties;
  909. extern PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties;
  910. extern PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties;
  911. extern PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties;
  912. extern PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices;
  913. extern PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges;
  914. extern PFN_vkFreeCommandBuffers vkFreeCommandBuffers;
  915. extern PFN_vkFreeDescriptorSets vkFreeDescriptorSets;
  916. extern PFN_vkFreeMemory vkFreeMemory;
  917. extern PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements;
  918. extern PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment;
  919. extern PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr;
  920. extern PFN_vkGetDeviceQueue vkGetDeviceQueue;
  921. extern PFN_vkGetEventStatus vkGetEventStatus;
  922. extern PFN_vkGetFenceStatus vkGetFenceStatus;
  923. extern PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements;
  924. extern PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements;
  925. extern PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout;
  926. extern PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr;
  927. extern PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures;
  928. extern PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties;
  929. extern PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties;
  930. extern PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties;
  931. extern PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties;
  932. extern PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties;
  933. extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties;
  934. extern PFN_vkGetPipelineCacheData vkGetPipelineCacheData;
  935. extern PFN_vkGetQueryPoolResults vkGetQueryPoolResults;
  936. extern PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity;
  937. extern PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges;
  938. extern PFN_vkMapMemory vkMapMemory;
  939. extern PFN_vkMergePipelineCaches vkMergePipelineCaches;
  940. extern PFN_vkQueueBindSparse vkQueueBindSparse;
  941. extern PFN_vkQueueSubmit vkQueueSubmit;
  942. extern PFN_vkQueueWaitIdle vkQueueWaitIdle;
  943. extern PFN_vkResetCommandBuffer vkResetCommandBuffer;
  944. extern PFN_vkResetCommandPool vkResetCommandPool;
  945. extern PFN_vkResetDescriptorPool vkResetDescriptorPool;
  946. extern PFN_vkResetEvent vkResetEvent;
  947. extern PFN_vkResetFences vkResetFences;
  948. extern PFN_vkSetEvent vkSetEvent;
  949. extern PFN_vkUnmapMemory vkUnmapMemory;
  950. extern PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets;
  951. extern PFN_vkWaitForFences vkWaitForFences;
  952. #endif /* defined(VK_VERSION_1_0) */
  953. #if defined(VK_VERSION_1_1)
  954. extern PFN_vkBindBufferMemory2 vkBindBufferMemory2;
  955. extern PFN_vkBindImageMemory2 vkBindImageMemory2;
  956. extern PFN_vkCmdDispatchBase vkCmdDispatchBase;
  957. extern PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask;
  958. extern PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate;
  959. extern PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion;
  960. extern PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate;
  961. extern PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion;
  962. extern PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion;
  963. extern PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups;
  964. extern PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2;
  965. extern PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport;
  966. extern PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures;
  967. extern PFN_vkGetDeviceQueue2 vkGetDeviceQueue2;
  968. extern PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2;
  969. extern PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2;
  970. extern PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties;
  971. extern PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties;
  972. extern PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties;
  973. extern PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2;
  974. extern PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2;
  975. extern PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2;
  976. extern PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2;
  977. extern PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2;
  978. extern PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2;
  979. extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2;
  980. extern PFN_vkTrimCommandPool vkTrimCommandPool;
  981. extern PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate;
  982. #endif /* defined(VK_VERSION_1_1) */
  983. #if defined(VK_VERSION_1_2)
  984. extern PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2;
  985. extern PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount;
  986. extern PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount;
  987. extern PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2;
  988. extern PFN_vkCmdNextSubpass2 vkCmdNextSubpass2;
  989. extern PFN_vkCreateRenderPass2 vkCreateRenderPass2;
  990. extern PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress;
  991. extern PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress;
  992. extern PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress;
  993. extern PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue;
  994. extern PFN_vkResetQueryPool vkResetQueryPool;
  995. extern PFN_vkSignalSemaphore vkSignalSemaphore;
  996. extern PFN_vkWaitSemaphores vkWaitSemaphores;
  997. #endif /* defined(VK_VERSION_1_2) */
  998. #if defined(VK_VERSION_1_3)
  999. extern PFN_vkCmdBeginRendering vkCmdBeginRendering;
  1000. extern PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2;
  1001. extern PFN_vkCmdBlitImage2 vkCmdBlitImage2;
  1002. extern PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2;
  1003. extern PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2;
  1004. extern PFN_vkCmdCopyImage2 vkCmdCopyImage2;
  1005. extern PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2;
  1006. extern PFN_vkCmdEndRendering vkCmdEndRendering;
  1007. extern PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2;
  1008. extern PFN_vkCmdResetEvent2 vkCmdResetEvent2;
  1009. extern PFN_vkCmdResolveImage2 vkCmdResolveImage2;
  1010. extern PFN_vkCmdSetCullMode vkCmdSetCullMode;
  1011. extern PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable;
  1012. extern PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable;
  1013. extern PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp;
  1014. extern PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable;
  1015. extern PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable;
  1016. extern PFN_vkCmdSetEvent2 vkCmdSetEvent2;
  1017. extern PFN_vkCmdSetFrontFace vkCmdSetFrontFace;
  1018. extern PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable;
  1019. extern PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology;
  1020. extern PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable;
  1021. extern PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount;
  1022. extern PFN_vkCmdSetStencilOp vkCmdSetStencilOp;
  1023. extern PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable;
  1024. extern PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount;
  1025. extern PFN_vkCmdWaitEvents2 vkCmdWaitEvents2;
  1026. extern PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2;
  1027. extern PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot;
  1028. extern PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot;
  1029. extern PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements;
  1030. extern PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements;
  1031. extern PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements;
  1032. extern PFN_vkGetPhysicalDeviceToolProperties vkGetPhysicalDeviceToolProperties;
  1033. extern PFN_vkGetPrivateData vkGetPrivateData;
  1034. extern PFN_vkQueueSubmit2 vkQueueSubmit2;
  1035. extern PFN_vkSetPrivateData vkSetPrivateData;
  1036. #endif /* defined(VK_VERSION_1_3) */
  1037. #if defined(VK_AMD_buffer_marker)
  1038. extern PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD;
  1039. #endif /* defined(VK_AMD_buffer_marker) */
  1040. #if defined(VK_AMD_display_native_hdr)
  1041. extern PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD;
  1042. #endif /* defined(VK_AMD_display_native_hdr) */
  1043. #if defined(VK_AMD_draw_indirect_count)
  1044. extern PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD;
  1045. extern PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD;
  1046. #endif /* defined(VK_AMD_draw_indirect_count) */
  1047. #if defined(VK_AMD_shader_info)
  1048. extern PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD;
  1049. #endif /* defined(VK_AMD_shader_info) */
  1050. #if defined(VK_ANDROID_external_memory_android_hardware_buffer)
  1051. extern PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID;
  1052. extern PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID;
  1053. #endif /* defined(VK_ANDROID_external_memory_android_hardware_buffer) */
  1054. #if defined(VK_EXT_acquire_drm_display)
  1055. extern PFN_vkAcquireDrmDisplayEXT vkAcquireDrmDisplayEXT;
  1056. extern PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT;
  1057. #endif /* defined(VK_EXT_acquire_drm_display) */
  1058. #if defined(VK_EXT_acquire_xlib_display)
  1059. extern PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT;
  1060. extern PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT;
  1061. #endif /* defined(VK_EXT_acquire_xlib_display) */
  1062. #if defined(VK_EXT_buffer_device_address)
  1063. extern PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT;
  1064. #endif /* defined(VK_EXT_buffer_device_address) */
  1065. #if defined(VK_EXT_calibrated_timestamps)
  1066. extern PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT;
  1067. extern PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT vkGetPhysicalDeviceCalibrateableTimeDomainsEXT;
  1068. #endif /* defined(VK_EXT_calibrated_timestamps) */
  1069. #if defined(VK_EXT_color_write_enable)
  1070. extern PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT;
  1071. #endif /* defined(VK_EXT_color_write_enable) */
  1072. #if defined(VK_EXT_conditional_rendering)
  1073. extern PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT;
  1074. extern PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT;
  1075. #endif /* defined(VK_EXT_conditional_rendering) */
  1076. #if defined(VK_EXT_debug_marker)
  1077. extern PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT;
  1078. extern PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT;
  1079. extern PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT;
  1080. extern PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT;
  1081. extern PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT;
  1082. #endif /* defined(VK_EXT_debug_marker) */
  1083. #if defined(VK_EXT_debug_report)
  1084. extern PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT;
  1085. extern PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT;
  1086. extern PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT;
  1087. #endif /* defined(VK_EXT_debug_report) */
  1088. #if defined(VK_EXT_debug_utils)
  1089. extern PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT;
  1090. extern PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT;
  1091. extern PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT;
  1092. extern PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT;
  1093. extern PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT;
  1094. extern PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT;
  1095. extern PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT;
  1096. extern PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT;
  1097. extern PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT;
  1098. extern PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT;
  1099. extern PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT;
  1100. #endif /* defined(VK_EXT_debug_utils) */
  1101. #if defined(VK_EXT_device_fault)
  1102. extern PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT;
  1103. #endif /* defined(VK_EXT_device_fault) */
  1104. #if defined(VK_EXT_direct_mode_display)
  1105. extern PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT;
  1106. #endif /* defined(VK_EXT_direct_mode_display) */
  1107. #if defined(VK_EXT_directfb_surface)
  1108. extern PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT;
  1109. extern PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT;
  1110. #endif /* defined(VK_EXT_directfb_surface) */
  1111. #if defined(VK_EXT_discard_rectangles)
  1112. extern PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT;
  1113. #endif /* defined(VK_EXT_discard_rectangles) */
  1114. #if defined(VK_EXT_display_control)
  1115. extern PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT;
  1116. extern PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT;
  1117. extern PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT;
  1118. extern PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT;
  1119. #endif /* defined(VK_EXT_display_control) */
  1120. #if defined(VK_EXT_display_surface_counter)
  1121. extern PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT;
  1122. #endif /* defined(VK_EXT_display_surface_counter) */
  1123. #if defined(VK_EXT_extended_dynamic_state)
  1124. extern PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT;
  1125. extern PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT;
  1126. extern PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT;
  1127. extern PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT;
  1128. extern PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT;
  1129. extern PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT;
  1130. extern PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT;
  1131. extern PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT;
  1132. extern PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT;
  1133. extern PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT;
  1134. extern PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT;
  1135. extern PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT;
  1136. #endif /* defined(VK_EXT_extended_dynamic_state) */
  1137. #if defined(VK_EXT_extended_dynamic_state2)
  1138. extern PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT;
  1139. extern PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT;
  1140. extern PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT;
  1141. extern PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT;
  1142. extern PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT;
  1143. #endif /* defined(VK_EXT_extended_dynamic_state2) */
  1144. #if defined(VK_EXT_extended_dynamic_state3)
  1145. extern PFN_vkCmdSetAlphaToCoverageEnableEXT vkCmdSetAlphaToCoverageEnableEXT;
  1146. extern PFN_vkCmdSetAlphaToOneEnableEXT vkCmdSetAlphaToOneEnableEXT;
  1147. extern PFN_vkCmdSetColorBlendAdvancedEXT vkCmdSetColorBlendAdvancedEXT;
  1148. extern PFN_vkCmdSetColorBlendEnableEXT vkCmdSetColorBlendEnableEXT;
  1149. extern PFN_vkCmdSetColorBlendEquationEXT vkCmdSetColorBlendEquationEXT;
  1150. extern PFN_vkCmdSetColorWriteMaskEXT vkCmdSetColorWriteMaskEXT;
  1151. extern PFN_vkCmdSetConservativeRasterizationModeEXT vkCmdSetConservativeRasterizationModeEXT;
  1152. extern PFN_vkCmdSetCoverageModulationModeNV vkCmdSetCoverageModulationModeNV;
  1153. extern PFN_vkCmdSetCoverageModulationTableEnableNV vkCmdSetCoverageModulationTableEnableNV;
  1154. extern PFN_vkCmdSetCoverageModulationTableNV vkCmdSetCoverageModulationTableNV;
  1155. extern PFN_vkCmdSetCoverageReductionModeNV vkCmdSetCoverageReductionModeNV;
  1156. extern PFN_vkCmdSetCoverageToColorEnableNV vkCmdSetCoverageToColorEnableNV;
  1157. extern PFN_vkCmdSetCoverageToColorLocationNV vkCmdSetCoverageToColorLocationNV;
  1158. extern PFN_vkCmdSetDepthClampEnableEXT vkCmdSetDepthClampEnableEXT;
  1159. extern PFN_vkCmdSetDepthClipEnableEXT vkCmdSetDepthClipEnableEXT;
  1160. extern PFN_vkCmdSetDepthClipNegativeOneToOneEXT vkCmdSetDepthClipNegativeOneToOneEXT;
  1161. extern PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT vkCmdSetExtraPrimitiveOverestimationSizeEXT;
  1162. extern PFN_vkCmdSetLineRasterizationModeEXT vkCmdSetLineRasterizationModeEXT;
  1163. extern PFN_vkCmdSetLineStippleEnableEXT vkCmdSetLineStippleEnableEXT;
  1164. extern PFN_vkCmdSetLogicOpEnableEXT vkCmdSetLogicOpEnableEXT;
  1165. extern PFN_vkCmdSetPolygonModeEXT vkCmdSetPolygonModeEXT;
  1166. extern PFN_vkCmdSetProvokingVertexModeEXT vkCmdSetProvokingVertexModeEXT;
  1167. extern PFN_vkCmdSetRasterizationSamplesEXT vkCmdSetRasterizationSamplesEXT;
  1168. extern PFN_vkCmdSetRasterizationStreamEXT vkCmdSetRasterizationStreamEXT;
  1169. extern PFN_vkCmdSetRepresentativeFragmentTestEnableNV vkCmdSetRepresentativeFragmentTestEnableNV;
  1170. extern PFN_vkCmdSetSampleLocationsEnableEXT vkCmdSetSampleLocationsEnableEXT;
  1171. extern PFN_vkCmdSetSampleMaskEXT vkCmdSetSampleMaskEXT;
  1172. extern PFN_vkCmdSetShadingRateImageEnableNV vkCmdSetShadingRateImageEnableNV;
  1173. extern PFN_vkCmdSetTessellationDomainOriginEXT vkCmdSetTessellationDomainOriginEXT;
  1174. extern PFN_vkCmdSetViewportSwizzleNV vkCmdSetViewportSwizzleNV;
  1175. extern PFN_vkCmdSetViewportWScalingEnableNV vkCmdSetViewportWScalingEnableNV;
  1176. #endif /* defined(VK_EXT_extended_dynamic_state3) */
  1177. #if defined(VK_EXT_external_memory_host)
  1178. extern PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT;
  1179. #endif /* defined(VK_EXT_external_memory_host) */
  1180. #if defined(VK_EXT_full_screen_exclusive)
  1181. extern PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT;
  1182. extern PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT vkGetPhysicalDeviceSurfacePresentModes2EXT;
  1183. extern PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT;
  1184. #endif /* defined(VK_EXT_full_screen_exclusive) */
  1185. #if defined(VK_EXT_hdr_metadata)
  1186. extern PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT;
  1187. #endif /* defined(VK_EXT_hdr_metadata) */
  1188. #if defined(VK_EXT_headless_surface)
  1189. extern PFN_vkCreateHeadlessSurfaceEXT vkCreateHeadlessSurfaceEXT;
  1190. #endif /* defined(VK_EXT_headless_surface) */
  1191. #if defined(VK_EXT_host_query_reset)
  1192. extern PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT;
  1193. #endif /* defined(VK_EXT_host_query_reset) */
  1194. #if defined(VK_EXT_image_compression_control)
  1195. extern PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT;
  1196. #endif /* defined(VK_EXT_image_compression_control) */
  1197. #if defined(VK_EXT_image_drm_format_modifier)
  1198. extern PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT;
  1199. #endif /* defined(VK_EXT_image_drm_format_modifier) */
  1200. #if defined(VK_EXT_line_rasterization)
  1201. extern PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT;
  1202. #endif /* defined(VK_EXT_line_rasterization) */
  1203. #if defined(VK_EXT_mesh_shader)
  1204. extern PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT;
  1205. extern PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT;
  1206. extern PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT;
  1207. #endif /* defined(VK_EXT_mesh_shader) */
  1208. #if defined(VK_EXT_metal_objects)
  1209. extern PFN_vkExportMetalObjectsEXT vkExportMetalObjectsEXT;
  1210. #endif /* defined(VK_EXT_metal_objects) */
  1211. #if defined(VK_EXT_metal_surface)
  1212. extern PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT;
  1213. #endif /* defined(VK_EXT_metal_surface) */
  1214. #if defined(VK_EXT_multi_draw)
  1215. extern PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT;
  1216. extern PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT;
  1217. #endif /* defined(VK_EXT_multi_draw) */
  1218. #if defined(VK_EXT_opacity_micromap)
  1219. extern PFN_vkBuildMicromapsEXT vkBuildMicromapsEXT;
  1220. extern PFN_vkCmdBuildMicromapsEXT vkCmdBuildMicromapsEXT;
  1221. extern PFN_vkCmdCopyMemoryToMicromapEXT vkCmdCopyMemoryToMicromapEXT;
  1222. extern PFN_vkCmdCopyMicromapEXT vkCmdCopyMicromapEXT;
  1223. extern PFN_vkCmdCopyMicromapToMemoryEXT vkCmdCopyMicromapToMemoryEXT;
  1224. extern PFN_vkCmdWriteMicromapsPropertiesEXT vkCmdWriteMicromapsPropertiesEXT;
  1225. extern PFN_vkCopyMemoryToMicromapEXT vkCopyMemoryToMicromapEXT;
  1226. extern PFN_vkCopyMicromapEXT vkCopyMicromapEXT;
  1227. extern PFN_vkCopyMicromapToMemoryEXT vkCopyMicromapToMemoryEXT;
  1228. extern PFN_vkCreateMicromapEXT vkCreateMicromapEXT;
  1229. extern PFN_vkDestroyMicromapEXT vkDestroyMicromapEXT;
  1230. extern PFN_vkGetDeviceMicromapCompatibilityEXT vkGetDeviceMicromapCompatibilityEXT;
  1231. extern PFN_vkGetMicromapBuildSizesEXT vkGetMicromapBuildSizesEXT;
  1232. extern PFN_vkWriteMicromapsPropertiesEXT vkWriteMicromapsPropertiesEXT;
  1233. #endif /* defined(VK_EXT_opacity_micromap) */
  1234. #if defined(VK_EXT_pageable_device_local_memory)
  1235. extern PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT;
  1236. #endif /* defined(VK_EXT_pageable_device_local_memory) */
  1237. #if defined(VK_EXT_pipeline_properties)
  1238. extern PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT;
  1239. #endif /* defined(VK_EXT_pipeline_properties) */
  1240. #if defined(VK_EXT_private_data)
  1241. extern PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT;
  1242. extern PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT;
  1243. extern PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT;
  1244. extern PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT;
  1245. #endif /* defined(VK_EXT_private_data) */
  1246. #if defined(VK_EXT_sample_locations)
  1247. extern PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT;
  1248. extern PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT;
  1249. #endif /* defined(VK_EXT_sample_locations) */
  1250. #if defined(VK_EXT_shader_module_identifier)
  1251. extern PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT;
  1252. extern PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT;
  1253. #endif /* defined(VK_EXT_shader_module_identifier) */
  1254. #if defined(VK_EXT_tooling_info)
  1255. extern PFN_vkGetPhysicalDeviceToolPropertiesEXT vkGetPhysicalDeviceToolPropertiesEXT;
  1256. #endif /* defined(VK_EXT_tooling_info) */
  1257. #if defined(VK_EXT_transform_feedback)
  1258. extern PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT;
  1259. extern PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT;
  1260. extern PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT;
  1261. extern PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT;
  1262. extern PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT;
  1263. extern PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT;
  1264. #endif /* defined(VK_EXT_transform_feedback) */
  1265. #if defined(VK_EXT_validation_cache)
  1266. extern PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT;
  1267. extern PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT;
  1268. extern PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT;
  1269. extern PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT;
  1270. #endif /* defined(VK_EXT_validation_cache) */
  1271. #if defined(VK_EXT_vertex_input_dynamic_state)
  1272. extern PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT;
  1273. #endif /* defined(VK_EXT_vertex_input_dynamic_state) */
  1274. #if defined(VK_FUCHSIA_buffer_collection)
  1275. extern PFN_vkCreateBufferCollectionFUCHSIA vkCreateBufferCollectionFUCHSIA;
  1276. extern PFN_vkDestroyBufferCollectionFUCHSIA vkDestroyBufferCollectionFUCHSIA;
  1277. extern PFN_vkGetBufferCollectionPropertiesFUCHSIA vkGetBufferCollectionPropertiesFUCHSIA;
  1278. extern PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA vkSetBufferCollectionBufferConstraintsFUCHSIA;
  1279. extern PFN_vkSetBufferCollectionImageConstraintsFUCHSIA vkSetBufferCollectionImageConstraintsFUCHSIA;
  1280. #endif /* defined(VK_FUCHSIA_buffer_collection) */
  1281. #if defined(VK_FUCHSIA_external_memory)
  1282. extern PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA;
  1283. extern PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA;
  1284. #endif /* defined(VK_FUCHSIA_external_memory) */
  1285. #if defined(VK_FUCHSIA_external_semaphore)
  1286. extern PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA;
  1287. extern PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA;
  1288. #endif /* defined(VK_FUCHSIA_external_semaphore) */
  1289. #if defined(VK_FUCHSIA_imagepipe_surface)
  1290. extern PFN_vkCreateImagePipeSurfaceFUCHSIA vkCreateImagePipeSurfaceFUCHSIA;
  1291. #endif /* defined(VK_FUCHSIA_imagepipe_surface) */
  1292. #if defined(VK_GGP_stream_descriptor_surface)
  1293. extern PFN_vkCreateStreamDescriptorSurfaceGGP vkCreateStreamDescriptorSurfaceGGP;
  1294. #endif /* defined(VK_GGP_stream_descriptor_surface) */
  1295. #if defined(VK_GOOGLE_display_timing)
  1296. extern PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE;
  1297. extern PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE;
  1298. #endif /* defined(VK_GOOGLE_display_timing) */
  1299. #if defined(VK_HUAWEI_invocation_mask)
  1300. extern PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI;
  1301. #endif /* defined(VK_HUAWEI_invocation_mask) */
  1302. #if defined(VK_HUAWEI_subpass_shading)
  1303. extern PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI;
  1304. extern PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI;
  1305. #endif /* defined(VK_HUAWEI_subpass_shading) */
  1306. #if defined(VK_INTEL_performance_query)
  1307. extern PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL;
  1308. extern PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL;
  1309. extern PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL;
  1310. extern PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL;
  1311. extern PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL;
  1312. extern PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL;
  1313. extern PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL;
  1314. extern PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL;
  1315. extern PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL;
  1316. #endif /* defined(VK_INTEL_performance_query) */
  1317. #if defined(VK_KHR_acceleration_structure)
  1318. extern PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR;
  1319. extern PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR;
  1320. extern PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR;
  1321. extern PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR;
  1322. extern PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR;
  1323. extern PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR;
  1324. extern PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR;
  1325. extern PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR;
  1326. extern PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR;
  1327. extern PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR;
  1328. extern PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR;
  1329. extern PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR;
  1330. extern PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR;
  1331. extern PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR;
  1332. extern PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR;
  1333. extern PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR;
  1334. #endif /* defined(VK_KHR_acceleration_structure) */
  1335. #if defined(VK_KHR_android_surface)
  1336. extern PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR;
  1337. #endif /* defined(VK_KHR_android_surface) */
  1338. #if defined(VK_KHR_bind_memory2)
  1339. extern PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR;
  1340. extern PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR;
  1341. #endif /* defined(VK_KHR_bind_memory2) */
  1342. #if defined(VK_KHR_buffer_device_address)
  1343. extern PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR;
  1344. extern PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR;
  1345. extern PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR;
  1346. #endif /* defined(VK_KHR_buffer_device_address) */
  1347. #if defined(VK_KHR_copy_commands2)
  1348. extern PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR;
  1349. extern PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR;
  1350. extern PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR;
  1351. extern PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR;
  1352. extern PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR;
  1353. extern PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR;
  1354. #endif /* defined(VK_KHR_copy_commands2) */
  1355. #if defined(VK_KHR_create_renderpass2)
  1356. extern PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR;
  1357. extern PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR;
  1358. extern PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR;
  1359. extern PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR;
  1360. #endif /* defined(VK_KHR_create_renderpass2) */
  1361. #if defined(VK_KHR_deferred_host_operations)
  1362. extern PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR;
  1363. extern PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR;
  1364. extern PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR;
  1365. extern PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR;
  1366. extern PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR;
  1367. #endif /* defined(VK_KHR_deferred_host_operations) */
  1368. #if defined(VK_KHR_descriptor_update_template)
  1369. extern PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR;
  1370. extern PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR;
  1371. extern PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR;
  1372. #endif /* defined(VK_KHR_descriptor_update_template) */
  1373. #if defined(VK_KHR_device_group)
  1374. extern PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR;
  1375. extern PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR;
  1376. extern PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR;
  1377. #endif /* defined(VK_KHR_device_group) */
  1378. #if defined(VK_KHR_device_group_creation)
  1379. extern PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR;
  1380. #endif /* defined(VK_KHR_device_group_creation) */
  1381. #if defined(VK_KHR_display)
  1382. extern PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR;
  1383. extern PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR;
  1384. extern PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR;
  1385. extern PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR;
  1386. extern PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR;
  1387. extern PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR;
  1388. extern PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR;
  1389. #endif /* defined(VK_KHR_display) */
  1390. #if defined(VK_KHR_display_swapchain)
  1391. extern PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR;
  1392. #endif /* defined(VK_KHR_display_swapchain) */
  1393. #if defined(VK_KHR_draw_indirect_count)
  1394. extern PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR;
  1395. extern PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR;
  1396. #endif /* defined(VK_KHR_draw_indirect_count) */
  1397. #if defined(VK_KHR_dynamic_rendering)
  1398. extern PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR;
  1399. extern PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR;
  1400. #endif /* defined(VK_KHR_dynamic_rendering) */
  1401. #if defined(VK_KHR_external_fence_capabilities)
  1402. extern PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR;
  1403. #endif /* defined(VK_KHR_external_fence_capabilities) */
  1404. #if defined(VK_KHR_external_fence_fd)
  1405. extern PFN_vkGetFenceFdKHR vkGetFenceFdKHR;
  1406. extern PFN_vkImportFenceFdKHR vkImportFenceFdKHR;
  1407. #endif /* defined(VK_KHR_external_fence_fd) */
  1408. #if defined(VK_KHR_external_fence_win32)
  1409. extern PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR;
  1410. extern PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR;
  1411. #endif /* defined(VK_KHR_external_fence_win32) */
  1412. #if defined(VK_KHR_external_memory_capabilities)
  1413. extern PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR;
  1414. #endif /* defined(VK_KHR_external_memory_capabilities) */
  1415. #if defined(VK_KHR_external_memory_fd)
  1416. extern PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR;
  1417. extern PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR;
  1418. #endif /* defined(VK_KHR_external_memory_fd) */
  1419. #if defined(VK_KHR_external_memory_win32)
  1420. extern PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR;
  1421. extern PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR;
  1422. #endif /* defined(VK_KHR_external_memory_win32) */
  1423. #if defined(VK_KHR_external_semaphore_capabilities)
  1424. extern PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR;
  1425. #endif /* defined(VK_KHR_external_semaphore_capabilities) */
  1426. #if defined(VK_KHR_external_semaphore_fd)
  1427. extern PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR;
  1428. extern PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR;
  1429. #endif /* defined(VK_KHR_external_semaphore_fd) */
  1430. #if defined(VK_KHR_external_semaphore_win32)
  1431. extern PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR;
  1432. extern PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR;
  1433. #endif /* defined(VK_KHR_external_semaphore_win32) */
  1434. #if defined(VK_KHR_fragment_shading_rate)
  1435. extern PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR;
  1436. extern PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR;
  1437. #endif /* defined(VK_KHR_fragment_shading_rate) */
  1438. #if defined(VK_KHR_get_display_properties2)
  1439. extern PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR;
  1440. extern PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR;
  1441. extern PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR vkGetPhysicalDeviceDisplayPlaneProperties2KHR;
  1442. extern PFN_vkGetPhysicalDeviceDisplayProperties2KHR vkGetPhysicalDeviceDisplayProperties2KHR;
  1443. #endif /* defined(VK_KHR_get_display_properties2) */
  1444. #if defined(VK_KHR_get_memory_requirements2)
  1445. extern PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR;
  1446. extern PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR;
  1447. extern PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR;
  1448. #endif /* defined(VK_KHR_get_memory_requirements2) */
  1449. #if defined(VK_KHR_get_physical_device_properties2)
  1450. extern PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR;
  1451. extern PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR;
  1452. extern PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR;
  1453. extern PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR;
  1454. extern PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR;
  1455. extern PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR;
  1456. extern PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR;
  1457. #endif /* defined(VK_KHR_get_physical_device_properties2) */
  1458. #if defined(VK_KHR_get_surface_capabilities2)
  1459. extern PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR;
  1460. extern PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR;
  1461. #endif /* defined(VK_KHR_get_surface_capabilities2) */
  1462. #if defined(VK_KHR_maintenance1)
  1463. extern PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR;
  1464. #endif /* defined(VK_KHR_maintenance1) */
  1465. #if defined(VK_KHR_maintenance3)
  1466. extern PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR;
  1467. #endif /* defined(VK_KHR_maintenance3) */
  1468. #if defined(VK_KHR_maintenance4)
  1469. extern PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR;
  1470. extern PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR;
  1471. extern PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR;
  1472. #endif /* defined(VK_KHR_maintenance4) */
  1473. #if defined(VK_KHR_performance_query)
  1474. extern PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR;
  1475. extern PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR;
  1476. extern PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR;
  1477. extern PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR;
  1478. #endif /* defined(VK_KHR_performance_query) */
  1479. #if defined(VK_KHR_pipeline_executable_properties)
  1480. extern PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR;
  1481. extern PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR;
  1482. extern PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR;
  1483. #endif /* defined(VK_KHR_pipeline_executable_properties) */
  1484. #if defined(VK_KHR_present_wait)
  1485. extern PFN_vkWaitForPresentKHR vkWaitForPresentKHR;
  1486. #endif /* defined(VK_KHR_present_wait) */
  1487. #if defined(VK_KHR_push_descriptor)
  1488. extern PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR;
  1489. #endif /* defined(VK_KHR_push_descriptor) */
  1490. #if defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline)
  1491. extern PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR;
  1492. #endif /* defined(VK_KHR_ray_tracing_maintenance1) && defined(VK_KHR_ray_tracing_pipeline) */
  1493. #if defined(VK_KHR_ray_tracing_pipeline)
  1494. extern PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR;
  1495. extern PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR;
  1496. extern PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR;
  1497. extern PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR;
  1498. extern PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR;
  1499. extern PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR;
  1500. extern PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR;
  1501. #endif /* defined(VK_KHR_ray_tracing_pipeline) */
  1502. #if defined(VK_KHR_sampler_ycbcr_conversion)
  1503. extern PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR;
  1504. extern PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR;
  1505. #endif /* defined(VK_KHR_sampler_ycbcr_conversion) */
  1506. #if defined(VK_KHR_shared_presentable_image)
  1507. extern PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR;
  1508. #endif /* defined(VK_KHR_shared_presentable_image) */
  1509. #if defined(VK_KHR_surface)
  1510. extern PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR;
  1511. extern PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR;
  1512. extern PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR;
  1513. extern PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR;
  1514. extern PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR;
  1515. #endif /* defined(VK_KHR_surface) */
  1516. #if defined(VK_KHR_swapchain)
  1517. extern PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR;
  1518. extern PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR;
  1519. extern PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR;
  1520. extern PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR;
  1521. extern PFN_vkQueuePresentKHR vkQueuePresentKHR;
  1522. #endif /* defined(VK_KHR_swapchain) */
  1523. #if defined(VK_KHR_synchronization2)
  1524. extern PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR;
  1525. extern PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR;
  1526. extern PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR;
  1527. extern PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR;
  1528. extern PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR;
  1529. extern PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR;
  1530. #endif /* defined(VK_KHR_synchronization2) */
  1531. #if defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker)
  1532. extern PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD;
  1533. #endif /* defined(VK_KHR_synchronization2) && defined(VK_AMD_buffer_marker) */
  1534. #if defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints)
  1535. extern PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV;
  1536. #endif /* defined(VK_KHR_synchronization2) && defined(VK_NV_device_diagnostic_checkpoints) */
  1537. #if defined(VK_KHR_timeline_semaphore)
  1538. extern PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR;
  1539. extern PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR;
  1540. extern PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR;
  1541. #endif /* defined(VK_KHR_timeline_semaphore) */
  1542. #if defined(VK_KHR_video_decode_queue)
  1543. extern PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR;
  1544. #endif /* defined(VK_KHR_video_decode_queue) */
  1545. #if defined(VK_KHR_video_encode_queue)
  1546. extern PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR;
  1547. #endif /* defined(VK_KHR_video_encode_queue) */
  1548. #if defined(VK_KHR_video_queue)
  1549. extern PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR;
  1550. extern PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR;
  1551. extern PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR;
  1552. extern PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR;
  1553. extern PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR;
  1554. extern PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR;
  1555. extern PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR;
  1556. extern PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR;
  1557. extern PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR vkGetPhysicalDeviceVideoCapabilitiesKHR;
  1558. extern PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR vkGetPhysicalDeviceVideoFormatPropertiesKHR;
  1559. extern PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR;
  1560. extern PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR;
  1561. #endif /* defined(VK_KHR_video_queue) */
  1562. #if defined(VK_KHR_wayland_surface)
  1563. extern PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR;
  1564. extern PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR;
  1565. #endif /* defined(VK_KHR_wayland_surface) */
  1566. #if defined(VK_KHR_win32_surface)
  1567. extern PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR;
  1568. extern PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR;
  1569. #endif /* defined(VK_KHR_win32_surface) */
  1570. #if defined(VK_KHR_xcb_surface)
  1571. extern PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR;
  1572. extern PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR;
  1573. #endif /* defined(VK_KHR_xcb_surface) */
  1574. #if defined(VK_KHR_xlib_surface)
  1575. extern PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR;
  1576. extern PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR;
  1577. #endif /* defined(VK_KHR_xlib_surface) */
  1578. #if defined(VK_MVK_ios_surface)
  1579. extern PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK;
  1580. #endif /* defined(VK_MVK_ios_surface) */
  1581. #if defined(VK_MVK_macos_surface)
  1582. extern PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK;
  1583. #endif /* defined(VK_MVK_macos_surface) */
  1584. #if defined(VK_NN_vi_surface)
  1585. extern PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN;
  1586. #endif /* defined(VK_NN_vi_surface) */
  1587. #if defined(VK_NVX_binary_import)
  1588. extern PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX;
  1589. extern PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX;
  1590. extern PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX;
  1591. extern PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX;
  1592. extern PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX;
  1593. #endif /* defined(VK_NVX_binary_import) */
  1594. #if defined(VK_NVX_image_view_handle)
  1595. extern PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX;
  1596. extern PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX;
  1597. #endif /* defined(VK_NVX_image_view_handle) */
  1598. #if defined(VK_NV_acquire_winrt_display)
  1599. extern PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV;
  1600. extern PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV;
  1601. #endif /* defined(VK_NV_acquire_winrt_display) */
  1602. #if defined(VK_NV_clip_space_w_scaling)
  1603. extern PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV;
  1604. #endif /* defined(VK_NV_clip_space_w_scaling) */
  1605. #if defined(VK_NV_cooperative_matrix)
  1606. extern PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV vkGetPhysicalDeviceCooperativeMatrixPropertiesNV;
  1607. #endif /* defined(VK_NV_cooperative_matrix) */
  1608. #if defined(VK_NV_coverage_reduction_mode)
  1609. extern PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV;
  1610. #endif /* defined(VK_NV_coverage_reduction_mode) */
  1611. #if defined(VK_NV_device_diagnostic_checkpoints)
  1612. extern PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV;
  1613. extern PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV;
  1614. #endif /* defined(VK_NV_device_diagnostic_checkpoints) */
  1615. #if defined(VK_NV_device_generated_commands)
  1616. extern PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV;
  1617. extern PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV;
  1618. extern PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV;
  1619. extern PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV;
  1620. extern PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV;
  1621. extern PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV;
  1622. #endif /* defined(VK_NV_device_generated_commands) */
  1623. #if defined(VK_NV_external_memory_capabilities)
  1624. extern PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV;
  1625. #endif /* defined(VK_NV_external_memory_capabilities) */
  1626. #if defined(VK_NV_external_memory_rdma)
  1627. extern PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV;
  1628. #endif /* defined(VK_NV_external_memory_rdma) */
  1629. #if defined(VK_NV_external_memory_win32)
  1630. extern PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV;
  1631. #endif /* defined(VK_NV_external_memory_win32) */
  1632. #if defined(VK_NV_fragment_shading_rate_enums)
  1633. extern PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV;
  1634. #endif /* defined(VK_NV_fragment_shading_rate_enums) */
  1635. #if defined(VK_NV_mesh_shader)
  1636. extern PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV;
  1637. extern PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV;
  1638. extern PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV;
  1639. #endif /* defined(VK_NV_mesh_shader) */
  1640. #if defined(VK_NV_optical_flow)
  1641. extern PFN_vkBindOpticalFlowSessionImageNV vkBindOpticalFlowSessionImageNV;
  1642. extern PFN_vkCmdOpticalFlowExecuteNV vkCmdOpticalFlowExecuteNV;
  1643. extern PFN_vkCreateOpticalFlowSessionNV vkCreateOpticalFlowSessionNV;
  1644. extern PFN_vkDestroyOpticalFlowSessionNV vkDestroyOpticalFlowSessionNV;
  1645. extern PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV vkGetPhysicalDeviceOpticalFlowImageFormatsNV;
  1646. #endif /* defined(VK_NV_optical_flow) */
  1647. #if defined(VK_NV_ray_tracing)
  1648. extern PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV;
  1649. extern PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV;
  1650. extern PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV;
  1651. extern PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV;
  1652. extern PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV;
  1653. extern PFN_vkCompileDeferredNV vkCompileDeferredNV;
  1654. extern PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV;
  1655. extern PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV;
  1656. extern PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV;
  1657. extern PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV;
  1658. extern PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV;
  1659. extern PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV;
  1660. #endif /* defined(VK_NV_ray_tracing) */
  1661. #if defined(VK_NV_scissor_exclusive)
  1662. extern PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV;
  1663. #endif /* defined(VK_NV_scissor_exclusive) */
  1664. #if defined(VK_NV_shading_rate_image)
  1665. extern PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV;
  1666. extern PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV;
  1667. extern PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV;
  1668. #endif /* defined(VK_NV_shading_rate_image) */
  1669. #if defined(VK_QCOM_tile_properties)
  1670. extern PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM;
  1671. extern PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM;
  1672. #endif /* defined(VK_QCOM_tile_properties) */
  1673. #if defined(VK_QNX_screen_surface)
  1674. extern PFN_vkCreateScreenSurfaceQNX vkCreateScreenSurfaceQNX;
  1675. extern PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX vkGetPhysicalDeviceScreenPresentationSupportQNX;
  1676. #endif /* defined(VK_QNX_screen_surface) */
  1677. #if defined(VK_VALVE_descriptor_set_host_mapping)
  1678. extern PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE;
  1679. extern PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE;
  1680. #endif /* defined(VK_VALVE_descriptor_set_host_mapping) */
  1681. #if (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1))
  1682. extern PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT;
  1683. #endif /* (defined(VK_EXT_full_screen_exclusive) && defined(VK_KHR_device_group)) || (defined(VK_EXT_full_screen_exclusive) && defined(VK_VERSION_1_1)) */
  1684. #if (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template))
  1685. extern PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR;
  1686. #endif /* (defined(VK_KHR_descriptor_update_template) && defined(VK_KHR_push_descriptor)) || (defined(VK_KHR_push_descriptor) && defined(VK_VERSION_1_1)) || (defined(VK_KHR_push_descriptor) && defined(VK_KHR_descriptor_update_template)) */
  1687. #if (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
  1688. extern PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR;
  1689. extern PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR;
  1690. extern PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR;
  1691. #endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_surface)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
  1692. #if (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1))
  1693. extern PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR;
  1694. #endif /* (defined(VK_KHR_device_group) && defined(VK_KHR_swapchain)) || (defined(VK_KHR_swapchain) && defined(VK_VERSION_1_1)) */
  1695. /* VOLK_GENERATE_PROTOTYPES_H */
  1696. #ifdef __cplusplus
  1697. }
  1698. #endif
  1699. #endif
  1700. #ifdef VOLK_IMPLEMENTATION
  1701. #undef VOLK_IMPLEMENTATION
  1702. // Prevent tools like dependency checkers that don't evaluate
  1703. // macros from detecting a cyclic dependency.
  1704. #define VOLK_SOURCE "volk.c"
  1705. #include VOLK_SOURCE
  1706. #endif
  1707. /**
  1708. * Copyright (c) 2018-2022 Arseny Kapoulkine
  1709. *
  1710. * Permission is hereby granted, free of charge, to any person obtaining a copy
  1711. * of this software and associated documentation files (the "Software"), to deal
  1712. * in the Software without restriction, including without limitation the rights
  1713. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1714. * copies of the Software, and to permit persons to whom the Software is
  1715. * furnished to do so, subject to the following conditions:
  1716. *
  1717. * The above copyright notice and this permission notice shall be included in all
  1718. * copies or substantial portions of the Software.
  1719. *
  1720. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1721. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1722. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1723. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1724. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1725. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1726. * SOFTWARE.
  1727. */
  1728. /* clang-format on */