1 /** 2 * Dlang vulkan device related func loader as struct members 3 * 4 * Copyright: Copyright 2015-2016 The Khronos Group Inc.; Copyright 2016 Alex Parrill, Peter Particle. 5 * License: $(https://opensource.org/licenses/MIT, MIT License). 6 * Authors: Copyright 2016 Alex Parrill, Peter Particle 7 */ 8 module erupted.dispatch_device; 9 10 public import erupted.types; 11 import erupted.functions; 12 13 nothrow @nogc: 14 15 16 /// struct to group per device device level functions into a custom namespace 17 /// keeps track of the device to which the functions are bound 18 /// additionally to the device related vulkan functions, convenience functions exist 19 /// with same name but omitting the vk prefix as well as the first (VkDevice) parameter 20 /// these functions forward to their vk counterparts using the VkDevice member of the DispatchDevice 21 /// Moreover the same convenience functions exist for vkCmd... functions. In this case the 22 /// first parameter is substituted with the public member VkCommandBuffer commandBuffer, 23 /// which must have been set to a valid command buffer before usage. 24 struct DispatchDevice { 25 26 private VkDevice device = VK_NULL_HANDLE; 27 private const( VkAllocationCallbacks )* allocator = null; 28 VkCommandBuffer commandBuffer = VK_NULL_HANDLE; 29 30 31 /// return copy of the internal VkDevice 32 VkDevice vkDevice() { 33 return device; 34 } 35 36 37 /// return const allocator address 38 const( VkAllocationCallbacks )* pAllocator() { 39 return allocator; 40 } 41 42 43 /// constructor forwards parameter 'device' to 'this.loadDeviceLevelFunctions' 44 this( VkDevice device, const( VkAllocationCallbacks )* allocator = null ) { 45 this.loadDeviceLevelFunctions( device ); 46 } 47 48 49 /// load the device level member functions 50 /// this also sets the private member 'device' to the passed in VkDevice 51 /// as well as the otional host allocator 52 /// if a custom allocator is required it must be specified here and cannot be changed throughout the liftime of the device 53 /// now the DispatchDevice can be used e.g.: 54 /// auto dd = DispatchDevice( device ); 55 /// dd.vkDestroyDevice( dd.vkDevice, pAllocator ); 56 /// convenience functions to omit the first arg and the allocator do exist, see bellow 57 void loadDeviceLevelFunctions( VkDevice device, const( VkAllocationCallbacks )* allocator = null ) { 58 assert( vkGetInstanceProcAddr !is null, "Function pointer vkGetInstanceProcAddr is null!\nCall loadGlobalLevelFunctions -> loadInstanceLevelFunctions -> DispatchDevice.loadDeviceLevelFunctions" ); 59 this.allocator = allocator; 60 this.device = device; 61 62 // VK_VERSION_1_0 63 vkDestroyDevice = cast( PFN_vkDestroyDevice ) vkGetDeviceProcAddr( device, "vkDestroyDevice" ); 64 vkGetDeviceQueue = cast( PFN_vkGetDeviceQueue ) vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ); 65 vkQueueSubmit = cast( PFN_vkQueueSubmit ) vkGetDeviceProcAddr( device, "vkQueueSubmit" ); 66 vkQueueWaitIdle = cast( PFN_vkQueueWaitIdle ) vkGetDeviceProcAddr( device, "vkQueueWaitIdle" ); 67 vkDeviceWaitIdle = cast( PFN_vkDeviceWaitIdle ) vkGetDeviceProcAddr( device, "vkDeviceWaitIdle" ); 68 vkAllocateMemory = cast( PFN_vkAllocateMemory ) vkGetDeviceProcAddr( device, "vkAllocateMemory" ); 69 vkFreeMemory = cast( PFN_vkFreeMemory ) vkGetDeviceProcAddr( device, "vkFreeMemory" ); 70 vkMapMemory = cast( PFN_vkMapMemory ) vkGetDeviceProcAddr( device, "vkMapMemory" ); 71 vkUnmapMemory = cast( PFN_vkUnmapMemory ) vkGetDeviceProcAddr( device, "vkUnmapMemory" ); 72 vkFlushMappedMemoryRanges = cast( PFN_vkFlushMappedMemoryRanges ) vkGetDeviceProcAddr( device, "vkFlushMappedMemoryRanges" ); 73 vkInvalidateMappedMemoryRanges = cast( PFN_vkInvalidateMappedMemoryRanges ) vkGetDeviceProcAddr( device, "vkInvalidateMappedMemoryRanges" ); 74 vkGetDeviceMemoryCommitment = cast( PFN_vkGetDeviceMemoryCommitment ) vkGetDeviceProcAddr( device, "vkGetDeviceMemoryCommitment" ); 75 vkBindBufferMemory = cast( PFN_vkBindBufferMemory ) vkGetDeviceProcAddr( device, "vkBindBufferMemory" ); 76 vkBindImageMemory = cast( PFN_vkBindImageMemory ) vkGetDeviceProcAddr( device, "vkBindImageMemory" ); 77 vkGetBufferMemoryRequirements = cast( PFN_vkGetBufferMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements" ); 78 vkGetImageMemoryRequirements = cast( PFN_vkGetImageMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements" ); 79 vkGetImageSparseMemoryRequirements = cast( PFN_vkGetImageSparseMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements" ); 80 vkQueueBindSparse = cast( PFN_vkQueueBindSparse ) vkGetDeviceProcAddr( device, "vkQueueBindSparse" ); 81 vkCreateFence = cast( PFN_vkCreateFence ) vkGetDeviceProcAddr( device, "vkCreateFence" ); 82 vkDestroyFence = cast( PFN_vkDestroyFence ) vkGetDeviceProcAddr( device, "vkDestroyFence" ); 83 vkResetFences = cast( PFN_vkResetFences ) vkGetDeviceProcAddr( device, "vkResetFences" ); 84 vkGetFenceStatus = cast( PFN_vkGetFenceStatus ) vkGetDeviceProcAddr( device, "vkGetFenceStatus" ); 85 vkWaitForFences = cast( PFN_vkWaitForFences ) vkGetDeviceProcAddr( device, "vkWaitForFences" ); 86 vkCreateSemaphore = cast( PFN_vkCreateSemaphore ) vkGetDeviceProcAddr( device, "vkCreateSemaphore" ); 87 vkDestroySemaphore = cast( PFN_vkDestroySemaphore ) vkGetDeviceProcAddr( device, "vkDestroySemaphore" ); 88 vkCreateEvent = cast( PFN_vkCreateEvent ) vkGetDeviceProcAddr( device, "vkCreateEvent" ); 89 vkDestroyEvent = cast( PFN_vkDestroyEvent ) vkGetDeviceProcAddr( device, "vkDestroyEvent" ); 90 vkGetEventStatus = cast( PFN_vkGetEventStatus ) vkGetDeviceProcAddr( device, "vkGetEventStatus" ); 91 vkSetEvent = cast( PFN_vkSetEvent ) vkGetDeviceProcAddr( device, "vkSetEvent" ); 92 vkResetEvent = cast( PFN_vkResetEvent ) vkGetDeviceProcAddr( device, "vkResetEvent" ); 93 vkCreateQueryPool = cast( PFN_vkCreateQueryPool ) vkGetDeviceProcAddr( device, "vkCreateQueryPool" ); 94 vkDestroyQueryPool = cast( PFN_vkDestroyQueryPool ) vkGetDeviceProcAddr( device, "vkDestroyQueryPool" ); 95 vkGetQueryPoolResults = cast( PFN_vkGetQueryPoolResults ) vkGetDeviceProcAddr( device, "vkGetQueryPoolResults" ); 96 vkCreateBuffer = cast( PFN_vkCreateBuffer ) vkGetDeviceProcAddr( device, "vkCreateBuffer" ); 97 vkDestroyBuffer = cast( PFN_vkDestroyBuffer ) vkGetDeviceProcAddr( device, "vkDestroyBuffer" ); 98 vkCreateBufferView = cast( PFN_vkCreateBufferView ) vkGetDeviceProcAddr( device, "vkCreateBufferView" ); 99 vkDestroyBufferView = cast( PFN_vkDestroyBufferView ) vkGetDeviceProcAddr( device, "vkDestroyBufferView" ); 100 vkCreateImage = cast( PFN_vkCreateImage ) vkGetDeviceProcAddr( device, "vkCreateImage" ); 101 vkDestroyImage = cast( PFN_vkDestroyImage ) vkGetDeviceProcAddr( device, "vkDestroyImage" ); 102 vkGetImageSubresourceLayout = cast( PFN_vkGetImageSubresourceLayout ) vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout" ); 103 vkCreateImageView = cast( PFN_vkCreateImageView ) vkGetDeviceProcAddr( device, "vkCreateImageView" ); 104 vkDestroyImageView = cast( PFN_vkDestroyImageView ) vkGetDeviceProcAddr( device, "vkDestroyImageView" ); 105 vkCreateShaderModule = cast( PFN_vkCreateShaderModule ) vkGetDeviceProcAddr( device, "vkCreateShaderModule" ); 106 vkDestroyShaderModule = cast( PFN_vkDestroyShaderModule ) vkGetDeviceProcAddr( device, "vkDestroyShaderModule" ); 107 vkCreatePipelineCache = cast( PFN_vkCreatePipelineCache ) vkGetDeviceProcAddr( device, "vkCreatePipelineCache" ); 108 vkDestroyPipelineCache = cast( PFN_vkDestroyPipelineCache ) vkGetDeviceProcAddr( device, "vkDestroyPipelineCache" ); 109 vkGetPipelineCacheData = cast( PFN_vkGetPipelineCacheData ) vkGetDeviceProcAddr( device, "vkGetPipelineCacheData" ); 110 vkMergePipelineCaches = cast( PFN_vkMergePipelineCaches ) vkGetDeviceProcAddr( device, "vkMergePipelineCaches" ); 111 vkCreateGraphicsPipelines = cast( PFN_vkCreateGraphicsPipelines ) vkGetDeviceProcAddr( device, "vkCreateGraphicsPipelines" ); 112 vkCreateComputePipelines = cast( PFN_vkCreateComputePipelines ) vkGetDeviceProcAddr( device, "vkCreateComputePipelines" ); 113 vkDestroyPipeline = cast( PFN_vkDestroyPipeline ) vkGetDeviceProcAddr( device, "vkDestroyPipeline" ); 114 vkCreatePipelineLayout = cast( PFN_vkCreatePipelineLayout ) vkGetDeviceProcAddr( device, "vkCreatePipelineLayout" ); 115 vkDestroyPipelineLayout = cast( PFN_vkDestroyPipelineLayout ) vkGetDeviceProcAddr( device, "vkDestroyPipelineLayout" ); 116 vkCreateSampler = cast( PFN_vkCreateSampler ) vkGetDeviceProcAddr( device, "vkCreateSampler" ); 117 vkDestroySampler = cast( PFN_vkDestroySampler ) vkGetDeviceProcAddr( device, "vkDestroySampler" ); 118 vkCreateDescriptorSetLayout = cast( PFN_vkCreateDescriptorSetLayout ) vkGetDeviceProcAddr( device, "vkCreateDescriptorSetLayout" ); 119 vkDestroyDescriptorSetLayout = cast( PFN_vkDestroyDescriptorSetLayout ) vkGetDeviceProcAddr( device, "vkDestroyDescriptorSetLayout" ); 120 vkCreateDescriptorPool = cast( PFN_vkCreateDescriptorPool ) vkGetDeviceProcAddr( device, "vkCreateDescriptorPool" ); 121 vkDestroyDescriptorPool = cast( PFN_vkDestroyDescriptorPool ) vkGetDeviceProcAddr( device, "vkDestroyDescriptorPool" ); 122 vkResetDescriptorPool = cast( PFN_vkResetDescriptorPool ) vkGetDeviceProcAddr( device, "vkResetDescriptorPool" ); 123 vkAllocateDescriptorSets = cast( PFN_vkAllocateDescriptorSets ) vkGetDeviceProcAddr( device, "vkAllocateDescriptorSets" ); 124 vkFreeDescriptorSets = cast( PFN_vkFreeDescriptorSets ) vkGetDeviceProcAddr( device, "vkFreeDescriptorSets" ); 125 vkUpdateDescriptorSets = cast( PFN_vkUpdateDescriptorSets ) vkGetDeviceProcAddr( device, "vkUpdateDescriptorSets" ); 126 vkCreateFramebuffer = cast( PFN_vkCreateFramebuffer ) vkGetDeviceProcAddr( device, "vkCreateFramebuffer" ); 127 vkDestroyFramebuffer = cast( PFN_vkDestroyFramebuffer ) vkGetDeviceProcAddr( device, "vkDestroyFramebuffer" ); 128 vkCreateRenderPass = cast( PFN_vkCreateRenderPass ) vkGetDeviceProcAddr( device, "vkCreateRenderPass" ); 129 vkDestroyRenderPass = cast( PFN_vkDestroyRenderPass ) vkGetDeviceProcAddr( device, "vkDestroyRenderPass" ); 130 vkGetRenderAreaGranularity = cast( PFN_vkGetRenderAreaGranularity ) vkGetDeviceProcAddr( device, "vkGetRenderAreaGranularity" ); 131 vkCreateCommandPool = cast( PFN_vkCreateCommandPool ) vkGetDeviceProcAddr( device, "vkCreateCommandPool" ); 132 vkDestroyCommandPool = cast( PFN_vkDestroyCommandPool ) vkGetDeviceProcAddr( device, "vkDestroyCommandPool" ); 133 vkResetCommandPool = cast( PFN_vkResetCommandPool ) vkGetDeviceProcAddr( device, "vkResetCommandPool" ); 134 vkAllocateCommandBuffers = cast( PFN_vkAllocateCommandBuffers ) vkGetDeviceProcAddr( device, "vkAllocateCommandBuffers" ); 135 vkFreeCommandBuffers = cast( PFN_vkFreeCommandBuffers ) vkGetDeviceProcAddr( device, "vkFreeCommandBuffers" ); 136 vkBeginCommandBuffer = cast( PFN_vkBeginCommandBuffer ) vkGetDeviceProcAddr( device, "vkBeginCommandBuffer" ); 137 vkEndCommandBuffer = cast( PFN_vkEndCommandBuffer ) vkGetDeviceProcAddr( device, "vkEndCommandBuffer" ); 138 vkResetCommandBuffer = cast( PFN_vkResetCommandBuffer ) vkGetDeviceProcAddr( device, "vkResetCommandBuffer" ); 139 vkCmdBindPipeline = cast( PFN_vkCmdBindPipeline ) vkGetDeviceProcAddr( device, "vkCmdBindPipeline" ); 140 vkCmdSetViewport = cast( PFN_vkCmdSetViewport ) vkGetDeviceProcAddr( device, "vkCmdSetViewport" ); 141 vkCmdSetScissor = cast( PFN_vkCmdSetScissor ) vkGetDeviceProcAddr( device, "vkCmdSetScissor" ); 142 vkCmdSetLineWidth = cast( PFN_vkCmdSetLineWidth ) vkGetDeviceProcAddr( device, "vkCmdSetLineWidth" ); 143 vkCmdSetDepthBias = cast( PFN_vkCmdSetDepthBias ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBias" ); 144 vkCmdSetBlendConstants = cast( PFN_vkCmdSetBlendConstants ) vkGetDeviceProcAddr( device, "vkCmdSetBlendConstants" ); 145 vkCmdSetDepthBounds = cast( PFN_vkCmdSetDepthBounds ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBounds" ); 146 vkCmdSetStencilCompareMask = cast( PFN_vkCmdSetStencilCompareMask ) vkGetDeviceProcAddr( device, "vkCmdSetStencilCompareMask" ); 147 vkCmdSetStencilWriteMask = cast( PFN_vkCmdSetStencilWriteMask ) vkGetDeviceProcAddr( device, "vkCmdSetStencilWriteMask" ); 148 vkCmdSetStencilReference = cast( PFN_vkCmdSetStencilReference ) vkGetDeviceProcAddr( device, "vkCmdSetStencilReference" ); 149 vkCmdBindDescriptorSets = cast( PFN_vkCmdBindDescriptorSets ) vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets" ); 150 vkCmdBindIndexBuffer = cast( PFN_vkCmdBindIndexBuffer ) vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer" ); 151 vkCmdBindVertexBuffers = cast( PFN_vkCmdBindVertexBuffers ) vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers" ); 152 vkCmdDraw = cast( PFN_vkCmdDraw ) vkGetDeviceProcAddr( device, "vkCmdDraw" ); 153 vkCmdDrawIndexed = cast( PFN_vkCmdDrawIndexed ) vkGetDeviceProcAddr( device, "vkCmdDrawIndexed" ); 154 vkCmdDrawIndirect = cast( PFN_vkCmdDrawIndirect ) vkGetDeviceProcAddr( device, "vkCmdDrawIndirect" ); 155 vkCmdDrawIndexedIndirect = cast( PFN_vkCmdDrawIndexedIndirect ) vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirect" ); 156 vkCmdDispatch = cast( PFN_vkCmdDispatch ) vkGetDeviceProcAddr( device, "vkCmdDispatch" ); 157 vkCmdDispatchIndirect = cast( PFN_vkCmdDispatchIndirect ) vkGetDeviceProcAddr( device, "vkCmdDispatchIndirect" ); 158 vkCmdCopyBuffer = cast( PFN_vkCmdCopyBuffer ) vkGetDeviceProcAddr( device, "vkCmdCopyBuffer" ); 159 vkCmdCopyImage = cast( PFN_vkCmdCopyImage ) vkGetDeviceProcAddr( device, "vkCmdCopyImage" ); 160 vkCmdBlitImage = cast( PFN_vkCmdBlitImage ) vkGetDeviceProcAddr( device, "vkCmdBlitImage" ); 161 vkCmdCopyBufferToImage = cast( PFN_vkCmdCopyBufferToImage ) vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage" ); 162 vkCmdCopyImageToBuffer = cast( PFN_vkCmdCopyImageToBuffer ) vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer" ); 163 vkCmdUpdateBuffer = cast( PFN_vkCmdUpdateBuffer ) vkGetDeviceProcAddr( device, "vkCmdUpdateBuffer" ); 164 vkCmdFillBuffer = cast( PFN_vkCmdFillBuffer ) vkGetDeviceProcAddr( device, "vkCmdFillBuffer" ); 165 vkCmdClearColorImage = cast( PFN_vkCmdClearColorImage ) vkGetDeviceProcAddr( device, "vkCmdClearColorImage" ); 166 vkCmdClearDepthStencilImage = cast( PFN_vkCmdClearDepthStencilImage ) vkGetDeviceProcAddr( device, "vkCmdClearDepthStencilImage" ); 167 vkCmdClearAttachments = cast( PFN_vkCmdClearAttachments ) vkGetDeviceProcAddr( device, "vkCmdClearAttachments" ); 168 vkCmdResolveImage = cast( PFN_vkCmdResolveImage ) vkGetDeviceProcAddr( device, "vkCmdResolveImage" ); 169 vkCmdSetEvent = cast( PFN_vkCmdSetEvent ) vkGetDeviceProcAddr( device, "vkCmdSetEvent" ); 170 vkCmdResetEvent = cast( PFN_vkCmdResetEvent ) vkGetDeviceProcAddr( device, "vkCmdResetEvent" ); 171 vkCmdWaitEvents = cast( PFN_vkCmdWaitEvents ) vkGetDeviceProcAddr( device, "vkCmdWaitEvents" ); 172 vkCmdPipelineBarrier = cast( PFN_vkCmdPipelineBarrier ) vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier" ); 173 vkCmdBeginQuery = cast( PFN_vkCmdBeginQuery ) vkGetDeviceProcAddr( device, "vkCmdBeginQuery" ); 174 vkCmdEndQuery = cast( PFN_vkCmdEndQuery ) vkGetDeviceProcAddr( device, "vkCmdEndQuery" ); 175 vkCmdResetQueryPool = cast( PFN_vkCmdResetQueryPool ) vkGetDeviceProcAddr( device, "vkCmdResetQueryPool" ); 176 vkCmdWriteTimestamp = cast( PFN_vkCmdWriteTimestamp ) vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp" ); 177 vkCmdCopyQueryPoolResults = cast( PFN_vkCmdCopyQueryPoolResults ) vkGetDeviceProcAddr( device, "vkCmdCopyQueryPoolResults" ); 178 vkCmdPushConstants = cast( PFN_vkCmdPushConstants ) vkGetDeviceProcAddr( device, "vkCmdPushConstants" ); 179 vkCmdBeginRenderPass = cast( PFN_vkCmdBeginRenderPass ) vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass" ); 180 vkCmdNextSubpass = cast( PFN_vkCmdNextSubpass ) vkGetDeviceProcAddr( device, "vkCmdNextSubpass" ); 181 vkCmdEndRenderPass = cast( PFN_vkCmdEndRenderPass ) vkGetDeviceProcAddr( device, "vkCmdEndRenderPass" ); 182 vkCmdExecuteCommands = cast( PFN_vkCmdExecuteCommands ) vkGetDeviceProcAddr( device, "vkCmdExecuteCommands" ); 183 184 // VK_VERSION_1_1 185 vkBindBufferMemory2 = cast( PFN_vkBindBufferMemory2 ) vkGetDeviceProcAddr( device, "vkBindBufferMemory2" ); 186 vkBindImageMemory2 = cast( PFN_vkBindImageMemory2 ) vkGetDeviceProcAddr( device, "vkBindImageMemory2" ); 187 vkGetDeviceGroupPeerMemoryFeatures = cast( PFN_vkGetDeviceGroupPeerMemoryFeatures ) vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeatures" ); 188 vkCmdSetDeviceMask = cast( PFN_vkCmdSetDeviceMask ) vkGetDeviceProcAddr( device, "vkCmdSetDeviceMask" ); 189 vkCmdDispatchBase = cast( PFN_vkCmdDispatchBase ) vkGetDeviceProcAddr( device, "vkCmdDispatchBase" ); 190 vkGetImageMemoryRequirements2 = cast( PFN_vkGetImageMemoryRequirements2 ) vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2" ); 191 vkGetBufferMemoryRequirements2 = cast( PFN_vkGetBufferMemoryRequirements2 ) vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2" ); 192 vkGetImageSparseMemoryRequirements2 = cast( PFN_vkGetImageSparseMemoryRequirements2 ) vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2" ); 193 vkTrimCommandPool = cast( PFN_vkTrimCommandPool ) vkGetDeviceProcAddr( device, "vkTrimCommandPool" ); 194 vkGetDeviceQueue2 = cast( PFN_vkGetDeviceQueue2 ) vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ); 195 vkCreateSamplerYcbcrConversion = cast( PFN_vkCreateSamplerYcbcrConversion ) vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversion" ); 196 vkDestroySamplerYcbcrConversion = cast( PFN_vkDestroySamplerYcbcrConversion ) vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversion" ); 197 vkCreateDescriptorUpdateTemplate = cast( PFN_vkCreateDescriptorUpdateTemplate ) vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplate" ); 198 vkDestroyDescriptorUpdateTemplate = cast( PFN_vkDestroyDescriptorUpdateTemplate ) vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplate" ); 199 vkUpdateDescriptorSetWithTemplate = cast( PFN_vkUpdateDescriptorSetWithTemplate ) vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplate" ); 200 vkGetDescriptorSetLayoutSupport = cast( PFN_vkGetDescriptorSetLayoutSupport ) vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupport" ); 201 202 // VK_VERSION_1_2 203 vkCmdDrawIndirectCount = cast( PFN_vkCmdDrawIndirectCount ) vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCount" ); 204 vkCmdDrawIndexedIndirectCount = cast( PFN_vkCmdDrawIndexedIndirectCount ) vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCount" ); 205 vkCreateRenderPass2 = cast( PFN_vkCreateRenderPass2 ) vkGetDeviceProcAddr( device, "vkCreateRenderPass2" ); 206 vkCmdBeginRenderPass2 = cast( PFN_vkCmdBeginRenderPass2 ) vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2" ); 207 vkCmdNextSubpass2 = cast( PFN_vkCmdNextSubpass2 ) vkGetDeviceProcAddr( device, "vkCmdNextSubpass2" ); 208 vkCmdEndRenderPass2 = cast( PFN_vkCmdEndRenderPass2 ) vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2" ); 209 vkResetQueryPool = cast( PFN_vkResetQueryPool ) vkGetDeviceProcAddr( device, "vkResetQueryPool" ); 210 vkGetSemaphoreCounterValue = cast( PFN_vkGetSemaphoreCounterValue ) vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValue" ); 211 vkWaitSemaphores = cast( PFN_vkWaitSemaphores ) vkGetDeviceProcAddr( device, "vkWaitSemaphores" ); 212 vkSignalSemaphore = cast( PFN_vkSignalSemaphore ) vkGetDeviceProcAddr( device, "vkSignalSemaphore" ); 213 vkGetBufferDeviceAddress = cast( PFN_vkGetBufferDeviceAddress ) vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddress" ); 214 vkGetBufferOpaqueCaptureAddress = cast( PFN_vkGetBufferOpaqueCaptureAddress ) vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddress" ); 215 vkGetDeviceMemoryOpaqueCaptureAddress = cast( PFN_vkGetDeviceMemoryOpaqueCaptureAddress ) vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddress" ); 216 217 // VK_KHR_swapchain 218 vkCreateSwapchainKHR = cast( PFN_vkCreateSwapchainKHR ) vkGetDeviceProcAddr( device, "vkCreateSwapchainKHR" ); 219 vkDestroySwapchainKHR = cast( PFN_vkDestroySwapchainKHR ) vkGetDeviceProcAddr( device, "vkDestroySwapchainKHR" ); 220 vkGetSwapchainImagesKHR = cast( PFN_vkGetSwapchainImagesKHR ) vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ); 221 vkAcquireNextImageKHR = cast( PFN_vkAcquireNextImageKHR ) vkGetDeviceProcAddr( device, "vkAcquireNextImageKHR" ); 222 vkQueuePresentKHR = cast( PFN_vkQueuePresentKHR ) vkGetDeviceProcAddr( device, "vkQueuePresentKHR" ); 223 vkGetDeviceGroupPresentCapabilitiesKHR = cast( PFN_vkGetDeviceGroupPresentCapabilitiesKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceGroupPresentCapabilitiesKHR" ); 224 vkGetDeviceGroupSurfacePresentModesKHR = cast( PFN_vkGetDeviceGroupSurfacePresentModesKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModesKHR" ); 225 vkAcquireNextImage2KHR = cast( PFN_vkAcquireNextImage2KHR ) vkGetDeviceProcAddr( device, "vkAcquireNextImage2KHR" ); 226 227 // VK_KHR_display_swapchain 228 vkCreateSharedSwapchainsKHR = cast( PFN_vkCreateSharedSwapchainsKHR ) vkGetDeviceProcAddr( device, "vkCreateSharedSwapchainsKHR" ); 229 230 // VK_KHR_dynamic_rendering 231 vkCmdBeginRenderingKHR = cast( PFN_vkCmdBeginRenderingKHR ) vkGetDeviceProcAddr( device, "vkCmdBeginRenderingKHR" ); 232 vkCmdEndRenderingKHR = cast( PFN_vkCmdEndRenderingKHR ) vkGetDeviceProcAddr( device, "vkCmdEndRenderingKHR" ); 233 234 // VK_KHR_external_memory_fd 235 vkGetMemoryFdKHR = cast( PFN_vkGetMemoryFdKHR ) vkGetDeviceProcAddr( device, "vkGetMemoryFdKHR" ); 236 vkGetMemoryFdPropertiesKHR = cast( PFN_vkGetMemoryFdPropertiesKHR ) vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ); 237 238 // VK_KHR_external_semaphore_fd 239 vkImportSemaphoreFdKHR = cast( PFN_vkImportSemaphoreFdKHR ) vkGetDeviceProcAddr( device, "vkImportSemaphoreFdKHR" ); 240 vkGetSemaphoreFdKHR = cast( PFN_vkGetSemaphoreFdKHR ) vkGetDeviceProcAddr( device, "vkGetSemaphoreFdKHR" ); 241 242 // VK_KHR_push_descriptor 243 vkCmdPushDescriptorSetKHR = cast( PFN_vkCmdPushDescriptorSetKHR ) vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetKHR" ); 244 vkCmdPushDescriptorSetWithTemplateKHR = cast( PFN_vkCmdPushDescriptorSetWithTemplateKHR ) vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplateKHR" ); 245 246 // VK_KHR_shared_presentable_image 247 vkGetSwapchainStatusKHR = cast( PFN_vkGetSwapchainStatusKHR ) vkGetDeviceProcAddr( device, "vkGetSwapchainStatusKHR" ); 248 249 // VK_KHR_external_fence_fd 250 vkImportFenceFdKHR = cast( PFN_vkImportFenceFdKHR ) vkGetDeviceProcAddr( device, "vkImportFenceFdKHR" ); 251 vkGetFenceFdKHR = cast( PFN_vkGetFenceFdKHR ) vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ); 252 253 // VK_KHR_performance_query 254 vkAcquireProfilingLockKHR = cast( PFN_vkAcquireProfilingLockKHR ) vkGetDeviceProcAddr( device, "vkAcquireProfilingLockKHR" ); 255 vkReleaseProfilingLockKHR = cast( PFN_vkReleaseProfilingLockKHR ) vkGetDeviceProcAddr( device, "vkReleaseProfilingLockKHR" ); 256 257 // VK_KHR_fragment_shading_rate 258 vkCmdSetFragmentShadingRateKHR = cast( PFN_vkCmdSetFragmentShadingRateKHR ) vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateKHR" ); 259 260 // VK_KHR_present_wait 261 vkWaitForPresentKHR = cast( PFN_vkWaitForPresentKHR ) vkGetDeviceProcAddr( device, "vkWaitForPresentKHR" ); 262 263 // VK_KHR_deferred_host_operations 264 vkCreateDeferredOperationKHR = cast( PFN_vkCreateDeferredOperationKHR ) vkGetDeviceProcAddr( device, "vkCreateDeferredOperationKHR" ); 265 vkDestroyDeferredOperationKHR = cast( PFN_vkDestroyDeferredOperationKHR ) vkGetDeviceProcAddr( device, "vkDestroyDeferredOperationKHR" ); 266 vkGetDeferredOperationMaxConcurrencyKHR = cast( PFN_vkGetDeferredOperationMaxConcurrencyKHR ) vkGetDeviceProcAddr( device, "vkGetDeferredOperationMaxConcurrencyKHR" ); 267 vkGetDeferredOperationResultKHR = cast( PFN_vkGetDeferredOperationResultKHR ) vkGetDeviceProcAddr( device, "vkGetDeferredOperationResultKHR" ); 268 vkDeferredOperationJoinKHR = cast( PFN_vkDeferredOperationJoinKHR ) vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ); 269 270 // VK_KHR_pipeline_executable_properties 271 vkGetPipelineExecutablePropertiesKHR = cast( PFN_vkGetPipelineExecutablePropertiesKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutablePropertiesKHR" ); 272 vkGetPipelineExecutableStatisticsKHR = cast( PFN_vkGetPipelineExecutableStatisticsKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutableStatisticsKHR" ); 273 vkGetPipelineExecutableInternalRepresentationsKHR = cast( PFN_vkGetPipelineExecutableInternalRepresentationsKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ); 274 275 // VK_KHR_synchronization2 276 vkCmdSetEvent2KHR = cast( PFN_vkCmdSetEvent2KHR ) vkGetDeviceProcAddr( device, "vkCmdSetEvent2KHR" ); 277 vkCmdResetEvent2KHR = cast( PFN_vkCmdResetEvent2KHR ) vkGetDeviceProcAddr( device, "vkCmdResetEvent2KHR" ); 278 vkCmdWaitEvents2KHR = cast( PFN_vkCmdWaitEvents2KHR ) vkGetDeviceProcAddr( device, "vkCmdWaitEvents2KHR" ); 279 vkCmdPipelineBarrier2KHR = cast( PFN_vkCmdPipelineBarrier2KHR ) vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier2KHR" ); 280 vkCmdWriteTimestamp2KHR = cast( PFN_vkCmdWriteTimestamp2KHR ) vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp2KHR" ); 281 vkQueueSubmit2KHR = cast( PFN_vkQueueSubmit2KHR ) vkGetDeviceProcAddr( device, "vkQueueSubmit2KHR" ); 282 vkCmdWriteBufferMarker2AMD = cast( PFN_vkCmdWriteBufferMarker2AMD ) vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarker2AMD" ); 283 vkGetQueueCheckpointData2NV = cast( PFN_vkGetQueueCheckpointData2NV ) vkGetDeviceProcAddr( device, "vkGetQueueCheckpointData2NV" ); 284 285 // VK_KHR_copy_commands2 286 vkCmdCopyBuffer2KHR = cast( PFN_vkCmdCopyBuffer2KHR ) vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2KHR" ); 287 vkCmdCopyImage2KHR = cast( PFN_vkCmdCopyImage2KHR ) vkGetDeviceProcAddr( device, "vkCmdCopyImage2KHR" ); 288 vkCmdCopyBufferToImage2KHR = cast( PFN_vkCmdCopyBufferToImage2KHR ) vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2KHR" ); 289 vkCmdCopyImageToBuffer2KHR = cast( PFN_vkCmdCopyImageToBuffer2KHR ) vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2KHR" ); 290 vkCmdBlitImage2KHR = cast( PFN_vkCmdBlitImage2KHR ) vkGetDeviceProcAddr( device, "vkCmdBlitImage2KHR" ); 291 vkCmdResolveImage2KHR = cast( PFN_vkCmdResolveImage2KHR ) vkGetDeviceProcAddr( device, "vkCmdResolveImage2KHR" ); 292 293 // VK_KHR_maintenance4 294 vkGetDeviceBufferMemoryRequirementsKHR = cast( PFN_vkGetDeviceBufferMemoryRequirementsKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceBufferMemoryRequirementsKHR" ); 295 vkGetDeviceImageMemoryRequirementsKHR = cast( PFN_vkGetDeviceImageMemoryRequirementsKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceImageMemoryRequirementsKHR" ); 296 vkGetDeviceImageSparseMemoryRequirementsKHR = cast( PFN_vkGetDeviceImageSparseMemoryRequirementsKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceImageSparseMemoryRequirementsKHR" ); 297 298 // VK_EXT_debug_marker 299 vkDebugMarkerSetObjectTagEXT = cast( PFN_vkDebugMarkerSetObjectTagEXT ) vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectTagEXT" ); 300 vkDebugMarkerSetObjectNameEXT = cast( PFN_vkDebugMarkerSetObjectNameEXT ) vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectNameEXT" ); 301 vkCmdDebugMarkerBeginEXT = cast( PFN_vkCmdDebugMarkerBeginEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerBeginEXT" ); 302 vkCmdDebugMarkerEndEXT = cast( PFN_vkCmdDebugMarkerEndEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerEndEXT" ); 303 vkCmdDebugMarkerInsertEXT = cast( PFN_vkCmdDebugMarkerInsertEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerInsertEXT" ); 304 305 // VK_EXT_transform_feedback 306 vkCmdBindTransformFeedbackBuffersEXT = cast( PFN_vkCmdBindTransformFeedbackBuffersEXT ) vkGetDeviceProcAddr( device, "vkCmdBindTransformFeedbackBuffersEXT" ); 307 vkCmdBeginTransformFeedbackEXT = cast( PFN_vkCmdBeginTransformFeedbackEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginTransformFeedbackEXT" ); 308 vkCmdEndTransformFeedbackEXT = cast( PFN_vkCmdEndTransformFeedbackEXT ) vkGetDeviceProcAddr( device, "vkCmdEndTransformFeedbackEXT" ); 309 vkCmdBeginQueryIndexedEXT = cast( PFN_vkCmdBeginQueryIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginQueryIndexedEXT" ); 310 vkCmdEndQueryIndexedEXT = cast( PFN_vkCmdEndQueryIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdEndQueryIndexedEXT" ); 311 vkCmdDrawIndirectByteCountEXT = cast( PFN_vkCmdDrawIndirectByteCountEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawIndirectByteCountEXT" ); 312 313 // VK_NVX_binary_import 314 vkCreateCuModuleNVX = cast( PFN_vkCreateCuModuleNVX ) vkGetDeviceProcAddr( device, "vkCreateCuModuleNVX" ); 315 vkCreateCuFunctionNVX = cast( PFN_vkCreateCuFunctionNVX ) vkGetDeviceProcAddr( device, "vkCreateCuFunctionNVX" ); 316 vkDestroyCuModuleNVX = cast( PFN_vkDestroyCuModuleNVX ) vkGetDeviceProcAddr( device, "vkDestroyCuModuleNVX" ); 317 vkDestroyCuFunctionNVX = cast( PFN_vkDestroyCuFunctionNVX ) vkGetDeviceProcAddr( device, "vkDestroyCuFunctionNVX" ); 318 vkCmdCuLaunchKernelNVX = cast( PFN_vkCmdCuLaunchKernelNVX ) vkGetDeviceProcAddr( device, "vkCmdCuLaunchKernelNVX" ); 319 320 // VK_NVX_image_view_handle 321 vkGetImageViewHandleNVX = cast( PFN_vkGetImageViewHandleNVX ) vkGetDeviceProcAddr( device, "vkGetImageViewHandleNVX" ); 322 vkGetImageViewAddressNVX = cast( PFN_vkGetImageViewAddressNVX ) vkGetDeviceProcAddr( device, "vkGetImageViewAddressNVX" ); 323 324 // VK_AMD_shader_info 325 vkGetShaderInfoAMD = cast( PFN_vkGetShaderInfoAMD ) vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ); 326 327 // VK_EXT_conditional_rendering 328 vkCmdBeginConditionalRenderingEXT = cast( PFN_vkCmdBeginConditionalRenderingEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginConditionalRenderingEXT" ); 329 vkCmdEndConditionalRenderingEXT = cast( PFN_vkCmdEndConditionalRenderingEXT ) vkGetDeviceProcAddr( device, "vkCmdEndConditionalRenderingEXT" ); 330 331 // VK_NV_clip_space_w_scaling 332 vkCmdSetViewportWScalingNV = cast( PFN_vkCmdSetViewportWScalingNV ) vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingNV" ); 333 334 // VK_EXT_display_control 335 vkDisplayPowerControlEXT = cast( PFN_vkDisplayPowerControlEXT ) vkGetDeviceProcAddr( device, "vkDisplayPowerControlEXT" ); 336 vkRegisterDeviceEventEXT = cast( PFN_vkRegisterDeviceEventEXT ) vkGetDeviceProcAddr( device, "vkRegisterDeviceEventEXT" ); 337 vkRegisterDisplayEventEXT = cast( PFN_vkRegisterDisplayEventEXT ) vkGetDeviceProcAddr( device, "vkRegisterDisplayEventEXT" ); 338 vkGetSwapchainCounterEXT = cast( PFN_vkGetSwapchainCounterEXT ) vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ); 339 340 // VK_GOOGLE_display_timing 341 vkGetRefreshCycleDurationGOOGLE = cast( PFN_vkGetRefreshCycleDurationGOOGLE ) vkGetDeviceProcAddr( device, "vkGetRefreshCycleDurationGOOGLE" ); 342 vkGetPastPresentationTimingGOOGLE = cast( PFN_vkGetPastPresentationTimingGOOGLE ) vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingGOOGLE" ); 343 344 // VK_EXT_discard_rectangles 345 vkCmdSetDiscardRectangleEXT = cast( PFN_vkCmdSetDiscardRectangleEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEXT" ); 346 347 // VK_EXT_hdr_metadata 348 vkSetHdrMetadataEXT = cast( PFN_vkSetHdrMetadataEXT ) vkGetDeviceProcAddr( device, "vkSetHdrMetadataEXT" ); 349 350 // VK_EXT_debug_utils 351 vkSetDebugUtilsObjectNameEXT = cast( PFN_vkSetDebugUtilsObjectNameEXT ) vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" ); 352 vkSetDebugUtilsObjectTagEXT = cast( PFN_vkSetDebugUtilsObjectTagEXT ) vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectTagEXT" ); 353 vkQueueBeginDebugUtilsLabelEXT = cast( PFN_vkQueueBeginDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueBeginDebugUtilsLabelEXT" ); 354 vkQueueEndDebugUtilsLabelEXT = cast( PFN_vkQueueEndDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueEndDebugUtilsLabelEXT" ); 355 vkQueueInsertDebugUtilsLabelEXT = cast( PFN_vkQueueInsertDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueInsertDebugUtilsLabelEXT" ); 356 vkCmdBeginDebugUtilsLabelEXT = cast( PFN_vkCmdBeginDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginDebugUtilsLabelEXT" ); 357 vkCmdEndDebugUtilsLabelEXT = cast( PFN_vkCmdEndDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdEndDebugUtilsLabelEXT" ); 358 vkCmdInsertDebugUtilsLabelEXT = cast( PFN_vkCmdInsertDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdInsertDebugUtilsLabelEXT" ); 359 360 // VK_EXT_sample_locations 361 vkCmdSetSampleLocationsEXT = cast( PFN_vkCmdSetSampleLocationsEXT ) vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEXT" ); 362 363 // VK_EXT_image_drm_format_modifier 364 vkGetImageDrmFormatModifierPropertiesEXT = cast( PFN_vkGetImageDrmFormatModifierPropertiesEXT ) vkGetDeviceProcAddr( device, "vkGetImageDrmFormatModifierPropertiesEXT" ); 365 366 // VK_EXT_validation_cache 367 vkCreateValidationCacheEXT = cast( PFN_vkCreateValidationCacheEXT ) vkGetDeviceProcAddr( device, "vkCreateValidationCacheEXT" ); 368 vkDestroyValidationCacheEXT = cast( PFN_vkDestroyValidationCacheEXT ) vkGetDeviceProcAddr( device, "vkDestroyValidationCacheEXT" ); 369 vkMergeValidationCachesEXT = cast( PFN_vkMergeValidationCachesEXT ) vkGetDeviceProcAddr( device, "vkMergeValidationCachesEXT" ); 370 vkGetValidationCacheDataEXT = cast( PFN_vkGetValidationCacheDataEXT ) vkGetDeviceProcAddr( device, "vkGetValidationCacheDataEXT" ); 371 372 // VK_NV_shading_rate_image 373 vkCmdBindShadingRateImageNV = cast( PFN_vkCmdBindShadingRateImageNV ) vkGetDeviceProcAddr( device, "vkCmdBindShadingRateImageNV" ); 374 vkCmdSetViewportShadingRatePaletteNV = cast( PFN_vkCmdSetViewportShadingRatePaletteNV ) vkGetDeviceProcAddr( device, "vkCmdSetViewportShadingRatePaletteNV" ); 375 vkCmdSetCoarseSampleOrderNV = cast( PFN_vkCmdSetCoarseSampleOrderNV ) vkGetDeviceProcAddr( device, "vkCmdSetCoarseSampleOrderNV" ); 376 377 // VK_NV_ray_tracing 378 vkCreateAccelerationStructureNV = cast( PFN_vkCreateAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureNV" ); 379 vkDestroyAccelerationStructureNV = cast( PFN_vkDestroyAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ); 380 vkGetAccelerationStructureMemoryRequirementsNV = cast( PFN_vkGetAccelerationStructureMemoryRequirementsNV ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsNV" ); 381 vkBindAccelerationStructureMemoryNV = cast( PFN_vkBindAccelerationStructureMemoryNV ) vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ); 382 vkCmdBuildAccelerationStructureNV = cast( PFN_vkCmdBuildAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureNV" ); 383 vkCmdCopyAccelerationStructureNV = cast( PFN_vkCmdCopyAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureNV" ); 384 vkCmdTraceRaysNV = cast( PFN_vkCmdTraceRaysNV ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ); 385 vkCreateRayTracingPipelinesNV = cast( PFN_vkCreateRayTracingPipelinesNV ) vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesNV" ); 386 vkGetRayTracingShaderGroupHandlesKHR = cast( PFN_vkGetRayTracingShaderGroupHandlesKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ); 387 vkGetAccelerationStructureHandleNV = cast( PFN_vkGetAccelerationStructureHandleNV ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureHandleNV" ); 388 vkCmdWriteAccelerationStructuresPropertiesNV = cast( PFN_vkCmdWriteAccelerationStructuresPropertiesNV ) vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ); 389 vkCompileDeferredNV = cast( PFN_vkCompileDeferredNV ) vkGetDeviceProcAddr( device, "vkCompileDeferredNV" ); 390 391 // VK_EXT_external_memory_host 392 vkGetMemoryHostPointerPropertiesEXT = cast( PFN_vkGetMemoryHostPointerPropertiesEXT ) vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ); 393 394 // VK_AMD_buffer_marker 395 vkCmdWriteBufferMarkerAMD = cast( PFN_vkCmdWriteBufferMarkerAMD ) vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarkerAMD" ); 396 397 // VK_EXT_calibrated_timestamps 398 vkGetCalibratedTimestampsEXT = cast( PFN_vkGetCalibratedTimestampsEXT ) vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsEXT" ); 399 400 // VK_NV_mesh_shader 401 vkCmdDrawMeshTasksNV = cast( PFN_vkCmdDrawMeshTasksNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksNV" ); 402 vkCmdDrawMeshTasksIndirectNV = cast( PFN_vkCmdDrawMeshTasksIndirectNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectNV" ); 403 vkCmdDrawMeshTasksIndirectCountNV = cast( PFN_vkCmdDrawMeshTasksIndirectCountNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountNV" ); 404 405 // VK_NV_scissor_exclusive 406 vkCmdSetExclusiveScissorNV = cast( PFN_vkCmdSetExclusiveScissorNV ) vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorNV" ); 407 408 // VK_NV_device_diagnostic_checkpoints 409 vkCmdSetCheckpointNV = cast( PFN_vkCmdSetCheckpointNV ) vkGetDeviceProcAddr( device, "vkCmdSetCheckpointNV" ); 410 vkGetQueueCheckpointDataNV = cast( PFN_vkGetQueueCheckpointDataNV ) vkGetDeviceProcAddr( device, "vkGetQueueCheckpointDataNV" ); 411 412 // VK_INTEL_performance_query 413 vkInitializePerformanceApiINTEL = cast( PFN_vkInitializePerformanceApiINTEL ) vkGetDeviceProcAddr( device, "vkInitializePerformanceApiINTEL" ); 414 vkUninitializePerformanceApiINTEL = cast( PFN_vkUninitializePerformanceApiINTEL ) vkGetDeviceProcAddr( device, "vkUninitializePerformanceApiINTEL" ); 415 vkCmdSetPerformanceMarkerINTEL = cast( PFN_vkCmdSetPerformanceMarkerINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceMarkerINTEL" ); 416 vkCmdSetPerformanceStreamMarkerINTEL = cast( PFN_vkCmdSetPerformanceStreamMarkerINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceStreamMarkerINTEL" ); 417 vkCmdSetPerformanceOverrideINTEL = cast( PFN_vkCmdSetPerformanceOverrideINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceOverrideINTEL" ); 418 vkAcquirePerformanceConfigurationINTEL = cast( PFN_vkAcquirePerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkAcquirePerformanceConfigurationINTEL" ); 419 vkReleasePerformanceConfigurationINTEL = cast( PFN_vkReleasePerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkReleasePerformanceConfigurationINTEL" ); 420 vkQueueSetPerformanceConfigurationINTEL = cast( PFN_vkQueueSetPerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkQueueSetPerformanceConfigurationINTEL" ); 421 vkGetPerformanceParameterINTEL = cast( PFN_vkGetPerformanceParameterINTEL ) vkGetDeviceProcAddr( device, "vkGetPerformanceParameterINTEL" ); 422 423 // VK_AMD_display_native_hdr 424 vkSetLocalDimmingAMD = cast( PFN_vkSetLocalDimmingAMD ) vkGetDeviceProcAddr( device, "vkSetLocalDimmingAMD" ); 425 426 // VK_EXT_line_rasterization 427 vkCmdSetLineStippleEXT = cast( PFN_vkCmdSetLineStippleEXT ) vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEXT" ); 428 429 // VK_EXT_extended_dynamic_state 430 vkCmdSetCullModeEXT = cast( PFN_vkCmdSetCullModeEXT ) vkGetDeviceProcAddr( device, "vkCmdSetCullModeEXT" ); 431 vkCmdSetFrontFaceEXT = cast( PFN_vkCmdSetFrontFaceEXT ) vkGetDeviceProcAddr( device, "vkCmdSetFrontFaceEXT" ); 432 vkCmdSetPrimitiveTopologyEXT = cast( PFN_vkCmdSetPrimitiveTopologyEXT ) vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopologyEXT" ); 433 vkCmdSetViewportWithCountEXT = cast( PFN_vkCmdSetViewportWithCountEXT ) vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCountEXT" ); 434 vkCmdSetScissorWithCountEXT = cast( PFN_vkCmdSetScissorWithCountEXT ) vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCountEXT" ); 435 vkCmdBindVertexBuffers2EXT = cast( PFN_vkCmdBindVertexBuffers2EXT ) vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2EXT" ); 436 vkCmdSetDepthTestEnableEXT = cast( PFN_vkCmdSetDepthTestEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnableEXT" ); 437 vkCmdSetDepthWriteEnableEXT = cast( PFN_vkCmdSetDepthWriteEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnableEXT" ); 438 vkCmdSetDepthCompareOpEXT = cast( PFN_vkCmdSetDepthCompareOpEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOpEXT" ); 439 vkCmdSetDepthBoundsTestEnableEXT = cast( PFN_vkCmdSetDepthBoundsTestEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnableEXT" ); 440 vkCmdSetStencilTestEnableEXT = cast( PFN_vkCmdSetStencilTestEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnableEXT" ); 441 vkCmdSetStencilOpEXT = cast( PFN_vkCmdSetStencilOpEXT ) vkGetDeviceProcAddr( device, "vkCmdSetStencilOpEXT" ); 442 443 // VK_NV_device_generated_commands 444 vkGetGeneratedCommandsMemoryRequirementsNV = cast( PFN_vkGetGeneratedCommandsMemoryRequirementsNV ) vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsNV" ); 445 vkCmdPreprocessGeneratedCommandsNV = cast( PFN_vkCmdPreprocessGeneratedCommandsNV ) vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsNV" ); 446 vkCmdExecuteGeneratedCommandsNV = cast( PFN_vkCmdExecuteGeneratedCommandsNV ) vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsNV" ); 447 vkCmdBindPipelineShaderGroupNV = cast( PFN_vkCmdBindPipelineShaderGroupNV ) vkGetDeviceProcAddr( device, "vkCmdBindPipelineShaderGroupNV" ); 448 vkCreateIndirectCommandsLayoutNV = cast( PFN_vkCreateIndirectCommandsLayoutNV ) vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutNV" ); 449 vkDestroyIndirectCommandsLayoutNV = cast( PFN_vkDestroyIndirectCommandsLayoutNV ) vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutNV" ); 450 451 // VK_EXT_private_data 452 vkCreatePrivateDataSlotEXT = cast( PFN_vkCreatePrivateDataSlotEXT ) vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlotEXT" ); 453 vkDestroyPrivateDataSlotEXT = cast( PFN_vkDestroyPrivateDataSlotEXT ) vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlotEXT" ); 454 vkSetPrivateDataEXT = cast( PFN_vkSetPrivateDataEXT ) vkGetDeviceProcAddr( device, "vkSetPrivateDataEXT" ); 455 vkGetPrivateDataEXT = cast( PFN_vkGetPrivateDataEXT ) vkGetDeviceProcAddr( device, "vkGetPrivateDataEXT" ); 456 457 // VK_NV_fragment_shading_rate_enums 458 vkCmdSetFragmentShadingRateEnumNV = cast( PFN_vkCmdSetFragmentShadingRateEnumNV ) vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateEnumNV" ); 459 460 // VK_EXT_vertex_input_dynamic_state 461 vkCmdSetVertexInputEXT = cast( PFN_vkCmdSetVertexInputEXT ) vkGetDeviceProcAddr( device, "vkCmdSetVertexInputEXT" ); 462 463 // VK_HUAWEI_subpass_shading 464 vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = cast( PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) vkGetDeviceProcAddr( device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ); 465 vkCmdSubpassShadingHUAWEI = cast( PFN_vkCmdSubpassShadingHUAWEI ) vkGetDeviceProcAddr( device, "vkCmdSubpassShadingHUAWEI" ); 466 467 // VK_HUAWEI_invocation_mask 468 vkCmdBindInvocationMaskHUAWEI = cast( PFN_vkCmdBindInvocationMaskHUAWEI ) vkGetDeviceProcAddr( device, "vkCmdBindInvocationMaskHUAWEI" ); 469 470 // VK_NV_external_memory_rdma 471 vkGetMemoryRemoteAddressNV = cast( PFN_vkGetMemoryRemoteAddressNV ) vkGetDeviceProcAddr( device, "vkGetMemoryRemoteAddressNV" ); 472 473 // VK_EXT_extended_dynamic_state2 474 vkCmdSetPatchControlPointsEXT = cast( PFN_vkCmdSetPatchControlPointsEXT ) vkGetDeviceProcAddr( device, "vkCmdSetPatchControlPointsEXT" ); 475 vkCmdSetRasterizerDiscardEnableEXT = cast( PFN_vkCmdSetRasterizerDiscardEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetRasterizerDiscardEnableEXT" ); 476 vkCmdSetDepthBiasEnableEXT = cast( PFN_vkCmdSetDepthBiasEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBiasEnableEXT" ); 477 vkCmdSetLogicOpEXT = cast( PFN_vkCmdSetLogicOpEXT ) vkGetDeviceProcAddr( device, "vkCmdSetLogicOpEXT" ); 478 vkCmdSetPrimitiveRestartEnableEXT = cast( PFN_vkCmdSetPrimitiveRestartEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveRestartEnableEXT" ); 479 480 // VK_EXT_color_write_enable 481 vkCmdSetColorWriteEnableEXT = cast( PFN_vkCmdSetColorWriteEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetColorWriteEnableEXT" ); 482 483 // VK_EXT_multi_draw 484 vkCmdDrawMultiEXT = cast( PFN_vkCmdDrawMultiEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMultiEXT" ); 485 vkCmdDrawMultiIndexedEXT = cast( PFN_vkCmdDrawMultiIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMultiIndexedEXT" ); 486 487 // VK_EXT_pageable_device_local_memory 488 vkSetDeviceMemoryPriorityEXT = cast( PFN_vkSetDeviceMemoryPriorityEXT ) vkGetDeviceProcAddr( device, "vkSetDeviceMemoryPriorityEXT" ); 489 490 // VK_KHR_acceleration_structure 491 vkCreateAccelerationStructureKHR = cast( PFN_vkCreateAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureKHR" ); 492 vkDestroyAccelerationStructureKHR = cast( PFN_vkDestroyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ); 493 vkCmdBuildAccelerationStructuresKHR = cast( PFN_vkCmdBuildAccelerationStructuresKHR ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresKHR" ); 494 vkCmdBuildAccelerationStructuresIndirectKHR = cast( PFN_vkCmdBuildAccelerationStructuresIndirectKHR ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresIndirectKHR" ); 495 vkBuildAccelerationStructuresKHR = cast( PFN_vkBuildAccelerationStructuresKHR ) vkGetDeviceProcAddr( device, "vkBuildAccelerationStructuresKHR" ); 496 vkCopyAccelerationStructureKHR = cast( PFN_vkCopyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureKHR" ); 497 vkCopyAccelerationStructureToMemoryKHR = cast( PFN_vkCopyAccelerationStructureToMemoryKHR ) vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureToMemoryKHR" ); 498 vkCopyMemoryToAccelerationStructureKHR = cast( PFN_vkCopyMemoryToAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCopyMemoryToAccelerationStructureKHR" ); 499 vkWriteAccelerationStructuresPropertiesKHR = cast( PFN_vkWriteAccelerationStructuresPropertiesKHR ) vkGetDeviceProcAddr( device, "vkWriteAccelerationStructuresPropertiesKHR" ); 500 vkCmdCopyAccelerationStructureKHR = cast( PFN_vkCmdCopyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureKHR" ); 501 vkCmdCopyAccelerationStructureToMemoryKHR = cast( PFN_vkCmdCopyAccelerationStructureToMemoryKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureToMemoryKHR" ); 502 vkCmdCopyMemoryToAccelerationStructureKHR = cast( PFN_vkCmdCopyMemoryToAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToAccelerationStructureKHR" ); 503 vkGetAccelerationStructureDeviceAddressKHR = cast( PFN_vkGetAccelerationStructureDeviceAddressKHR ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureDeviceAddressKHR" ); 504 vkCmdWriteAccelerationStructuresPropertiesKHR = cast( PFN_vkCmdWriteAccelerationStructuresPropertiesKHR ) vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ); 505 vkGetDeviceAccelerationStructureCompatibilityKHR = cast( PFN_vkGetDeviceAccelerationStructureCompatibilityKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceAccelerationStructureCompatibilityKHR" ); 506 vkGetAccelerationStructureBuildSizesKHR = cast( PFN_vkGetAccelerationStructureBuildSizesKHR ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureBuildSizesKHR" ); 507 508 // VK_KHR_ray_tracing_pipeline 509 vkCmdTraceRaysKHR = cast( PFN_vkCmdTraceRaysKHR ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysKHR" ); 510 vkCreateRayTracingPipelinesKHR = cast( PFN_vkCreateRayTracingPipelinesKHR ) vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesKHR" ); 511 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = cast( PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ); 512 vkCmdTraceRaysIndirectKHR = cast( PFN_vkCmdTraceRaysIndirectKHR ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirectKHR" ); 513 vkGetRayTracingShaderGroupStackSizeKHR = cast( PFN_vkGetRayTracingShaderGroupStackSizeKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupStackSizeKHR" ); 514 vkCmdSetRayTracingPipelineStackSizeKHR = cast( PFN_vkCmdSetRayTracingPipelineStackSizeKHR ) vkGetDeviceProcAddr( device, "vkCmdSetRayTracingPipelineStackSizeKHR" ); 515 } 516 517 518 /// convenience member functions, forwarded to corresponding vulkan functions 519 /// parameters of type VkDevice, const( VkAllocationCallbacks )* and VkCommandBuffer are omitted 520 /// they will be supplied by the member properties vkDevice, pAllocator and the public member commandBuffer 521 /// e.g.: 522 /// auto dd = DispatchDevice( device ); 523 /// dd.DestroyDevice(); // instead of: dd.vkDestroyDevice( dd.vkDevice, pAllocator ); 524 /// 525 /// Same mechanism works with functions which require a VkCommandBuffer as first arg 526 /// In this case the public member 'commandBuffer' must be set beforehand 527 /// e.g.: 528 /// dd.commandBuffer = some_command_buffer; 529 /// dd.BeginCommandBuffer( &beginInfo ); 530 /// dd.CmdBindPipeline( VK_PIPELINE_BIND_POINT_GRAPHICS, some_pipeline ); 531 /// 532 /// Does not work with queues, there are just too few queue related functions 533 534 // VK_VERSION_1_0 535 void DestroyDevice() { vkDestroyDevice( vkDevice, pAllocator ); } 536 void GetDeviceQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue ) { vkGetDeviceQueue( vkDevice, queueFamilyIndex, queueIndex, pQueue ); } 537 VkResult DeviceWaitIdle() { return vkDeviceWaitIdle( vkDevice ); } 538 VkResult AllocateMemory( const( VkMemoryAllocateInfo )* pAllocateInfo, VkDeviceMemory* pMemory ) { return vkAllocateMemory( vkDevice, pAllocateInfo, pAllocator, pMemory ); } 539 void FreeMemory( VkDeviceMemory memory ) { vkFreeMemory( vkDevice, memory, pAllocator ); } 540 VkResult MapMemory( VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData ) { return vkMapMemory( vkDevice, memory, offset, size, flags, ppData ); } 541 void UnmapMemory( VkDeviceMemory memory ) { vkUnmapMemory( vkDevice, memory ); } 542 VkResult FlushMappedMemoryRanges( uint32_t memoryRangeCount, const( VkMappedMemoryRange )* pMemoryRanges ) { return vkFlushMappedMemoryRanges( vkDevice, memoryRangeCount, pMemoryRanges ); } 543 VkResult InvalidateMappedMemoryRanges( uint32_t memoryRangeCount, const( VkMappedMemoryRange )* pMemoryRanges ) { return vkInvalidateMappedMemoryRanges( vkDevice, memoryRangeCount, pMemoryRanges ); } 544 void GetDeviceMemoryCommitment( VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes ) { vkGetDeviceMemoryCommitment( vkDevice, memory, pCommittedMemoryInBytes ); } 545 VkResult BindBufferMemory( VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset ) { return vkBindBufferMemory( vkDevice, buffer, memory, memoryOffset ); } 546 VkResult BindImageMemory( VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset ) { return vkBindImageMemory( vkDevice, image, memory, memoryOffset ); } 547 void GetBufferMemoryRequirements( VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements ) { vkGetBufferMemoryRequirements( vkDevice, buffer, pMemoryRequirements ); } 548 void GetImageMemoryRequirements( VkImage image, VkMemoryRequirements* pMemoryRequirements ) { vkGetImageMemoryRequirements( vkDevice, image, pMemoryRequirements ); } 549 void GetImageSparseMemoryRequirements( VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements ) { vkGetImageSparseMemoryRequirements( vkDevice, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 550 VkResult CreateFence( const( VkFenceCreateInfo )* pCreateInfo, VkFence* pFence ) { return vkCreateFence( vkDevice, pCreateInfo, pAllocator, pFence ); } 551 void DestroyFence( VkFence fence ) { vkDestroyFence( vkDevice, fence, pAllocator ); } 552 VkResult ResetFences( uint32_t fenceCount, const( VkFence )* pFences ) { return vkResetFences( vkDevice, fenceCount, pFences ); } 553 VkResult GetFenceStatus( VkFence fence ) { return vkGetFenceStatus( vkDevice, fence ); } 554 VkResult WaitForFences( uint32_t fenceCount, const( VkFence )* pFences, VkBool32 waitAll, uint64_t timeout ) { return vkWaitForFences( vkDevice, fenceCount, pFences, waitAll, timeout ); } 555 VkResult CreateSemaphore( const( VkSemaphoreCreateInfo )* pCreateInfo, VkSemaphore* pSemaphore ) { return vkCreateSemaphore( vkDevice, pCreateInfo, pAllocator, pSemaphore ); } 556 void DestroySemaphore( VkSemaphore semaphore ) { vkDestroySemaphore( vkDevice, semaphore, pAllocator ); } 557 VkResult CreateEvent( const( VkEventCreateInfo )* pCreateInfo, VkEvent* pEvent ) { return vkCreateEvent( vkDevice, pCreateInfo, pAllocator, pEvent ); } 558 void DestroyEvent( VkEvent event ) { vkDestroyEvent( vkDevice, event, pAllocator ); } 559 VkResult GetEventStatus( VkEvent event ) { return vkGetEventStatus( vkDevice, event ); } 560 VkResult SetEvent( VkEvent event ) { return vkSetEvent( vkDevice, event ); } 561 VkResult ResetEvent( VkEvent event ) { return vkResetEvent( vkDevice, event ); } 562 VkResult CreateQueryPool( const( VkQueryPoolCreateInfo )* pCreateInfo, VkQueryPool* pQueryPool ) { return vkCreateQueryPool( vkDevice, pCreateInfo, pAllocator, pQueryPool ); } 563 void DestroyQueryPool( VkQueryPool queryPool ) { vkDestroyQueryPool( vkDevice, queryPool, pAllocator ); } 564 VkResult GetQueryPoolResults( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags ) { return vkGetQueryPoolResults( vkDevice, queryPool, firstQuery, queryCount, dataSize, pData, stride, flags ); } 565 VkResult CreateBuffer( const( VkBufferCreateInfo )* pCreateInfo, VkBuffer* pBuffer ) { return vkCreateBuffer( vkDevice, pCreateInfo, pAllocator, pBuffer ); } 566 void DestroyBuffer( VkBuffer buffer ) { vkDestroyBuffer( vkDevice, buffer, pAllocator ); } 567 VkResult CreateBufferView( const( VkBufferViewCreateInfo )* pCreateInfo, VkBufferView* pView ) { return vkCreateBufferView( vkDevice, pCreateInfo, pAllocator, pView ); } 568 void DestroyBufferView( VkBufferView bufferView ) { vkDestroyBufferView( vkDevice, bufferView, pAllocator ); } 569 VkResult CreateImage( const( VkImageCreateInfo )* pCreateInfo, VkImage* pImage ) { return vkCreateImage( vkDevice, pCreateInfo, pAllocator, pImage ); } 570 void DestroyImage( VkImage image ) { vkDestroyImage( vkDevice, image, pAllocator ); } 571 void GetImageSubresourceLayout( VkImage image, const( VkImageSubresource )* pSubresource, VkSubresourceLayout* pLayout ) { vkGetImageSubresourceLayout( vkDevice, image, pSubresource, pLayout ); } 572 VkResult CreateImageView( const( VkImageViewCreateInfo )* pCreateInfo, VkImageView* pView ) { return vkCreateImageView( vkDevice, pCreateInfo, pAllocator, pView ); } 573 void DestroyImageView( VkImageView imageView ) { vkDestroyImageView( vkDevice, imageView, pAllocator ); } 574 VkResult CreateShaderModule( const( VkShaderModuleCreateInfo )* pCreateInfo, VkShaderModule* pShaderModule ) { return vkCreateShaderModule( vkDevice, pCreateInfo, pAllocator, pShaderModule ); } 575 void DestroyShaderModule( VkShaderModule shaderModule ) { vkDestroyShaderModule( vkDevice, shaderModule, pAllocator ); } 576 VkResult CreatePipelineCache( const( VkPipelineCacheCreateInfo )* pCreateInfo, VkPipelineCache* pPipelineCache ) { return vkCreatePipelineCache( vkDevice, pCreateInfo, pAllocator, pPipelineCache ); } 577 void DestroyPipelineCache( VkPipelineCache pipelineCache ) { vkDestroyPipelineCache( vkDevice, pipelineCache, pAllocator ); } 578 VkResult GetPipelineCacheData( VkPipelineCache pipelineCache, size_t* pDataSize, void* pData ) { return vkGetPipelineCacheData( vkDevice, pipelineCache, pDataSize, pData ); } 579 VkResult MergePipelineCaches( VkPipelineCache dstCache, uint32_t srcCacheCount, const( VkPipelineCache )* pSrcCaches ) { return vkMergePipelineCaches( vkDevice, dstCache, srcCacheCount, pSrcCaches ); } 580 VkResult CreateGraphicsPipelines( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkGraphicsPipelineCreateInfo )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateGraphicsPipelines( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 581 VkResult CreateComputePipelines( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkComputePipelineCreateInfo )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateComputePipelines( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 582 void DestroyPipeline( VkPipeline pipeline ) { vkDestroyPipeline( vkDevice, pipeline, pAllocator ); } 583 VkResult CreatePipelineLayout( const( VkPipelineLayoutCreateInfo )* pCreateInfo, VkPipelineLayout* pPipelineLayout ) { return vkCreatePipelineLayout( vkDevice, pCreateInfo, pAllocator, pPipelineLayout ); } 584 void DestroyPipelineLayout( VkPipelineLayout pipelineLayout ) { vkDestroyPipelineLayout( vkDevice, pipelineLayout, pAllocator ); } 585 VkResult CreateSampler( const( VkSamplerCreateInfo )* pCreateInfo, VkSampler* pSampler ) { return vkCreateSampler( vkDevice, pCreateInfo, pAllocator, pSampler ); } 586 void DestroySampler( VkSampler sampler ) { vkDestroySampler( vkDevice, sampler, pAllocator ); } 587 VkResult CreateDescriptorSetLayout( const( VkDescriptorSetLayoutCreateInfo )* pCreateInfo, VkDescriptorSetLayout* pSetLayout ) { return vkCreateDescriptorSetLayout( vkDevice, pCreateInfo, pAllocator, pSetLayout ); } 588 void DestroyDescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout ) { vkDestroyDescriptorSetLayout( vkDevice, descriptorSetLayout, pAllocator ); } 589 VkResult CreateDescriptorPool( const( VkDescriptorPoolCreateInfo )* pCreateInfo, VkDescriptorPool* pDescriptorPool ) { return vkCreateDescriptorPool( vkDevice, pCreateInfo, pAllocator, pDescriptorPool ); } 590 void DestroyDescriptorPool( VkDescriptorPool descriptorPool ) { vkDestroyDescriptorPool( vkDevice, descriptorPool, pAllocator ); } 591 VkResult ResetDescriptorPool( VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags ) { return vkResetDescriptorPool( vkDevice, descriptorPool, flags ); } 592 VkResult AllocateDescriptorSets( const( VkDescriptorSetAllocateInfo )* pAllocateInfo, VkDescriptorSet* pDescriptorSets ) { return vkAllocateDescriptorSets( vkDevice, pAllocateInfo, pDescriptorSets ); } 593 VkResult FreeDescriptorSets( VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const( VkDescriptorSet )* pDescriptorSets ) { return vkFreeDescriptorSets( vkDevice, descriptorPool, descriptorSetCount, pDescriptorSets ); } 594 void UpdateDescriptorSets( uint32_t descriptorWriteCount, const( VkWriteDescriptorSet )* pDescriptorWrites, uint32_t descriptorCopyCount, const( VkCopyDescriptorSet )* pDescriptorCopies ) { vkUpdateDescriptorSets( vkDevice, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies ); } 595 VkResult CreateFramebuffer( const( VkFramebufferCreateInfo )* pCreateInfo, VkFramebuffer* pFramebuffer ) { return vkCreateFramebuffer( vkDevice, pCreateInfo, pAllocator, pFramebuffer ); } 596 void DestroyFramebuffer( VkFramebuffer framebuffer ) { vkDestroyFramebuffer( vkDevice, framebuffer, pAllocator ); } 597 VkResult CreateRenderPass( const( VkRenderPassCreateInfo )* pCreateInfo, VkRenderPass* pRenderPass ) { return vkCreateRenderPass( vkDevice, pCreateInfo, pAllocator, pRenderPass ); } 598 void DestroyRenderPass( VkRenderPass renderPass ) { vkDestroyRenderPass( vkDevice, renderPass, pAllocator ); } 599 void GetRenderAreaGranularity( VkRenderPass renderPass, VkExtent2D* pGranularity ) { vkGetRenderAreaGranularity( vkDevice, renderPass, pGranularity ); } 600 VkResult CreateCommandPool( const( VkCommandPoolCreateInfo )* pCreateInfo, VkCommandPool* pCommandPool ) { return vkCreateCommandPool( vkDevice, pCreateInfo, pAllocator, pCommandPool ); } 601 void DestroyCommandPool( VkCommandPool commandPool ) { vkDestroyCommandPool( vkDevice, commandPool, pAllocator ); } 602 VkResult ResetCommandPool( VkCommandPool commandPool, VkCommandPoolResetFlags flags ) { return vkResetCommandPool( vkDevice, commandPool, flags ); } 603 VkResult AllocateCommandBuffers( const( VkCommandBufferAllocateInfo )* pAllocateInfo, VkCommandBuffer* pCommandBuffers ) { return vkAllocateCommandBuffers( vkDevice, pAllocateInfo, pCommandBuffers ); } 604 void FreeCommandBuffers( VkCommandPool commandPool, uint32_t commandBufferCount, const( VkCommandBuffer )* pCommandBuffers ) { vkFreeCommandBuffers( vkDevice, commandPool, commandBufferCount, pCommandBuffers ); } 605 VkResult BeginCommandBuffer( const( VkCommandBufferBeginInfo )* pBeginInfo ) { return vkBeginCommandBuffer( commandBuffer, pBeginInfo ); } 606 VkResult EndCommandBuffer() { return vkEndCommandBuffer( commandBuffer ); } 607 VkResult ResetCommandBuffer( VkCommandBufferResetFlags flags ) { return vkResetCommandBuffer( commandBuffer, flags ); } 608 void CmdBindPipeline( VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline ) { vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline ); } 609 void CmdSetViewport( uint32_t firstViewport, uint32_t viewportCount, const( VkViewport )* pViewports ) { vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports ); } 610 void CmdSetScissor( uint32_t firstScissor, uint32_t scissorCount, const( VkRect2D )* pScissors ) { vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors ); } 611 void CmdSetLineWidth( float lineWidth ) { vkCmdSetLineWidth( commandBuffer, lineWidth ); } 612 void CmdSetDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) { vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); } 613 void CmdSetBlendConstants( const float[4] blendConstants ) { vkCmdSetBlendConstants( commandBuffer, blendConstants ); } 614 void CmdSetDepthBounds( float minDepthBounds, float maxDepthBounds ) { vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds ); } 615 void CmdSetStencilCompareMask( VkStencilFaceFlags faceMask, uint32_t compareMask ) { vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask ); } 616 void CmdSetStencilWriteMask( VkStencilFaceFlags faceMask, uint32_t writeMask ) { vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask ); } 617 void CmdSetStencilReference( VkStencilFaceFlags faceMask, uint32_t reference ) { vkCmdSetStencilReference( commandBuffer, faceMask, reference ); } 618 void CmdBindDescriptorSets( VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, const( VkDescriptorSet )* pDescriptorSets, uint32_t dynamicOffsetCount, const( uint32_t )* pDynamicOffsets ) { vkCmdBindDescriptorSets( commandBuffer, pipelineBindPoint, layout, firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets ); } 619 void CmdBindIndexBuffer( VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType ) { vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType ); } 620 void CmdBindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets ) { vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets ); } 621 void CmdDraw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) { vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); } 622 void CmdDrawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) { vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); } 623 void CmdDrawIndirect( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride ); } 624 void CmdDrawIndexedIndirect( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride ); } 625 void CmdDispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) { vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ ); } 626 void CmdDispatchIndirect( VkBuffer buffer, VkDeviceSize offset ) { vkCmdDispatchIndirect( commandBuffer, buffer, offset ); } 627 void CmdCopyBuffer( VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const( VkBufferCopy )* pRegions ) { vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions ); } 628 void CmdCopyImage( VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkImageCopy )* pRegions ) { vkCmdCopyImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); } 629 void CmdBlitImage( VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkImageBlit )* pRegions, VkFilter filter ) { vkCmdBlitImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions, filter ); } 630 void CmdCopyBufferToImage( VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkBufferImageCopy )* pRegions ) { vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions ); } 631 void CmdCopyImageToBuffer( VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const( VkBufferImageCopy )* pRegions ) { vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions ); } 632 void CmdUpdateBuffer( VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const( void )* pData ) { vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData ); } 633 void CmdFillBuffer( VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data ) { vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data ); } 634 void CmdClearColorImage( VkImage image, VkImageLayout imageLayout, const( VkClearColorValue )* pColor, uint32_t rangeCount, const( VkImageSubresourceRange )* pRanges ) { vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges ); } 635 void CmdClearDepthStencilImage( VkImage image, VkImageLayout imageLayout, const( VkClearDepthStencilValue )* pDepthStencil, uint32_t rangeCount, const( VkImageSubresourceRange )* pRanges ) { vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges ); } 636 void CmdClearAttachments( uint32_t attachmentCount, const( VkClearAttachment )* pAttachments, uint32_t rectCount, const( VkClearRect )* pRects ) { vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects ); } 637 void CmdResolveImage( VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkImageResolve )* pRegions ) { vkCmdResolveImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); } 638 void CmdSetEvent( VkEvent event, VkPipelineStageFlags stageMask ) { vkCmdSetEvent( commandBuffer, event, stageMask ); } 639 void CmdResetEvent( VkEvent event, VkPipelineStageFlags stageMask ) { vkCmdResetEvent( commandBuffer, event, stageMask ); } 640 void CmdWaitEvents( uint32_t eventCount, const( VkEvent )* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const( VkMemoryBarrier )* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const( VkBufferMemoryBarrier )* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const( VkImageMemoryBarrier )* pImageMemoryBarriers ) { vkCmdWaitEvents( commandBuffer, eventCount, pEvents, srcStageMask, dstStageMask, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers ); } 641 void CmdPipelineBarrier( VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint32_t memoryBarrierCount, const( VkMemoryBarrier )* pMemoryBarriers, uint32_t bufferMemoryBarrierCount, const( VkBufferMemoryBarrier )* pBufferMemoryBarriers, uint32_t imageMemoryBarrierCount, const( VkImageMemoryBarrier )* pImageMemoryBarriers ) { vkCmdPipelineBarrier( commandBuffer, srcStageMask, dstStageMask, dependencyFlags, memoryBarrierCount, pMemoryBarriers, bufferMemoryBarrierCount, pBufferMemoryBarriers, imageMemoryBarrierCount, pImageMemoryBarriers ); } 642 void CmdBeginQuery( VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags ) { vkCmdBeginQuery( commandBuffer, queryPool, query, flags ); } 643 void CmdEndQuery( VkQueryPool queryPool, uint32_t query ) { vkCmdEndQuery( commandBuffer, queryPool, query ); } 644 void CmdResetQueryPool( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) { vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount ); } 645 void CmdWriteTimestamp( VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query ) { vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query ); } 646 void CmdCopyQueryPoolResults( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags ) { vkCmdCopyQueryPoolResults( commandBuffer, queryPool, firstQuery, queryCount, dstBuffer, dstOffset, stride, flags ); } 647 void CmdPushConstants( VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const( void )* pValues ) { vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues ); } 648 void CmdBeginRenderPass( const( VkRenderPassBeginInfo )* pRenderPassBegin, VkSubpassContents contents ) { vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents ); } 649 void CmdNextSubpass( VkSubpassContents contents ) { vkCmdNextSubpass( commandBuffer, contents ); } 650 void CmdEndRenderPass() { vkCmdEndRenderPass( commandBuffer ); } 651 void CmdExecuteCommands( uint32_t commandBufferCount, const( VkCommandBuffer )* pCommandBuffers ) { vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers ); } 652 653 // VK_VERSION_1_1 654 VkResult BindBufferMemory2( uint32_t bindInfoCount, const( VkBindBufferMemoryInfo )* pBindInfos ) { return vkBindBufferMemory2( vkDevice, bindInfoCount, pBindInfos ); } 655 VkResult BindImageMemory2( uint32_t bindInfoCount, const( VkBindImageMemoryInfo )* pBindInfos ) { return vkBindImageMemory2( vkDevice, bindInfoCount, pBindInfos ); } 656 void GetDeviceGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) { vkGetDeviceGroupPeerMemoryFeatures( vkDevice, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); } 657 void CmdSetDeviceMask( uint32_t deviceMask ) { vkCmdSetDeviceMask( commandBuffer, deviceMask ); } 658 void CmdDispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) { vkCmdDispatchBase( commandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); } 659 void GetImageMemoryRequirements2( const( VkImageMemoryRequirementsInfo2 )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetImageMemoryRequirements2( vkDevice, pInfo, pMemoryRequirements ); } 660 void GetBufferMemoryRequirements2( const( VkBufferMemoryRequirementsInfo2 )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetBufferMemoryRequirements2( vkDevice, pInfo, pMemoryRequirements ); } 661 void GetImageSparseMemoryRequirements2( const( VkImageSparseMemoryRequirementsInfo2 )* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) { vkGetImageSparseMemoryRequirements2( vkDevice, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 662 void TrimCommandPool( VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) { vkTrimCommandPool( vkDevice, commandPool, flags ); } 663 void GetDeviceQueue2( const( VkDeviceQueueInfo2 )* pQueueInfo, VkQueue* pQueue ) { vkGetDeviceQueue2( vkDevice, pQueueInfo, pQueue ); } 664 VkResult CreateSamplerYcbcrConversion( const( VkSamplerYcbcrConversionCreateInfo )* pCreateInfo, VkSamplerYcbcrConversion* pYcbcrConversion ) { return vkCreateSamplerYcbcrConversion( vkDevice, pCreateInfo, pAllocator, pYcbcrConversion ); } 665 void DestroySamplerYcbcrConversion( VkSamplerYcbcrConversion ycbcrConversion ) { vkDestroySamplerYcbcrConversion( vkDevice, ycbcrConversion, pAllocator ); } 666 VkResult CreateDescriptorUpdateTemplate( const( VkDescriptorUpdateTemplateCreateInfo )* pCreateInfo, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) { return vkCreateDescriptorUpdateTemplate( vkDevice, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); } 667 void DestroyDescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate ) { vkDestroyDescriptorUpdateTemplate( vkDevice, descriptorUpdateTemplate, pAllocator ); } 668 void UpdateDescriptorSetWithTemplate( VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const( void )* pData ) { vkUpdateDescriptorSetWithTemplate( vkDevice, descriptorSet, descriptorUpdateTemplate, pData ); } 669 void GetDescriptorSetLayoutSupport( const( VkDescriptorSetLayoutCreateInfo )* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) { vkGetDescriptorSetLayoutSupport( vkDevice, pCreateInfo, pSupport ); } 670 671 // VK_VERSION_1_2 672 void CmdDrawIndirectCount( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 673 void CmdDrawIndexedIndirectCount( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawIndexedIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 674 VkResult CreateRenderPass2( const( VkRenderPassCreateInfo2 )* pCreateInfo, VkRenderPass* pRenderPass ) { return vkCreateRenderPass2( vkDevice, pCreateInfo, pAllocator, pRenderPass ); } 675 void CmdBeginRenderPass2( const( VkRenderPassBeginInfo )* pRenderPassBegin, const( VkSubpassBeginInfo )* pSubpassBeginInfo ) { vkCmdBeginRenderPass2( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); } 676 void CmdNextSubpass2( const( VkSubpassBeginInfo )* pSubpassBeginInfo, const( VkSubpassEndInfo )* pSubpassEndInfo ) { vkCmdNextSubpass2( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); } 677 void CmdEndRenderPass2( const( VkSubpassEndInfo )* pSubpassEndInfo ) { vkCmdEndRenderPass2( commandBuffer, pSubpassEndInfo ); } 678 void ResetQueryPool( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) { vkResetQueryPool( vkDevice, queryPool, firstQuery, queryCount ); } 679 VkResult GetSemaphoreCounterValue( VkSemaphore semaphore, uint64_t* pValue ) { return vkGetSemaphoreCounterValue( vkDevice, semaphore, pValue ); } 680 VkResult WaitSemaphores( const( VkSemaphoreWaitInfo )* pWaitInfo, uint64_t timeout ) { return vkWaitSemaphores( vkDevice, pWaitInfo, timeout ); } 681 VkResult SignalSemaphore( const( VkSemaphoreSignalInfo )* pSignalInfo ) { return vkSignalSemaphore( vkDevice, pSignalInfo ); } 682 VkDeviceAddress GetBufferDeviceAddress( const( VkBufferDeviceAddressInfo )* pInfo ) { return vkGetBufferDeviceAddress( vkDevice, pInfo ); } 683 uint64_t GetBufferOpaqueCaptureAddress( const( VkBufferDeviceAddressInfo )* pInfo ) { return vkGetBufferOpaqueCaptureAddress( vkDevice, pInfo ); } 684 uint64_t GetDeviceMemoryOpaqueCaptureAddress( const( VkDeviceMemoryOpaqueCaptureAddressInfo )* pInfo ) { return vkGetDeviceMemoryOpaqueCaptureAddress( vkDevice, pInfo ); } 685 686 // VK_KHR_swapchain 687 VkResult CreateSwapchainKHR( const( VkSwapchainCreateInfoKHR )* pCreateInfo, VkSwapchainKHR* pSwapchain ) { return vkCreateSwapchainKHR( vkDevice, pCreateInfo, pAllocator, pSwapchain ); } 688 void DestroySwapchainKHR( VkSwapchainKHR swapchain ) { vkDestroySwapchainKHR( vkDevice, swapchain, pAllocator ); } 689 VkResult GetSwapchainImagesKHR( VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages ) { return vkGetSwapchainImagesKHR( vkDevice, swapchain, pSwapchainImageCount, pSwapchainImages ); } 690 VkResult AcquireNextImageKHR( VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex ) { return vkAcquireNextImageKHR( vkDevice, swapchain, timeout, semaphore, fence, pImageIndex ); } 691 VkResult GetDeviceGroupPresentCapabilitiesKHR( VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities ) { return vkGetDeviceGroupPresentCapabilitiesKHR( vkDevice, pDeviceGroupPresentCapabilities ); } 692 VkResult GetDeviceGroupSurfacePresentModesKHR( VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes ) { return vkGetDeviceGroupSurfacePresentModesKHR( vkDevice, surface, pModes ); } 693 VkResult AcquireNextImage2KHR( const( VkAcquireNextImageInfoKHR )* pAcquireInfo, uint32_t* pImageIndex ) { return vkAcquireNextImage2KHR( vkDevice, pAcquireInfo, pImageIndex ); } 694 695 // VK_KHR_display_swapchain 696 VkResult CreateSharedSwapchainsKHR( uint32_t swapchainCount, const( VkSwapchainCreateInfoKHR )* pCreateInfos, VkSwapchainKHR* pSwapchains ) { return vkCreateSharedSwapchainsKHR( vkDevice, swapchainCount, pCreateInfos, pAllocator, pSwapchains ); } 697 698 // VK_KHR_dynamic_rendering 699 void CmdBeginRenderingKHR( const( VkRenderingInfoKHR )* pRenderingInfo ) { vkCmdBeginRenderingKHR( commandBuffer, pRenderingInfo ); } 700 void CmdEndRenderingKHR() { vkCmdEndRenderingKHR( commandBuffer ); } 701 702 // VK_KHR_external_memory_fd 703 VkResult GetMemoryFdKHR( const( VkMemoryGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetMemoryFdKHR( vkDevice, pGetFdInfo, pFd ); } 704 VkResult GetMemoryFdPropertiesKHR( VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties ) { return vkGetMemoryFdPropertiesKHR( vkDevice, handleType, fd, pMemoryFdProperties ); } 705 706 // VK_KHR_external_semaphore_fd 707 VkResult ImportSemaphoreFdKHR( const( VkImportSemaphoreFdInfoKHR )* pImportSemaphoreFdInfo ) { return vkImportSemaphoreFdKHR( vkDevice, pImportSemaphoreFdInfo ); } 708 VkResult GetSemaphoreFdKHR( const( VkSemaphoreGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetSemaphoreFdKHR( vkDevice, pGetFdInfo, pFd ); } 709 710 // VK_KHR_push_descriptor 711 void CmdPushDescriptorSetKHR( VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const( VkWriteDescriptorSet )* pDescriptorWrites ) { vkCmdPushDescriptorSetKHR( commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites ); } 712 void CmdPushDescriptorSetWithTemplateKHR( VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const( void )* pData ) { vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData ); } 713 714 // VK_KHR_shared_presentable_image 715 VkResult GetSwapchainStatusKHR( VkSwapchainKHR swapchain ) { return vkGetSwapchainStatusKHR( vkDevice, swapchain ); } 716 717 // VK_KHR_external_fence_fd 718 VkResult ImportFenceFdKHR( const( VkImportFenceFdInfoKHR )* pImportFenceFdInfo ) { return vkImportFenceFdKHR( vkDevice, pImportFenceFdInfo ); } 719 VkResult GetFenceFdKHR( const( VkFenceGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetFenceFdKHR( vkDevice, pGetFdInfo, pFd ); } 720 721 // VK_KHR_performance_query 722 VkResult AcquireProfilingLockKHR( const( VkAcquireProfilingLockInfoKHR )* pInfo ) { return vkAcquireProfilingLockKHR( vkDevice, pInfo ); } 723 void ReleaseProfilingLockKHR() { vkReleaseProfilingLockKHR( vkDevice ); } 724 725 // VK_KHR_fragment_shading_rate 726 void CmdSetFragmentShadingRateKHR( const( VkExtent2D )* pFragmentSize, const VkFragmentShadingRateCombinerOpKHR[2] combinerOps ) { vkCmdSetFragmentShadingRateKHR( commandBuffer, pFragmentSize, combinerOps ); } 727 728 // VK_KHR_present_wait 729 VkResult WaitForPresentKHR( VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout ) { return vkWaitForPresentKHR( vkDevice, swapchain, presentId, timeout ); } 730 731 // VK_KHR_deferred_host_operations 732 VkResult CreateDeferredOperationKHR( VkDeferredOperationKHR* pDeferredOperation ) { return vkCreateDeferredOperationKHR( vkDevice, pAllocator, pDeferredOperation ); } 733 void DestroyDeferredOperationKHR( VkDeferredOperationKHR operation ) { vkDestroyDeferredOperationKHR( vkDevice, operation, pAllocator ); } 734 uint32_t GetDeferredOperationMaxConcurrencyKHR( VkDeferredOperationKHR operation ) { return vkGetDeferredOperationMaxConcurrencyKHR( vkDevice, operation ); } 735 VkResult GetDeferredOperationResultKHR( VkDeferredOperationKHR operation ) { return vkGetDeferredOperationResultKHR( vkDevice, operation ); } 736 VkResult DeferredOperationJoinKHR( VkDeferredOperationKHR operation ) { return vkDeferredOperationJoinKHR( vkDevice, operation ); } 737 738 // VK_KHR_pipeline_executable_properties 739 VkResult GetPipelineExecutablePropertiesKHR( const( VkPipelineInfoKHR )* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties ) { return vkGetPipelineExecutablePropertiesKHR( vkDevice, pPipelineInfo, pExecutableCount, pProperties ); } 740 VkResult GetPipelineExecutableStatisticsKHR( const( VkPipelineExecutableInfoKHR )* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics ) { return vkGetPipelineExecutableStatisticsKHR( vkDevice, pExecutableInfo, pStatisticCount, pStatistics ); } 741 VkResult GetPipelineExecutableInternalRepresentationsKHR( const( VkPipelineExecutableInfoKHR )* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations ) { return vkGetPipelineExecutableInternalRepresentationsKHR( vkDevice, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations ); } 742 743 // VK_KHR_synchronization2 744 void CmdSetEvent2KHR( VkEvent event, const( VkDependencyInfoKHR )* pDependencyInfo ) { vkCmdSetEvent2KHR( commandBuffer, event, pDependencyInfo ); } 745 void CmdResetEvent2KHR( VkEvent event, VkPipelineStageFlags2KHR stageMask ) { vkCmdResetEvent2KHR( commandBuffer, event, stageMask ); } 746 void CmdWaitEvents2KHR( uint32_t eventCount, const( VkEvent )* pEvents, const( VkDependencyInfoKHR )* pDependencyInfos ) { vkCmdWaitEvents2KHR( commandBuffer, eventCount, pEvents, pDependencyInfos ); } 747 void CmdPipelineBarrier2KHR( const( VkDependencyInfoKHR )* pDependencyInfo ) { vkCmdPipelineBarrier2KHR( commandBuffer, pDependencyInfo ); } 748 void CmdWriteTimestamp2KHR( VkPipelineStageFlags2KHR stage, VkQueryPool queryPool, uint32_t query ) { vkCmdWriteTimestamp2KHR( commandBuffer, stage, queryPool, query ); } 749 void CmdWriteBufferMarker2AMD( VkPipelineStageFlags2KHR stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) { vkCmdWriteBufferMarker2AMD( commandBuffer, stage, dstBuffer, dstOffset, marker ); } 750 751 // VK_KHR_copy_commands2 752 void CmdCopyBuffer2KHR( const( VkCopyBufferInfo2KHR )* pCopyBufferInfo ) { vkCmdCopyBuffer2KHR( commandBuffer, pCopyBufferInfo ); } 753 void CmdCopyImage2KHR( const( VkCopyImageInfo2KHR )* pCopyImageInfo ) { vkCmdCopyImage2KHR( commandBuffer, pCopyImageInfo ); } 754 void CmdCopyBufferToImage2KHR( const( VkCopyBufferToImageInfo2KHR )* pCopyBufferToImageInfo ) { vkCmdCopyBufferToImage2KHR( commandBuffer, pCopyBufferToImageInfo ); } 755 void CmdCopyImageToBuffer2KHR( const( VkCopyImageToBufferInfo2KHR )* pCopyImageToBufferInfo ) { vkCmdCopyImageToBuffer2KHR( commandBuffer, pCopyImageToBufferInfo ); } 756 void CmdBlitImage2KHR( const( VkBlitImageInfo2KHR )* pBlitImageInfo ) { vkCmdBlitImage2KHR( commandBuffer, pBlitImageInfo ); } 757 void CmdResolveImage2KHR( const( VkResolveImageInfo2KHR )* pResolveImageInfo ) { vkCmdResolveImage2KHR( commandBuffer, pResolveImageInfo ); } 758 759 // VK_KHR_maintenance4 760 void GetDeviceBufferMemoryRequirementsKHR( const( VkDeviceBufferMemoryRequirementsKHR )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetDeviceBufferMemoryRequirementsKHR( vkDevice, pInfo, pMemoryRequirements ); } 761 void GetDeviceImageMemoryRequirementsKHR( const( VkDeviceImageMemoryRequirementsKHR )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetDeviceImageMemoryRequirementsKHR( vkDevice, pInfo, pMemoryRequirements ); } 762 void GetDeviceImageSparseMemoryRequirementsKHR( const( VkDeviceImageMemoryRequirementsKHR )* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) { vkGetDeviceImageSparseMemoryRequirementsKHR( vkDevice, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 763 764 // VK_EXT_debug_marker 765 VkResult DebugMarkerSetObjectTagEXT( const( VkDebugMarkerObjectTagInfoEXT )* pTagInfo ) { return vkDebugMarkerSetObjectTagEXT( vkDevice, pTagInfo ); } 766 VkResult DebugMarkerSetObjectNameEXT( const( VkDebugMarkerObjectNameInfoEXT )* pNameInfo ) { return vkDebugMarkerSetObjectNameEXT( vkDevice, pNameInfo ); } 767 void CmdDebugMarkerBeginEXT( const( VkDebugMarkerMarkerInfoEXT )* pMarkerInfo ) { vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo ); } 768 void CmdDebugMarkerEndEXT() { vkCmdDebugMarkerEndEXT( commandBuffer ); } 769 void CmdDebugMarkerInsertEXT( const( VkDebugMarkerMarkerInfoEXT )* pMarkerInfo ) { vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo ); } 770 771 // VK_EXT_transform_feedback 772 void CmdBindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets, const( VkDeviceSize )* pSizes ) { vkCmdBindTransformFeedbackBuffersEXT( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes ); } 773 void CmdBeginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const( VkBuffer )* pCounterBuffers, const( VkDeviceSize )* pCounterBufferOffsets ) { vkCmdBeginTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); } 774 void CmdEndTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const( VkBuffer )* pCounterBuffers, const( VkDeviceSize )* pCounterBufferOffsets ) { vkCmdEndTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); } 775 void CmdBeginQueryIndexedEXT( VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index ) { vkCmdBeginQueryIndexedEXT( commandBuffer, queryPool, query, flags, index ); } 776 void CmdEndQueryIndexedEXT( VkQueryPool queryPool, uint32_t query, uint32_t index ) { vkCmdEndQueryIndexedEXT( commandBuffer, queryPool, query, index ); } 777 void CmdDrawIndirectByteCountEXT( uint32_t instanceCount, uint32_t firstInstance, VkBuffer counterBuffer, VkDeviceSize counterBufferOffset, uint32_t counterOffset, uint32_t vertexStride ) { vkCmdDrawIndirectByteCountEXT( commandBuffer, instanceCount, firstInstance, counterBuffer, counterBufferOffset, counterOffset, vertexStride ); } 778 779 // VK_NVX_binary_import 780 VkResult CreateCuModuleNVX( const( VkCuModuleCreateInfoNVX )* pCreateInfo, VkCuModuleNVX* pModule ) { return vkCreateCuModuleNVX( vkDevice, pCreateInfo, pAllocator, pModule ); } 781 VkResult CreateCuFunctionNVX( const( VkCuFunctionCreateInfoNVX )* pCreateInfo, VkCuFunctionNVX* pFunction ) { return vkCreateCuFunctionNVX( vkDevice, pCreateInfo, pAllocator, pFunction ); } 782 void DestroyCuModuleNVX( VkCuModuleNVX Module ) { vkDestroyCuModuleNVX( vkDevice, Module, pAllocator ); } 783 void DestroyCuFunctionNVX( VkCuFunctionNVX Function ) { vkDestroyCuFunctionNVX( vkDevice, Function, pAllocator ); } 784 void CmdCuLaunchKernelNVX( const( VkCuLaunchInfoNVX )* pLaunchInfo ) { vkCmdCuLaunchKernelNVX( commandBuffer, pLaunchInfo ); } 785 786 // VK_NVX_image_view_handle 787 uint32_t GetImageViewHandleNVX( const( VkImageViewHandleInfoNVX )* pInfo ) { return vkGetImageViewHandleNVX( vkDevice, pInfo ); } 788 VkResult GetImageViewAddressNVX( VkImageView imageView, VkImageViewAddressPropertiesNVX* pProperties ) { return vkGetImageViewAddressNVX( vkDevice, imageView, pProperties ); } 789 790 // VK_AMD_shader_info 791 VkResult GetShaderInfoAMD( VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo ) { return vkGetShaderInfoAMD( vkDevice, pipeline, shaderStage, infoType, pInfoSize, pInfo ); } 792 793 // VK_EXT_conditional_rendering 794 void CmdBeginConditionalRenderingEXT( const( VkConditionalRenderingBeginInfoEXT )* pConditionalRenderingBegin ) { vkCmdBeginConditionalRenderingEXT( commandBuffer, pConditionalRenderingBegin ); } 795 void CmdEndConditionalRenderingEXT() { vkCmdEndConditionalRenderingEXT( commandBuffer ); } 796 797 // VK_NV_clip_space_w_scaling 798 void CmdSetViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const( VkViewportWScalingNV )* pViewportWScalings ) { vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings ); } 799 800 // VK_EXT_display_control 801 VkResult DisplayPowerControlEXT( VkDisplayKHR display, const( VkDisplayPowerInfoEXT )* pDisplayPowerInfo ) { return vkDisplayPowerControlEXT( vkDevice, display, pDisplayPowerInfo ); } 802 VkResult RegisterDeviceEventEXT( const( VkDeviceEventInfoEXT )* pDeviceEventInfo, VkFence* pFence ) { return vkRegisterDeviceEventEXT( vkDevice, pDeviceEventInfo, pAllocator, pFence ); } 803 VkResult RegisterDisplayEventEXT( VkDisplayKHR display, const( VkDisplayEventInfoEXT )* pDisplayEventInfo, VkFence* pFence ) { return vkRegisterDisplayEventEXT( vkDevice, display, pDisplayEventInfo, pAllocator, pFence ); } 804 VkResult GetSwapchainCounterEXT( VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue ) { return vkGetSwapchainCounterEXT( vkDevice, swapchain, counter, pCounterValue ); } 805 806 // VK_GOOGLE_display_timing 807 VkResult GetRefreshCycleDurationGOOGLE( VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties ) { return vkGetRefreshCycleDurationGOOGLE( vkDevice, swapchain, pDisplayTimingProperties ); } 808 VkResult GetPastPresentationTimingGOOGLE( VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings ) { return vkGetPastPresentationTimingGOOGLE( vkDevice, swapchain, pPresentationTimingCount, pPresentationTimings ); } 809 810 // VK_EXT_discard_rectangles 811 void CmdSetDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const( VkRect2D )* pDiscardRectangles ) { vkCmdSetDiscardRectangleEXT( commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles ); } 812 813 // VK_EXT_hdr_metadata 814 void SetHdrMetadataEXT( uint32_t swapchainCount, const( VkSwapchainKHR )* pSwapchains, const( VkHdrMetadataEXT )* pMetadata ) { vkSetHdrMetadataEXT( vkDevice, swapchainCount, pSwapchains, pMetadata ); } 815 816 // VK_EXT_debug_utils 817 VkResult SetDebugUtilsObjectNameEXT( const( VkDebugUtilsObjectNameInfoEXT )* pNameInfo ) { return vkSetDebugUtilsObjectNameEXT( vkDevice, pNameInfo ); } 818 VkResult SetDebugUtilsObjectTagEXT( const( VkDebugUtilsObjectTagInfoEXT )* pTagInfo ) { return vkSetDebugUtilsObjectTagEXT( vkDevice, pTagInfo ); } 819 void CmdBeginDebugUtilsLabelEXT( const( VkDebugUtilsLabelEXT )* pLabelInfo ) { vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); } 820 void CmdEndDebugUtilsLabelEXT() { vkCmdEndDebugUtilsLabelEXT( commandBuffer ); } 821 void CmdInsertDebugUtilsLabelEXT( const( VkDebugUtilsLabelEXT )* pLabelInfo ) { vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); } 822 823 // VK_EXT_sample_locations 824 void CmdSetSampleLocationsEXT( const( VkSampleLocationsInfoEXT )* pSampleLocationsInfo ) { vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo ); } 825 826 // VK_EXT_image_drm_format_modifier 827 VkResult GetImageDrmFormatModifierPropertiesEXT( VkImage image, VkImageDrmFormatModifierPropertiesEXT* pProperties ) { return vkGetImageDrmFormatModifierPropertiesEXT( vkDevice, image, pProperties ); } 828 829 // VK_EXT_validation_cache 830 VkResult CreateValidationCacheEXT( const( VkValidationCacheCreateInfoEXT )* pCreateInfo, VkValidationCacheEXT* pValidationCache ) { return vkCreateValidationCacheEXT( vkDevice, pCreateInfo, pAllocator, pValidationCache ); } 831 void DestroyValidationCacheEXT( VkValidationCacheEXT validationCache ) { vkDestroyValidationCacheEXT( vkDevice, validationCache, pAllocator ); } 832 VkResult MergeValidationCachesEXT( VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const( VkValidationCacheEXT )* pSrcCaches ) { return vkMergeValidationCachesEXT( vkDevice, dstCache, srcCacheCount, pSrcCaches ); } 833 VkResult GetValidationCacheDataEXT( VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData ) { return vkGetValidationCacheDataEXT( vkDevice, validationCache, pDataSize, pData ); } 834 835 // VK_NV_shading_rate_image 836 void CmdBindShadingRateImageNV( VkImageView imageView, VkImageLayout imageLayout ) { vkCmdBindShadingRateImageNV( commandBuffer, imageView, imageLayout ); } 837 void CmdSetViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, const( VkShadingRatePaletteNV )* pShadingRatePalettes ) { vkCmdSetViewportShadingRatePaletteNV( commandBuffer, firstViewport, viewportCount, pShadingRatePalettes ); } 838 void CmdSetCoarseSampleOrderNV( VkCoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const( VkCoarseSampleOrderCustomNV )* pCustomSampleOrders ) { vkCmdSetCoarseSampleOrderNV( commandBuffer, sampleOrderType, customSampleOrderCount, pCustomSampleOrders ); } 839 840 // VK_NV_ray_tracing 841 VkResult CreateAccelerationStructureNV( const( VkAccelerationStructureCreateInfoNV )* pCreateInfo, VkAccelerationStructureNV* pAccelerationStructure ) { return vkCreateAccelerationStructureNV( vkDevice, pCreateInfo, pAllocator, pAccelerationStructure ); } 842 void DestroyAccelerationStructureNV( VkAccelerationStructureNV accelerationStructure ) { vkDestroyAccelerationStructureNV( vkDevice, accelerationStructure, pAllocator ); } 843 void GetAccelerationStructureMemoryRequirementsNV( const( VkAccelerationStructureMemoryRequirementsInfoNV )* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements ) { vkGetAccelerationStructureMemoryRequirementsNV( vkDevice, pInfo, pMemoryRequirements ); } 844 VkResult BindAccelerationStructureMemoryNV( uint32_t bindInfoCount, const( VkBindAccelerationStructureMemoryInfoNV )* pBindInfos ) { return vkBindAccelerationStructureMemoryNV( vkDevice, bindInfoCount, pBindInfos ); } 845 void CmdBuildAccelerationStructureNV( const( VkAccelerationStructureInfoNV )* pInfo, VkBuffer instanceData, VkDeviceSize instanceOffset, VkBool32 update, VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkBuffer scratch, VkDeviceSize scratchOffset ) { vkCmdBuildAccelerationStructureNV( commandBuffer, pInfo, instanceData, instanceOffset, update, dst, src, scratch, scratchOffset ); } 846 void CmdCopyAccelerationStructureNV( VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkCopyAccelerationStructureModeKHR mode ) { vkCmdCopyAccelerationStructureNV( commandBuffer, dst, src, mode ); } 847 void CmdTraceRaysNV( VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset, VkBuffer missShaderBindingTableBuffer, VkDeviceSize missShaderBindingOffset, VkDeviceSize missShaderBindingStride, VkBuffer hitShaderBindingTableBuffer, VkDeviceSize hitShaderBindingOffset, VkDeviceSize hitShaderBindingStride, VkBuffer callableShaderBindingTableBuffer, VkDeviceSize callableShaderBindingOffset, VkDeviceSize callableShaderBindingStride, uint32_t width, uint32_t height, uint32_t depth ) { vkCmdTraceRaysNV( commandBuffer, raygenShaderBindingTableBuffer, raygenShaderBindingOffset, missShaderBindingTableBuffer, missShaderBindingOffset, missShaderBindingStride, hitShaderBindingTableBuffer, hitShaderBindingOffset, hitShaderBindingStride, callableShaderBindingTableBuffer, callableShaderBindingOffset, callableShaderBindingStride, width, height, depth ); } 848 VkResult CreateRayTracingPipelinesNV( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkRayTracingPipelineCreateInfoNV )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateRayTracingPipelinesNV( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 849 VkResult GetRayTracingShaderGroupHandlesKHR( VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) { return vkGetRayTracingShaderGroupHandlesKHR( vkDevice, pipeline, firstGroup, groupCount, dataSize, pData ); } 850 VkResult GetAccelerationStructureHandleNV( VkAccelerationStructureNV accelerationStructure, size_t dataSize, void* pData ) { return vkGetAccelerationStructureHandleNV( vkDevice, accelerationStructure, dataSize, pData ); } 851 void CmdWriteAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, const( VkAccelerationStructureNV )* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) { vkCmdWriteAccelerationStructuresPropertiesNV( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); } 852 VkResult CompileDeferredNV( VkPipeline pipeline, uint32_t shader ) { return vkCompileDeferredNV( vkDevice, pipeline, shader ); } 853 854 // VK_EXT_external_memory_host 855 VkResult GetMemoryHostPointerPropertiesEXT( VkExternalMemoryHandleTypeFlagBits handleType, const( void )* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) { return vkGetMemoryHostPointerPropertiesEXT( vkDevice, handleType, pHostPointer, pMemoryHostPointerProperties ); } 856 857 // VK_AMD_buffer_marker 858 void CmdWriteBufferMarkerAMD( VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) { vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker ); } 859 860 // VK_EXT_calibrated_timestamps 861 VkResult GetCalibratedTimestampsEXT( uint32_t timestampCount, const( VkCalibratedTimestampInfoEXT )* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation ) { return vkGetCalibratedTimestampsEXT( vkDevice, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation ); } 862 863 // VK_NV_mesh_shader 864 void CmdDrawMeshTasksNV( uint32_t taskCount, uint32_t firstTask ) { vkCmdDrawMeshTasksNV( commandBuffer, taskCount, firstTask ); } 865 void CmdDrawMeshTasksIndirectNV( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectNV( commandBuffer, buffer, offset, drawCount, stride ); } 866 void CmdDrawMeshTasksIndirectCountNV( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectCountNV( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 867 868 // VK_NV_scissor_exclusive 869 void CmdSetExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const( VkRect2D )* pExclusiveScissors ) { vkCmdSetExclusiveScissorNV( commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors ); } 870 871 // VK_NV_device_diagnostic_checkpoints 872 void CmdSetCheckpointNV( const( void )* pCheckpointMarker ) { vkCmdSetCheckpointNV( commandBuffer, pCheckpointMarker ); } 873 874 // VK_INTEL_performance_query 875 VkResult InitializePerformanceApiINTEL( const( VkInitializePerformanceApiInfoINTEL )* pInitializeInfo ) { return vkInitializePerformanceApiINTEL( vkDevice, pInitializeInfo ); } 876 void UninitializePerformanceApiINTEL() { vkUninitializePerformanceApiINTEL( vkDevice ); } 877 VkResult CmdSetPerformanceMarkerINTEL( const( VkPerformanceMarkerInfoINTEL )* pMarkerInfo ) { return vkCmdSetPerformanceMarkerINTEL( commandBuffer, pMarkerInfo ); } 878 VkResult CmdSetPerformanceStreamMarkerINTEL( const( VkPerformanceStreamMarkerInfoINTEL )* pMarkerInfo ) { return vkCmdSetPerformanceStreamMarkerINTEL( commandBuffer, pMarkerInfo ); } 879 VkResult CmdSetPerformanceOverrideINTEL( const( VkPerformanceOverrideInfoINTEL )* pOverrideInfo ) { return vkCmdSetPerformanceOverrideINTEL( commandBuffer, pOverrideInfo ); } 880 VkResult AcquirePerformanceConfigurationINTEL( const( VkPerformanceConfigurationAcquireInfoINTEL )* pAcquireInfo, VkPerformanceConfigurationINTEL* pConfiguration ) { return vkAcquirePerformanceConfigurationINTEL( vkDevice, pAcquireInfo, pConfiguration ); } 881 VkResult ReleasePerformanceConfigurationINTEL( VkPerformanceConfigurationINTEL configuration ) { return vkReleasePerformanceConfigurationINTEL( vkDevice, configuration ); } 882 VkResult GetPerformanceParameterINTEL( VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL* pValue ) { return vkGetPerformanceParameterINTEL( vkDevice, parameter, pValue ); } 883 884 // VK_AMD_display_native_hdr 885 void SetLocalDimmingAMD( VkSwapchainKHR swapChain, VkBool32 localDimmingEnable ) { vkSetLocalDimmingAMD( vkDevice, swapChain, localDimmingEnable ); } 886 887 // VK_EXT_line_rasterization 888 void CmdSetLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) { vkCmdSetLineStippleEXT( commandBuffer, lineStippleFactor, lineStipplePattern ); } 889 890 // VK_EXT_extended_dynamic_state 891 void CmdSetCullModeEXT( VkCullModeFlags cullMode ) { vkCmdSetCullModeEXT( commandBuffer, cullMode ); } 892 void CmdSetFrontFaceEXT( VkFrontFace frontFace ) { vkCmdSetFrontFaceEXT( commandBuffer, frontFace ); } 893 void CmdSetPrimitiveTopologyEXT( VkPrimitiveTopology primitiveTopology ) { vkCmdSetPrimitiveTopologyEXT( commandBuffer, primitiveTopology ); } 894 void CmdSetViewportWithCountEXT( uint32_t viewportCount, const( VkViewport )* pViewports ) { vkCmdSetViewportWithCountEXT( commandBuffer, viewportCount, pViewports ); } 895 void CmdSetScissorWithCountEXT( uint32_t scissorCount, const( VkRect2D )* pScissors ) { vkCmdSetScissorWithCountEXT( commandBuffer, scissorCount, pScissors ); } 896 void CmdBindVertexBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets, const( VkDeviceSize )* pSizes, const( VkDeviceSize )* pStrides ) { vkCmdBindVertexBuffers2EXT( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides ); } 897 void CmdSetDepthTestEnableEXT( VkBool32 depthTestEnable ) { vkCmdSetDepthTestEnableEXT( commandBuffer, depthTestEnable ); } 898 void CmdSetDepthWriteEnableEXT( VkBool32 depthWriteEnable ) { vkCmdSetDepthWriteEnableEXT( commandBuffer, depthWriteEnable ); } 899 void CmdSetDepthCompareOpEXT( VkCompareOp depthCompareOp ) { vkCmdSetDepthCompareOpEXT( commandBuffer, depthCompareOp ); } 900 void CmdSetDepthBoundsTestEnableEXT( VkBool32 depthBoundsTestEnable ) { vkCmdSetDepthBoundsTestEnableEXT( commandBuffer, depthBoundsTestEnable ); } 901 void CmdSetStencilTestEnableEXT( VkBool32 stencilTestEnable ) { vkCmdSetStencilTestEnableEXT( commandBuffer, stencilTestEnable ); } 902 void CmdSetStencilOpEXT( VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp ) { vkCmdSetStencilOpEXT( commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp ); } 903 904 // VK_NV_device_generated_commands 905 void GetGeneratedCommandsMemoryRequirementsNV( const( VkGeneratedCommandsMemoryRequirementsInfoNV )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetGeneratedCommandsMemoryRequirementsNV( vkDevice, pInfo, pMemoryRequirements ); } 906 void CmdPreprocessGeneratedCommandsNV( const( VkGeneratedCommandsInfoNV )* pGeneratedCommandsInfo ) { vkCmdPreprocessGeneratedCommandsNV( commandBuffer, pGeneratedCommandsInfo ); } 907 void CmdExecuteGeneratedCommandsNV( VkBool32 isPreprocessed, const( VkGeneratedCommandsInfoNV )* pGeneratedCommandsInfo ) { vkCmdExecuteGeneratedCommandsNV( commandBuffer, isPreprocessed, pGeneratedCommandsInfo ); } 908 void CmdBindPipelineShaderGroupNV( VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex ) { vkCmdBindPipelineShaderGroupNV( commandBuffer, pipelineBindPoint, pipeline, groupIndex ); } 909 VkResult CreateIndirectCommandsLayoutNV( const( VkIndirectCommandsLayoutCreateInfoNV )* pCreateInfo, VkIndirectCommandsLayoutNV* pIndirectCommandsLayout ) { return vkCreateIndirectCommandsLayoutNV( vkDevice, pCreateInfo, pAllocator, pIndirectCommandsLayout ); } 910 void DestroyIndirectCommandsLayoutNV( VkIndirectCommandsLayoutNV indirectCommandsLayout ) { vkDestroyIndirectCommandsLayoutNV( vkDevice, indirectCommandsLayout, pAllocator ); } 911 912 // VK_EXT_private_data 913 VkResult CreatePrivateDataSlotEXT( const( VkPrivateDataSlotCreateInfoEXT )* pCreateInfo, VkPrivateDataSlotEXT* pPrivateDataSlot ) { return vkCreatePrivateDataSlotEXT( vkDevice, pCreateInfo, pAllocator, pPrivateDataSlot ); } 914 void DestroyPrivateDataSlotEXT( VkPrivateDataSlotEXT privateDataSlot ) { vkDestroyPrivateDataSlotEXT( vkDevice, privateDataSlot, pAllocator ); } 915 VkResult SetPrivateDataEXT( VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t data ) { return vkSetPrivateDataEXT( vkDevice, objectType, objectHandle, privateDataSlot, data ); } 916 void GetPrivateDataEXT( VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlotEXT privateDataSlot, uint64_t* pData ) { vkGetPrivateDataEXT( vkDevice, objectType, objectHandle, privateDataSlot, pData ); } 917 918 // VK_NV_fragment_shading_rate_enums 919 void CmdSetFragmentShadingRateEnumNV( VkFragmentShadingRateNV shadingRate, const VkFragmentShadingRateCombinerOpKHR[2] combinerOps ) { vkCmdSetFragmentShadingRateEnumNV( commandBuffer, shadingRate, combinerOps ); } 920 921 // VK_EXT_vertex_input_dynamic_state 922 void CmdSetVertexInputEXT( uint32_t vertexBindingDescriptionCount, const( VkVertexInputBindingDescription2EXT )* pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, const( VkVertexInputAttributeDescription2EXT )* pVertexAttributeDescriptions ) { vkCmdSetVertexInputEXT( commandBuffer, vertexBindingDescriptionCount, pVertexBindingDescriptions, vertexAttributeDescriptionCount, pVertexAttributeDescriptions ); } 923 924 // VK_HUAWEI_subpass_shading 925 VkResult GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( VkRenderPass renderpass, VkExtent2D* pMaxWorkgroupSize ) { return vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( vkDevice, renderpass, pMaxWorkgroupSize ); } 926 void CmdSubpassShadingHUAWEI() { vkCmdSubpassShadingHUAWEI( commandBuffer ); } 927 928 // VK_HUAWEI_invocation_mask 929 void CmdBindInvocationMaskHUAWEI( VkImageView imageView, VkImageLayout imageLayout ) { vkCmdBindInvocationMaskHUAWEI( commandBuffer, imageView, imageLayout ); } 930 931 // VK_NV_external_memory_rdma 932 VkResult GetMemoryRemoteAddressNV( const( VkMemoryGetRemoteAddressInfoNV )* pMemoryGetRemoteAddressInfo, VkRemoteAddressNV* pAddress ) { return vkGetMemoryRemoteAddressNV( vkDevice, pMemoryGetRemoteAddressInfo, pAddress ); } 933 934 // VK_EXT_extended_dynamic_state2 935 void CmdSetPatchControlPointsEXT( uint32_t patchControlPoints ) { vkCmdSetPatchControlPointsEXT( commandBuffer, patchControlPoints ); } 936 void CmdSetRasterizerDiscardEnableEXT( VkBool32 rasterizerDiscardEnable ) { vkCmdSetRasterizerDiscardEnableEXT( commandBuffer, rasterizerDiscardEnable ); } 937 void CmdSetDepthBiasEnableEXT( VkBool32 depthBiasEnable ) { vkCmdSetDepthBiasEnableEXT( commandBuffer, depthBiasEnable ); } 938 void CmdSetLogicOpEXT( VkLogicOp logicOp ) { vkCmdSetLogicOpEXT( commandBuffer, logicOp ); } 939 void CmdSetPrimitiveRestartEnableEXT( VkBool32 primitiveRestartEnable ) { vkCmdSetPrimitiveRestartEnableEXT( commandBuffer, primitiveRestartEnable ); } 940 941 // VK_EXT_color_write_enable 942 void CmdSetColorWriteEnableEXT( uint32_t attachmentCount, const( VkBool32 )* pColorWriteEnables ) { vkCmdSetColorWriteEnableEXT( commandBuffer, attachmentCount, pColorWriteEnables ); } 943 944 // VK_EXT_multi_draw 945 void CmdDrawMultiEXT( uint32_t drawCount, const( VkMultiDrawInfoEXT )* pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride ) { vkCmdDrawMultiEXT( commandBuffer, drawCount, pVertexInfo, instanceCount, firstInstance, stride ); } 946 void CmdDrawMultiIndexedEXT( uint32_t drawCount, const( VkMultiDrawIndexedInfoEXT )* pIndexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, const( int32_t )* pVertexOffset ) { vkCmdDrawMultiIndexedEXT( commandBuffer, drawCount, pIndexInfo, instanceCount, firstInstance, stride, pVertexOffset ); } 947 948 // VK_EXT_pageable_device_local_memory 949 void SetDeviceMemoryPriorityEXT( VkDeviceMemory memory, float priority ) { vkSetDeviceMemoryPriorityEXT( vkDevice, memory, priority ); } 950 951 // VK_KHR_acceleration_structure 952 VkResult CreateAccelerationStructureKHR( const( VkAccelerationStructureCreateInfoKHR )* pCreateInfo, VkAccelerationStructureKHR* pAccelerationStructure ) { return vkCreateAccelerationStructureKHR( vkDevice, pCreateInfo, pAllocator, pAccelerationStructure ); } 953 void DestroyAccelerationStructureKHR( VkAccelerationStructureKHR accelerationStructure ) { vkDestroyAccelerationStructureKHR( vkDevice, accelerationStructure, pAllocator ); } 954 void CmdBuildAccelerationStructuresKHR( uint32_t infoCount, const( VkAccelerationStructureBuildGeometryInfoKHR )* pInfos, const( VkAccelerationStructureBuildRangeInfoKHR* )* ppBuildRangeInfos ) { vkCmdBuildAccelerationStructuresKHR( commandBuffer, infoCount, pInfos, ppBuildRangeInfos ); } 955 void CmdBuildAccelerationStructuresIndirectKHR( uint32_t infoCount, const( VkAccelerationStructureBuildGeometryInfoKHR )* pInfos, const( VkDeviceAddress )* pIndirectDeviceAddresses, const( uint32_t )* pIndirectStrides, const( uint32_t* )* ppMaxPrimitiveCounts ) { vkCmdBuildAccelerationStructuresIndirectKHR( commandBuffer, infoCount, pInfos, pIndirectDeviceAddresses, pIndirectStrides, ppMaxPrimitiveCounts ); } 956 VkResult BuildAccelerationStructuresKHR( VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const( VkAccelerationStructureBuildGeometryInfoKHR )* pInfos, const( VkAccelerationStructureBuildRangeInfoKHR* )* ppBuildRangeInfos ) { return vkBuildAccelerationStructuresKHR( vkDevice, deferredOperation, infoCount, pInfos, ppBuildRangeInfos ); } 957 VkResult CopyAccelerationStructureKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyAccelerationStructureInfoKHR )* pInfo ) { return vkCopyAccelerationStructureKHR( vkDevice, deferredOperation, pInfo ); } 958 VkResult CopyAccelerationStructureToMemoryKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyAccelerationStructureToMemoryInfoKHR )* pInfo ) { return vkCopyAccelerationStructureToMemoryKHR( vkDevice, deferredOperation, pInfo ); } 959 VkResult CopyMemoryToAccelerationStructureKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyMemoryToAccelerationStructureInfoKHR )* pInfo ) { return vkCopyMemoryToAccelerationStructureKHR( vkDevice, deferredOperation, pInfo ); } 960 VkResult WriteAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const( VkAccelerationStructureKHR )* pAccelerationStructures, VkQueryType queryType, size_t dataSize, void* pData, size_t stride ) { return vkWriteAccelerationStructuresPropertiesKHR( vkDevice, accelerationStructureCount, pAccelerationStructures, queryType, dataSize, pData, stride ); } 961 void CmdCopyAccelerationStructureKHR( const( VkCopyAccelerationStructureInfoKHR )* pInfo ) { vkCmdCopyAccelerationStructureKHR( commandBuffer, pInfo ); } 962 void CmdCopyAccelerationStructureToMemoryKHR( const( VkCopyAccelerationStructureToMemoryInfoKHR )* pInfo ) { vkCmdCopyAccelerationStructureToMemoryKHR( commandBuffer, pInfo ); } 963 void CmdCopyMemoryToAccelerationStructureKHR( const( VkCopyMemoryToAccelerationStructureInfoKHR )* pInfo ) { vkCmdCopyMemoryToAccelerationStructureKHR( commandBuffer, pInfo ); } 964 VkDeviceAddress GetAccelerationStructureDeviceAddressKHR( const( VkAccelerationStructureDeviceAddressInfoKHR )* pInfo ) { return vkGetAccelerationStructureDeviceAddressKHR( vkDevice, pInfo ); } 965 void CmdWriteAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const( VkAccelerationStructureKHR )* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) { vkCmdWriteAccelerationStructuresPropertiesKHR( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); } 966 void GetDeviceAccelerationStructureCompatibilityKHR( const( VkAccelerationStructureVersionInfoKHR )* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility ) { vkGetDeviceAccelerationStructureCompatibilityKHR( vkDevice, pVersionInfo, pCompatibility ); } 967 void GetAccelerationStructureBuildSizesKHR( VkAccelerationStructureBuildTypeKHR buildType, const( VkAccelerationStructureBuildGeometryInfoKHR )* pBuildInfo, const( uint32_t )* pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo ) { vkGetAccelerationStructureBuildSizesKHR( vkDevice, buildType, pBuildInfo, pMaxPrimitiveCounts, pSizeInfo ); } 968 969 // VK_KHR_ray_tracing_pipeline 970 void CmdTraceRaysKHR( const( VkStridedDeviceAddressRegionKHR )* pRaygenShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pMissShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pHitShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pCallableShaderBindingTable, uint32_t width, uint32_t height, uint32_t depth ) { vkCmdTraceRaysKHR( commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, width, height, depth ); } 971 VkResult CreateRayTracingPipelinesKHR( VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkRayTracingPipelineCreateInfoKHR )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateRayTracingPipelinesKHR( vkDevice, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 972 VkResult GetRayTracingCaptureReplayShaderGroupHandlesKHR( VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) { return vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( vkDevice, pipeline, firstGroup, groupCount, dataSize, pData ); } 973 void CmdTraceRaysIndirectKHR( const( VkStridedDeviceAddressRegionKHR )* pRaygenShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pMissShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pHitShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress ) { vkCmdTraceRaysIndirectKHR( commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, indirectDeviceAddress ); } 974 VkDeviceSize GetRayTracingShaderGroupStackSizeKHR( VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader ) { return vkGetRayTracingShaderGroupStackSizeKHR( vkDevice, pipeline, group, groupShader ); } 975 void CmdSetRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize ) { vkCmdSetRayTracingPipelineStackSizeKHR( commandBuffer, pipelineStackSize ); } 976 977 // VK_KHR_device_group 978 alias GetDeviceGroupPeerMemoryFeaturesKHR = GetDeviceGroupPeerMemoryFeatures; 979 alias CmdSetDeviceMaskKHR = CmdSetDeviceMask; 980 alias CmdDispatchBaseKHR = CmdDispatchBase; 981 982 // VK_KHR_maintenance1 983 alias TrimCommandPoolKHR = TrimCommandPool; 984 985 // VK_KHR_descriptor_update_template 986 alias CreateDescriptorUpdateTemplateKHR = CreateDescriptorUpdateTemplate; 987 alias DestroyDescriptorUpdateTemplateKHR = DestroyDescriptorUpdateTemplate; 988 alias UpdateDescriptorSetWithTemplateKHR = UpdateDescriptorSetWithTemplate; 989 990 // VK_KHR_create_renderpass2 991 alias CreateRenderPass2KHR = CreateRenderPass2; 992 alias CmdBeginRenderPass2KHR = CmdBeginRenderPass2; 993 alias CmdNextSubpass2KHR = CmdNextSubpass2; 994 alias CmdEndRenderPass2KHR = CmdEndRenderPass2; 995 996 // VK_KHR_get_memory_requirements2 997 alias GetImageMemoryRequirements2KHR = GetImageMemoryRequirements2; 998 alias GetBufferMemoryRequirements2KHR = GetBufferMemoryRequirements2; 999 alias GetImageSparseMemoryRequirements2KHR = GetImageSparseMemoryRequirements2; 1000 1001 // VK_KHR_sampler_ycbcr_conversion 1002 alias CreateSamplerYcbcrConversionKHR = CreateSamplerYcbcrConversion; 1003 alias DestroySamplerYcbcrConversionKHR = DestroySamplerYcbcrConversion; 1004 1005 // VK_KHR_bind_memory2 1006 alias BindBufferMemory2KHR = BindBufferMemory2; 1007 alias BindImageMemory2KHR = BindImageMemory2; 1008 1009 // VK_KHR_maintenance3 1010 alias GetDescriptorSetLayoutSupportKHR = GetDescriptorSetLayoutSupport; 1011 1012 // VK_KHR_draw_indirect_count 1013 alias CmdDrawIndirectCountKHR = CmdDrawIndirectCount; 1014 alias CmdDrawIndexedIndirectCountKHR = CmdDrawIndexedIndirectCount; 1015 1016 // VK_KHR_timeline_semaphore 1017 alias GetSemaphoreCounterValueKHR = GetSemaphoreCounterValue; 1018 alias WaitSemaphoresKHR = WaitSemaphores; 1019 alias SignalSemaphoreKHR = SignalSemaphore; 1020 1021 // VK_KHR_buffer_device_address 1022 alias GetBufferDeviceAddressKHR = GetBufferDeviceAddress; 1023 alias GetBufferOpaqueCaptureAddressKHR = GetBufferOpaqueCaptureAddress; 1024 alias GetDeviceMemoryOpaqueCaptureAddressKHR = GetDeviceMemoryOpaqueCaptureAddress; 1025 1026 // VK_AMD_draw_indirect_count 1027 alias CmdDrawIndirectCountAMD = CmdDrawIndirectCount; 1028 alias CmdDrawIndexedIndirectCountAMD = CmdDrawIndexedIndirectCount; 1029 1030 // VK_NV_ray_tracing 1031 alias GetRayTracingShaderGroupHandlesNV = GetRayTracingShaderGroupHandlesKHR; 1032 1033 // VK_EXT_buffer_device_address 1034 alias GetBufferDeviceAddressEXT = GetBufferDeviceAddress; 1035 1036 // VK_EXT_host_query_reset 1037 alias ResetQueryPoolEXT = ResetQueryPool; 1038 1039 1040 /// member function pointer decelerations 1041 1042 // VK_VERSION_1_0 1043 PFN_vkDestroyDevice vkDestroyDevice; 1044 PFN_vkGetDeviceQueue vkGetDeviceQueue; 1045 PFN_vkQueueSubmit vkQueueSubmit; 1046 PFN_vkQueueWaitIdle vkQueueWaitIdle; 1047 PFN_vkDeviceWaitIdle vkDeviceWaitIdle; 1048 PFN_vkAllocateMemory vkAllocateMemory; 1049 PFN_vkFreeMemory vkFreeMemory; 1050 PFN_vkMapMemory vkMapMemory; 1051 PFN_vkUnmapMemory vkUnmapMemory; 1052 PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges; 1053 PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges; 1054 PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment; 1055 PFN_vkBindBufferMemory vkBindBufferMemory; 1056 PFN_vkBindImageMemory vkBindImageMemory; 1057 PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements; 1058 PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements; 1059 PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements; 1060 PFN_vkQueueBindSparse vkQueueBindSparse; 1061 PFN_vkCreateFence vkCreateFence; 1062 PFN_vkDestroyFence vkDestroyFence; 1063 PFN_vkResetFences vkResetFences; 1064 PFN_vkGetFenceStatus vkGetFenceStatus; 1065 PFN_vkWaitForFences vkWaitForFences; 1066 PFN_vkCreateSemaphore vkCreateSemaphore; 1067 PFN_vkDestroySemaphore vkDestroySemaphore; 1068 PFN_vkCreateEvent vkCreateEvent; 1069 PFN_vkDestroyEvent vkDestroyEvent; 1070 PFN_vkGetEventStatus vkGetEventStatus; 1071 PFN_vkSetEvent vkSetEvent; 1072 PFN_vkResetEvent vkResetEvent; 1073 PFN_vkCreateQueryPool vkCreateQueryPool; 1074 PFN_vkDestroyQueryPool vkDestroyQueryPool; 1075 PFN_vkGetQueryPoolResults vkGetQueryPoolResults; 1076 PFN_vkCreateBuffer vkCreateBuffer; 1077 PFN_vkDestroyBuffer vkDestroyBuffer; 1078 PFN_vkCreateBufferView vkCreateBufferView; 1079 PFN_vkDestroyBufferView vkDestroyBufferView; 1080 PFN_vkCreateImage vkCreateImage; 1081 PFN_vkDestroyImage vkDestroyImage; 1082 PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout; 1083 PFN_vkCreateImageView vkCreateImageView; 1084 PFN_vkDestroyImageView vkDestroyImageView; 1085 PFN_vkCreateShaderModule vkCreateShaderModule; 1086 PFN_vkDestroyShaderModule vkDestroyShaderModule; 1087 PFN_vkCreatePipelineCache vkCreatePipelineCache; 1088 PFN_vkDestroyPipelineCache vkDestroyPipelineCache; 1089 PFN_vkGetPipelineCacheData vkGetPipelineCacheData; 1090 PFN_vkMergePipelineCaches vkMergePipelineCaches; 1091 PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines; 1092 PFN_vkCreateComputePipelines vkCreateComputePipelines; 1093 PFN_vkDestroyPipeline vkDestroyPipeline; 1094 PFN_vkCreatePipelineLayout vkCreatePipelineLayout; 1095 PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout; 1096 PFN_vkCreateSampler vkCreateSampler; 1097 PFN_vkDestroySampler vkDestroySampler; 1098 PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout; 1099 PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout; 1100 PFN_vkCreateDescriptorPool vkCreateDescriptorPool; 1101 PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool; 1102 PFN_vkResetDescriptorPool vkResetDescriptorPool; 1103 PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets; 1104 PFN_vkFreeDescriptorSets vkFreeDescriptorSets; 1105 PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets; 1106 PFN_vkCreateFramebuffer vkCreateFramebuffer; 1107 PFN_vkDestroyFramebuffer vkDestroyFramebuffer; 1108 PFN_vkCreateRenderPass vkCreateRenderPass; 1109 PFN_vkDestroyRenderPass vkDestroyRenderPass; 1110 PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity; 1111 PFN_vkCreateCommandPool vkCreateCommandPool; 1112 PFN_vkDestroyCommandPool vkDestroyCommandPool; 1113 PFN_vkResetCommandPool vkResetCommandPool; 1114 PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers; 1115 PFN_vkFreeCommandBuffers vkFreeCommandBuffers; 1116 PFN_vkBeginCommandBuffer vkBeginCommandBuffer; 1117 PFN_vkEndCommandBuffer vkEndCommandBuffer; 1118 PFN_vkResetCommandBuffer vkResetCommandBuffer; 1119 PFN_vkCmdBindPipeline vkCmdBindPipeline; 1120 PFN_vkCmdSetViewport vkCmdSetViewport; 1121 PFN_vkCmdSetScissor vkCmdSetScissor; 1122 PFN_vkCmdSetLineWidth vkCmdSetLineWidth; 1123 PFN_vkCmdSetDepthBias vkCmdSetDepthBias; 1124 PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants; 1125 PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds; 1126 PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask; 1127 PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask; 1128 PFN_vkCmdSetStencilReference vkCmdSetStencilReference; 1129 PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets; 1130 PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer; 1131 PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers; 1132 PFN_vkCmdDraw vkCmdDraw; 1133 PFN_vkCmdDrawIndexed vkCmdDrawIndexed; 1134 PFN_vkCmdDrawIndirect vkCmdDrawIndirect; 1135 PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect; 1136 PFN_vkCmdDispatch vkCmdDispatch; 1137 PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect; 1138 PFN_vkCmdCopyBuffer vkCmdCopyBuffer; 1139 PFN_vkCmdCopyImage vkCmdCopyImage; 1140 PFN_vkCmdBlitImage vkCmdBlitImage; 1141 PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage; 1142 PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer; 1143 PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer; 1144 PFN_vkCmdFillBuffer vkCmdFillBuffer; 1145 PFN_vkCmdClearColorImage vkCmdClearColorImage; 1146 PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage; 1147 PFN_vkCmdClearAttachments vkCmdClearAttachments; 1148 PFN_vkCmdResolveImage vkCmdResolveImage; 1149 PFN_vkCmdSetEvent vkCmdSetEvent; 1150 PFN_vkCmdResetEvent vkCmdResetEvent; 1151 PFN_vkCmdWaitEvents vkCmdWaitEvents; 1152 PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier; 1153 PFN_vkCmdBeginQuery vkCmdBeginQuery; 1154 PFN_vkCmdEndQuery vkCmdEndQuery; 1155 PFN_vkCmdResetQueryPool vkCmdResetQueryPool; 1156 PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp; 1157 PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults; 1158 PFN_vkCmdPushConstants vkCmdPushConstants; 1159 PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass; 1160 PFN_vkCmdNextSubpass vkCmdNextSubpass; 1161 PFN_vkCmdEndRenderPass vkCmdEndRenderPass; 1162 PFN_vkCmdExecuteCommands vkCmdExecuteCommands; 1163 1164 // VK_VERSION_1_1 1165 PFN_vkBindBufferMemory2 vkBindBufferMemory2; 1166 PFN_vkBindImageMemory2 vkBindImageMemory2; 1167 PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures; 1168 PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask; 1169 PFN_vkCmdDispatchBase vkCmdDispatchBase; 1170 PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2; 1171 PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2; 1172 PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2; 1173 PFN_vkTrimCommandPool vkTrimCommandPool; 1174 PFN_vkGetDeviceQueue2 vkGetDeviceQueue2; 1175 PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion; 1176 PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion; 1177 PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate; 1178 PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate; 1179 PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate; 1180 PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport; 1181 1182 // VK_VERSION_1_2 1183 PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount; 1184 PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount; 1185 PFN_vkCreateRenderPass2 vkCreateRenderPass2; 1186 PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2; 1187 PFN_vkCmdNextSubpass2 vkCmdNextSubpass2; 1188 PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2; 1189 PFN_vkResetQueryPool vkResetQueryPool; 1190 PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue; 1191 PFN_vkWaitSemaphores vkWaitSemaphores; 1192 PFN_vkSignalSemaphore vkSignalSemaphore; 1193 PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress; 1194 PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress; 1195 PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress; 1196 1197 // VK_KHR_swapchain 1198 PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR; 1199 PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR; 1200 PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR; 1201 PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR; 1202 PFN_vkQueuePresentKHR vkQueuePresentKHR; 1203 PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR; 1204 PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR; 1205 PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR; 1206 1207 // VK_KHR_display_swapchain 1208 PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR; 1209 1210 // VK_KHR_dynamic_rendering 1211 PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR; 1212 PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR; 1213 1214 // VK_KHR_external_memory_fd 1215 PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR; 1216 PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR; 1217 1218 // VK_KHR_external_semaphore_fd 1219 PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR; 1220 PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR; 1221 1222 // VK_KHR_push_descriptor 1223 PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR; 1224 PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR; 1225 1226 // VK_KHR_shared_presentable_image 1227 PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR; 1228 1229 // VK_KHR_external_fence_fd 1230 PFN_vkImportFenceFdKHR vkImportFenceFdKHR; 1231 PFN_vkGetFenceFdKHR vkGetFenceFdKHR; 1232 1233 // VK_KHR_performance_query 1234 PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR; 1235 PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR; 1236 1237 // VK_KHR_fragment_shading_rate 1238 PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR; 1239 1240 // VK_KHR_present_wait 1241 PFN_vkWaitForPresentKHR vkWaitForPresentKHR; 1242 1243 // VK_KHR_deferred_host_operations 1244 PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR; 1245 PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR; 1246 PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR; 1247 PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR; 1248 PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR; 1249 1250 // VK_KHR_pipeline_executable_properties 1251 PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR; 1252 PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR; 1253 PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR; 1254 1255 // VK_KHR_synchronization2 1256 PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR; 1257 PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR; 1258 PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR; 1259 PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR; 1260 PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR; 1261 PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR; 1262 PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD; 1263 PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV; 1264 1265 // VK_KHR_copy_commands2 1266 PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR; 1267 PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR; 1268 PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR; 1269 PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR; 1270 PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR; 1271 PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR; 1272 1273 // VK_KHR_maintenance4 1274 PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR; 1275 PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR; 1276 PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR; 1277 1278 // VK_EXT_debug_marker 1279 PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT; 1280 PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT; 1281 PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT; 1282 PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT; 1283 PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT; 1284 1285 // VK_EXT_transform_feedback 1286 PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT; 1287 PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT; 1288 PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT; 1289 PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT; 1290 PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT; 1291 PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT; 1292 1293 // VK_NVX_binary_import 1294 PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX; 1295 PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX; 1296 PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX; 1297 PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX; 1298 PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX; 1299 1300 // VK_NVX_image_view_handle 1301 PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX; 1302 PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX; 1303 1304 // VK_AMD_shader_info 1305 PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD; 1306 1307 // VK_EXT_conditional_rendering 1308 PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT; 1309 PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT; 1310 1311 // VK_NV_clip_space_w_scaling 1312 PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV; 1313 1314 // VK_EXT_display_control 1315 PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT; 1316 PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT; 1317 PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT; 1318 PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT; 1319 1320 // VK_GOOGLE_display_timing 1321 PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE; 1322 PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE; 1323 1324 // VK_EXT_discard_rectangles 1325 PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT; 1326 1327 // VK_EXT_hdr_metadata 1328 PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT; 1329 1330 // VK_EXT_debug_utils 1331 PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT; 1332 PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT; 1333 PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT; 1334 PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT; 1335 PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT; 1336 PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT; 1337 PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT; 1338 PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT; 1339 1340 // VK_EXT_sample_locations 1341 PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT; 1342 1343 // VK_EXT_image_drm_format_modifier 1344 PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT; 1345 1346 // VK_EXT_validation_cache 1347 PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT; 1348 PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT; 1349 PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT; 1350 PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT; 1351 1352 // VK_NV_shading_rate_image 1353 PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV; 1354 PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV; 1355 PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV; 1356 1357 // VK_NV_ray_tracing 1358 PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV; 1359 PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV; 1360 PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV; 1361 PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV; 1362 PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV; 1363 PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV; 1364 PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV; 1365 PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV; 1366 PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR; 1367 PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV; 1368 PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV; 1369 PFN_vkCompileDeferredNV vkCompileDeferredNV; 1370 1371 // VK_EXT_external_memory_host 1372 PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT; 1373 1374 // VK_AMD_buffer_marker 1375 PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD; 1376 1377 // VK_EXT_calibrated_timestamps 1378 PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT; 1379 1380 // VK_NV_mesh_shader 1381 PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV; 1382 PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV; 1383 PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV; 1384 1385 // VK_NV_scissor_exclusive 1386 PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV; 1387 1388 // VK_NV_device_diagnostic_checkpoints 1389 PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV; 1390 PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV; 1391 1392 // VK_INTEL_performance_query 1393 PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL; 1394 PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL; 1395 PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL; 1396 PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL; 1397 PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL; 1398 PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL; 1399 PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL; 1400 PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL; 1401 PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL; 1402 1403 // VK_AMD_display_native_hdr 1404 PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD; 1405 1406 // VK_EXT_line_rasterization 1407 PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT; 1408 1409 // VK_EXT_extended_dynamic_state 1410 PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT; 1411 PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT; 1412 PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT; 1413 PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT; 1414 PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT; 1415 PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT; 1416 PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT; 1417 PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT; 1418 PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT; 1419 PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT; 1420 PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT; 1421 PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT; 1422 1423 // VK_NV_device_generated_commands 1424 PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV; 1425 PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV; 1426 PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV; 1427 PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV; 1428 PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV; 1429 PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV; 1430 1431 // VK_EXT_private_data 1432 PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT; 1433 PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT; 1434 PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT; 1435 PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT; 1436 1437 // VK_NV_fragment_shading_rate_enums 1438 PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV; 1439 1440 // VK_EXT_vertex_input_dynamic_state 1441 PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT; 1442 1443 // VK_HUAWEI_subpass_shading 1444 PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI; 1445 PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI; 1446 1447 // VK_HUAWEI_invocation_mask 1448 PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI; 1449 1450 // VK_NV_external_memory_rdma 1451 PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV; 1452 1453 // VK_EXT_extended_dynamic_state2 1454 PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT; 1455 PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT; 1456 PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT; 1457 PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT; 1458 PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT; 1459 1460 // VK_EXT_color_write_enable 1461 PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT; 1462 1463 // VK_EXT_multi_draw 1464 PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT; 1465 PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT; 1466 1467 // VK_EXT_pageable_device_local_memory 1468 PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT; 1469 1470 // VK_KHR_acceleration_structure 1471 PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR; 1472 PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR; 1473 PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR; 1474 PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR; 1475 PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR; 1476 PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR; 1477 PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR; 1478 PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR; 1479 PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR; 1480 PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR; 1481 PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR; 1482 PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR; 1483 PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR; 1484 PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR; 1485 PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR; 1486 PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR; 1487 1488 // VK_KHR_ray_tracing_pipeline 1489 PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR; 1490 PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR; 1491 PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; 1492 PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR; 1493 PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR; 1494 PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR; 1495 1496 // VK_KHR_device_group 1497 alias vkGetDeviceGroupPeerMemoryFeaturesKHR = vkGetDeviceGroupPeerMemoryFeatures; 1498 alias vkCmdSetDeviceMaskKHR = vkCmdSetDeviceMask; 1499 alias vkCmdDispatchBaseKHR = vkCmdDispatchBase; 1500 1501 // VK_KHR_maintenance1 1502 alias vkTrimCommandPoolKHR = vkTrimCommandPool; 1503 1504 // VK_KHR_descriptor_update_template 1505 alias vkCreateDescriptorUpdateTemplateKHR = vkCreateDescriptorUpdateTemplate; 1506 alias vkDestroyDescriptorUpdateTemplateKHR = vkDestroyDescriptorUpdateTemplate; 1507 alias vkUpdateDescriptorSetWithTemplateKHR = vkUpdateDescriptorSetWithTemplate; 1508 1509 // VK_KHR_create_renderpass2 1510 alias vkCreateRenderPass2KHR = vkCreateRenderPass2; 1511 alias vkCmdBeginRenderPass2KHR = vkCmdBeginRenderPass2; 1512 alias vkCmdNextSubpass2KHR = vkCmdNextSubpass2; 1513 alias vkCmdEndRenderPass2KHR = vkCmdEndRenderPass2; 1514 1515 // VK_KHR_get_memory_requirements2 1516 alias vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2; 1517 alias vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2; 1518 alias vkGetImageSparseMemoryRequirements2KHR = vkGetImageSparseMemoryRequirements2; 1519 1520 // VK_KHR_sampler_ycbcr_conversion 1521 alias vkCreateSamplerYcbcrConversionKHR = vkCreateSamplerYcbcrConversion; 1522 alias vkDestroySamplerYcbcrConversionKHR = vkDestroySamplerYcbcrConversion; 1523 1524 // VK_KHR_bind_memory2 1525 alias vkBindBufferMemory2KHR = vkBindBufferMemory2; 1526 alias vkBindImageMemory2KHR = vkBindImageMemory2; 1527 1528 // VK_KHR_maintenance3 1529 alias vkGetDescriptorSetLayoutSupportKHR = vkGetDescriptorSetLayoutSupport; 1530 1531 // VK_KHR_draw_indirect_count 1532 alias vkCmdDrawIndirectCountKHR = vkCmdDrawIndirectCount; 1533 alias vkCmdDrawIndexedIndirectCountKHR = vkCmdDrawIndexedIndirectCount; 1534 1535 // VK_KHR_timeline_semaphore 1536 alias vkGetSemaphoreCounterValueKHR = vkGetSemaphoreCounterValue; 1537 alias vkWaitSemaphoresKHR = vkWaitSemaphores; 1538 alias vkSignalSemaphoreKHR = vkSignalSemaphore; 1539 1540 // VK_KHR_buffer_device_address 1541 alias vkGetBufferDeviceAddressKHR = vkGetBufferDeviceAddress; 1542 alias vkGetBufferOpaqueCaptureAddressKHR = vkGetBufferOpaqueCaptureAddress; 1543 alias vkGetDeviceMemoryOpaqueCaptureAddressKHR = vkGetDeviceMemoryOpaqueCaptureAddress; 1544 1545 // VK_AMD_draw_indirect_count 1546 alias vkCmdDrawIndirectCountAMD = vkCmdDrawIndirectCount; 1547 alias vkCmdDrawIndexedIndirectCountAMD = vkCmdDrawIndexedIndirectCount; 1548 1549 // VK_NV_ray_tracing 1550 alias vkGetRayTracingShaderGroupHandlesNV = vkGetRayTracingShaderGroupHandlesKHR; 1551 1552 // VK_EXT_buffer_device_address 1553 alias vkGetBufferDeviceAddressEXT = vkGetBufferDeviceAddress; 1554 1555 // VK_EXT_host_query_reset 1556 alias vkResetQueryPoolEXT = vkResetQueryPool; 1557 } 1558