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_VERSION_1_3 218 vkCreatePrivateDataSlot = cast( PFN_vkCreatePrivateDataSlot ) vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlot" ); 219 vkDestroyPrivateDataSlot = cast( PFN_vkDestroyPrivateDataSlot ) vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlot" ); 220 vkSetPrivateData = cast( PFN_vkSetPrivateData ) vkGetDeviceProcAddr( device, "vkSetPrivateData" ); 221 vkGetPrivateData = cast( PFN_vkGetPrivateData ) vkGetDeviceProcAddr( device, "vkGetPrivateData" ); 222 vkCmdSetEvent2 = cast( PFN_vkCmdSetEvent2 ) vkGetDeviceProcAddr( device, "vkCmdSetEvent2" ); 223 vkCmdResetEvent2 = cast( PFN_vkCmdResetEvent2 ) vkGetDeviceProcAddr( device, "vkCmdResetEvent2" ); 224 vkCmdWaitEvents2 = cast( PFN_vkCmdWaitEvents2 ) vkGetDeviceProcAddr( device, "vkCmdWaitEvents2" ); 225 vkCmdPipelineBarrier2 = cast( PFN_vkCmdPipelineBarrier2 ) vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier2" ); 226 vkCmdWriteTimestamp2 = cast( PFN_vkCmdWriteTimestamp2 ) vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp2" ); 227 vkQueueSubmit2 = cast( PFN_vkQueueSubmit2 ) vkGetDeviceProcAddr( device, "vkQueueSubmit2" ); 228 vkCmdCopyBuffer2 = cast( PFN_vkCmdCopyBuffer2 ) vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2" ); 229 vkCmdCopyImage2 = cast( PFN_vkCmdCopyImage2 ) vkGetDeviceProcAddr( device, "vkCmdCopyImage2" ); 230 vkCmdCopyBufferToImage2 = cast( PFN_vkCmdCopyBufferToImage2 ) vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2" ); 231 vkCmdCopyImageToBuffer2 = cast( PFN_vkCmdCopyImageToBuffer2 ) vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2" ); 232 vkCmdBlitImage2 = cast( PFN_vkCmdBlitImage2 ) vkGetDeviceProcAddr( device, "vkCmdBlitImage2" ); 233 vkCmdResolveImage2 = cast( PFN_vkCmdResolveImage2 ) vkGetDeviceProcAddr( device, "vkCmdResolveImage2" ); 234 vkCmdBeginRendering = cast( PFN_vkCmdBeginRendering ) vkGetDeviceProcAddr( device, "vkCmdBeginRendering" ); 235 vkCmdEndRendering = cast( PFN_vkCmdEndRendering ) vkGetDeviceProcAddr( device, "vkCmdEndRendering" ); 236 vkCmdSetCullMode = cast( PFN_vkCmdSetCullMode ) vkGetDeviceProcAddr( device, "vkCmdSetCullMode" ); 237 vkCmdSetFrontFace = cast( PFN_vkCmdSetFrontFace ) vkGetDeviceProcAddr( device, "vkCmdSetFrontFace" ); 238 vkCmdSetPrimitiveTopology = cast( PFN_vkCmdSetPrimitiveTopology ) vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopology" ); 239 vkCmdSetViewportWithCount = cast( PFN_vkCmdSetViewportWithCount ) vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCount" ); 240 vkCmdSetScissorWithCount = cast( PFN_vkCmdSetScissorWithCount ) vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCount" ); 241 vkCmdBindVertexBuffers2 = cast( PFN_vkCmdBindVertexBuffers2 ) vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2" ); 242 vkCmdSetDepthTestEnable = cast( PFN_vkCmdSetDepthTestEnable ) vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnable" ); 243 vkCmdSetDepthWriteEnable = cast( PFN_vkCmdSetDepthWriteEnable ) vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnable" ); 244 vkCmdSetDepthCompareOp = cast( PFN_vkCmdSetDepthCompareOp ) vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOp" ); 245 vkCmdSetDepthBoundsTestEnable = cast( PFN_vkCmdSetDepthBoundsTestEnable ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnable" ); 246 vkCmdSetStencilTestEnable = cast( PFN_vkCmdSetStencilTestEnable ) vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnable" ); 247 vkCmdSetStencilOp = cast( PFN_vkCmdSetStencilOp ) vkGetDeviceProcAddr( device, "vkCmdSetStencilOp" ); 248 vkCmdSetRasterizerDiscardEnable = cast( PFN_vkCmdSetRasterizerDiscardEnable ) vkGetDeviceProcAddr( device, "vkCmdSetRasterizerDiscardEnable" ); 249 vkCmdSetDepthBiasEnable = cast( PFN_vkCmdSetDepthBiasEnable ) vkGetDeviceProcAddr( device, "vkCmdSetDepthBiasEnable" ); 250 vkCmdSetPrimitiveRestartEnable = cast( PFN_vkCmdSetPrimitiveRestartEnable ) vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveRestartEnable" ); 251 vkGetDeviceBufferMemoryRequirements = cast( PFN_vkGetDeviceBufferMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetDeviceBufferMemoryRequirements" ); 252 vkGetDeviceImageMemoryRequirements = cast( PFN_vkGetDeviceImageMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetDeviceImageMemoryRequirements" ); 253 vkGetDeviceImageSparseMemoryRequirements = cast( PFN_vkGetDeviceImageSparseMemoryRequirements ) vkGetDeviceProcAddr( device, "vkGetDeviceImageSparseMemoryRequirements" ); 254 255 // VK_KHR_swapchain 256 vkCreateSwapchainKHR = cast( PFN_vkCreateSwapchainKHR ) vkGetDeviceProcAddr( device, "vkCreateSwapchainKHR" ); 257 vkDestroySwapchainKHR = cast( PFN_vkDestroySwapchainKHR ) vkGetDeviceProcAddr( device, "vkDestroySwapchainKHR" ); 258 vkGetSwapchainImagesKHR = cast( PFN_vkGetSwapchainImagesKHR ) vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ); 259 vkAcquireNextImageKHR = cast( PFN_vkAcquireNextImageKHR ) vkGetDeviceProcAddr( device, "vkAcquireNextImageKHR" ); 260 vkQueuePresentKHR = cast( PFN_vkQueuePresentKHR ) vkGetDeviceProcAddr( device, "vkQueuePresentKHR" ); 261 vkGetDeviceGroupPresentCapabilitiesKHR = cast( PFN_vkGetDeviceGroupPresentCapabilitiesKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceGroupPresentCapabilitiesKHR" ); 262 vkGetDeviceGroupSurfacePresentModesKHR = cast( PFN_vkGetDeviceGroupSurfacePresentModesKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModesKHR" ); 263 vkAcquireNextImage2KHR = cast( PFN_vkAcquireNextImage2KHR ) vkGetDeviceProcAddr( device, "vkAcquireNextImage2KHR" ); 264 265 // VK_KHR_display_swapchain 266 vkCreateSharedSwapchainsKHR = cast( PFN_vkCreateSharedSwapchainsKHR ) vkGetDeviceProcAddr( device, "vkCreateSharedSwapchainsKHR" ); 267 268 // VK_KHR_external_memory_fd 269 vkGetMemoryFdKHR = cast( PFN_vkGetMemoryFdKHR ) vkGetDeviceProcAddr( device, "vkGetMemoryFdKHR" ); 270 vkGetMemoryFdPropertiesKHR = cast( PFN_vkGetMemoryFdPropertiesKHR ) vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ); 271 272 // VK_KHR_external_semaphore_fd 273 vkImportSemaphoreFdKHR = cast( PFN_vkImportSemaphoreFdKHR ) vkGetDeviceProcAddr( device, "vkImportSemaphoreFdKHR" ); 274 vkGetSemaphoreFdKHR = cast( PFN_vkGetSemaphoreFdKHR ) vkGetDeviceProcAddr( device, "vkGetSemaphoreFdKHR" ); 275 276 // VK_KHR_push_descriptor 277 vkCmdPushDescriptorSetKHR = cast( PFN_vkCmdPushDescriptorSetKHR ) vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetKHR" ); 278 vkCmdPushDescriptorSetWithTemplateKHR = cast( PFN_vkCmdPushDescriptorSetWithTemplateKHR ) vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplateKHR" ); 279 280 // VK_KHR_shared_presentable_image 281 vkGetSwapchainStatusKHR = cast( PFN_vkGetSwapchainStatusKHR ) vkGetDeviceProcAddr( device, "vkGetSwapchainStatusKHR" ); 282 283 // VK_KHR_external_fence_fd 284 vkImportFenceFdKHR = cast( PFN_vkImportFenceFdKHR ) vkGetDeviceProcAddr( device, "vkImportFenceFdKHR" ); 285 vkGetFenceFdKHR = cast( PFN_vkGetFenceFdKHR ) vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ); 286 287 // VK_KHR_performance_query 288 vkAcquireProfilingLockKHR = cast( PFN_vkAcquireProfilingLockKHR ) vkGetDeviceProcAddr( device, "vkAcquireProfilingLockKHR" ); 289 vkReleaseProfilingLockKHR = cast( PFN_vkReleaseProfilingLockKHR ) vkGetDeviceProcAddr( device, "vkReleaseProfilingLockKHR" ); 290 291 // VK_KHR_fragment_shading_rate 292 vkCmdSetFragmentShadingRateKHR = cast( PFN_vkCmdSetFragmentShadingRateKHR ) vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateKHR" ); 293 294 // VK_KHR_present_wait 295 vkWaitForPresentKHR = cast( PFN_vkWaitForPresentKHR ) vkGetDeviceProcAddr( device, "vkWaitForPresentKHR" ); 296 297 // VK_KHR_deferred_host_operations 298 vkCreateDeferredOperationKHR = cast( PFN_vkCreateDeferredOperationKHR ) vkGetDeviceProcAddr( device, "vkCreateDeferredOperationKHR" ); 299 vkDestroyDeferredOperationKHR = cast( PFN_vkDestroyDeferredOperationKHR ) vkGetDeviceProcAddr( device, "vkDestroyDeferredOperationKHR" ); 300 vkGetDeferredOperationMaxConcurrencyKHR = cast( PFN_vkGetDeferredOperationMaxConcurrencyKHR ) vkGetDeviceProcAddr( device, "vkGetDeferredOperationMaxConcurrencyKHR" ); 301 vkGetDeferredOperationResultKHR = cast( PFN_vkGetDeferredOperationResultKHR ) vkGetDeviceProcAddr( device, "vkGetDeferredOperationResultKHR" ); 302 vkDeferredOperationJoinKHR = cast( PFN_vkDeferredOperationJoinKHR ) vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ); 303 304 // VK_KHR_pipeline_executable_properties 305 vkGetPipelineExecutablePropertiesKHR = cast( PFN_vkGetPipelineExecutablePropertiesKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutablePropertiesKHR" ); 306 vkGetPipelineExecutableStatisticsKHR = cast( PFN_vkGetPipelineExecutableStatisticsKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutableStatisticsKHR" ); 307 vkGetPipelineExecutableInternalRepresentationsKHR = cast( PFN_vkGetPipelineExecutableInternalRepresentationsKHR ) vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ); 308 309 // VK_KHR_synchronization2 310 vkCmdWriteBufferMarker2AMD = cast( PFN_vkCmdWriteBufferMarker2AMD ) vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarker2AMD" ); 311 vkGetQueueCheckpointData2NV = cast( PFN_vkGetQueueCheckpointData2NV ) vkGetDeviceProcAddr( device, "vkGetQueueCheckpointData2NV" ); 312 313 // VK_KHR_ray_tracing_maintenance1 314 vkCmdTraceRaysIndirect2KHR = cast( PFN_vkCmdTraceRaysIndirect2KHR ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirect2KHR" ); 315 316 // VK_EXT_debug_marker 317 vkDebugMarkerSetObjectTagEXT = cast( PFN_vkDebugMarkerSetObjectTagEXT ) vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectTagEXT" ); 318 vkDebugMarkerSetObjectNameEXT = cast( PFN_vkDebugMarkerSetObjectNameEXT ) vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectNameEXT" ); 319 vkCmdDebugMarkerBeginEXT = cast( PFN_vkCmdDebugMarkerBeginEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerBeginEXT" ); 320 vkCmdDebugMarkerEndEXT = cast( PFN_vkCmdDebugMarkerEndEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerEndEXT" ); 321 vkCmdDebugMarkerInsertEXT = cast( PFN_vkCmdDebugMarkerInsertEXT ) vkGetDeviceProcAddr( device, "vkCmdDebugMarkerInsertEXT" ); 322 323 // VK_EXT_transform_feedback 324 vkCmdBindTransformFeedbackBuffersEXT = cast( PFN_vkCmdBindTransformFeedbackBuffersEXT ) vkGetDeviceProcAddr( device, "vkCmdBindTransformFeedbackBuffersEXT" ); 325 vkCmdBeginTransformFeedbackEXT = cast( PFN_vkCmdBeginTransformFeedbackEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginTransformFeedbackEXT" ); 326 vkCmdEndTransformFeedbackEXT = cast( PFN_vkCmdEndTransformFeedbackEXT ) vkGetDeviceProcAddr( device, "vkCmdEndTransformFeedbackEXT" ); 327 vkCmdBeginQueryIndexedEXT = cast( PFN_vkCmdBeginQueryIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginQueryIndexedEXT" ); 328 vkCmdEndQueryIndexedEXT = cast( PFN_vkCmdEndQueryIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdEndQueryIndexedEXT" ); 329 vkCmdDrawIndirectByteCountEXT = cast( PFN_vkCmdDrawIndirectByteCountEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawIndirectByteCountEXT" ); 330 331 // VK_NVX_binary_import 332 vkCreateCuModuleNVX = cast( PFN_vkCreateCuModuleNVX ) vkGetDeviceProcAddr( device, "vkCreateCuModuleNVX" ); 333 vkCreateCuFunctionNVX = cast( PFN_vkCreateCuFunctionNVX ) vkGetDeviceProcAddr( device, "vkCreateCuFunctionNVX" ); 334 vkDestroyCuModuleNVX = cast( PFN_vkDestroyCuModuleNVX ) vkGetDeviceProcAddr( device, "vkDestroyCuModuleNVX" ); 335 vkDestroyCuFunctionNVX = cast( PFN_vkDestroyCuFunctionNVX ) vkGetDeviceProcAddr( device, "vkDestroyCuFunctionNVX" ); 336 vkCmdCuLaunchKernelNVX = cast( PFN_vkCmdCuLaunchKernelNVX ) vkGetDeviceProcAddr( device, "vkCmdCuLaunchKernelNVX" ); 337 338 // VK_NVX_image_view_handle 339 vkGetImageViewHandleNVX = cast( PFN_vkGetImageViewHandleNVX ) vkGetDeviceProcAddr( device, "vkGetImageViewHandleNVX" ); 340 vkGetImageViewAddressNVX = cast( PFN_vkGetImageViewAddressNVX ) vkGetDeviceProcAddr( device, "vkGetImageViewAddressNVX" ); 341 342 // VK_AMD_shader_info 343 vkGetShaderInfoAMD = cast( PFN_vkGetShaderInfoAMD ) vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ); 344 345 // VK_EXT_conditional_rendering 346 vkCmdBeginConditionalRenderingEXT = cast( PFN_vkCmdBeginConditionalRenderingEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginConditionalRenderingEXT" ); 347 vkCmdEndConditionalRenderingEXT = cast( PFN_vkCmdEndConditionalRenderingEXT ) vkGetDeviceProcAddr( device, "vkCmdEndConditionalRenderingEXT" ); 348 349 // VK_NV_clip_space_w_scaling 350 vkCmdSetViewportWScalingNV = cast( PFN_vkCmdSetViewportWScalingNV ) vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingNV" ); 351 352 // VK_EXT_display_control 353 vkDisplayPowerControlEXT = cast( PFN_vkDisplayPowerControlEXT ) vkGetDeviceProcAddr( device, "vkDisplayPowerControlEXT" ); 354 vkRegisterDeviceEventEXT = cast( PFN_vkRegisterDeviceEventEXT ) vkGetDeviceProcAddr( device, "vkRegisterDeviceEventEXT" ); 355 vkRegisterDisplayEventEXT = cast( PFN_vkRegisterDisplayEventEXT ) vkGetDeviceProcAddr( device, "vkRegisterDisplayEventEXT" ); 356 vkGetSwapchainCounterEXT = cast( PFN_vkGetSwapchainCounterEXT ) vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ); 357 358 // VK_GOOGLE_display_timing 359 vkGetRefreshCycleDurationGOOGLE = cast( PFN_vkGetRefreshCycleDurationGOOGLE ) vkGetDeviceProcAddr( device, "vkGetRefreshCycleDurationGOOGLE" ); 360 vkGetPastPresentationTimingGOOGLE = cast( PFN_vkGetPastPresentationTimingGOOGLE ) vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingGOOGLE" ); 361 362 // VK_EXT_discard_rectangles 363 vkCmdSetDiscardRectangleEXT = cast( PFN_vkCmdSetDiscardRectangleEXT ) vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEXT" ); 364 365 // VK_EXT_hdr_metadata 366 vkSetHdrMetadataEXT = cast( PFN_vkSetHdrMetadataEXT ) vkGetDeviceProcAddr( device, "vkSetHdrMetadataEXT" ); 367 368 // VK_EXT_debug_utils 369 vkSetDebugUtilsObjectNameEXT = cast( PFN_vkSetDebugUtilsObjectNameEXT ) vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" ); 370 vkSetDebugUtilsObjectTagEXT = cast( PFN_vkSetDebugUtilsObjectTagEXT ) vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectTagEXT" ); 371 vkQueueBeginDebugUtilsLabelEXT = cast( PFN_vkQueueBeginDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueBeginDebugUtilsLabelEXT" ); 372 vkQueueEndDebugUtilsLabelEXT = cast( PFN_vkQueueEndDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueEndDebugUtilsLabelEXT" ); 373 vkQueueInsertDebugUtilsLabelEXT = cast( PFN_vkQueueInsertDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkQueueInsertDebugUtilsLabelEXT" ); 374 vkCmdBeginDebugUtilsLabelEXT = cast( PFN_vkCmdBeginDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdBeginDebugUtilsLabelEXT" ); 375 vkCmdEndDebugUtilsLabelEXT = cast( PFN_vkCmdEndDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdEndDebugUtilsLabelEXT" ); 376 vkCmdInsertDebugUtilsLabelEXT = cast( PFN_vkCmdInsertDebugUtilsLabelEXT ) vkGetDeviceProcAddr( device, "vkCmdInsertDebugUtilsLabelEXT" ); 377 378 // VK_EXT_sample_locations 379 vkCmdSetSampleLocationsEXT = cast( PFN_vkCmdSetSampleLocationsEXT ) vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEXT" ); 380 381 // VK_EXT_image_drm_format_modifier 382 vkGetImageDrmFormatModifierPropertiesEXT = cast( PFN_vkGetImageDrmFormatModifierPropertiesEXT ) vkGetDeviceProcAddr( device, "vkGetImageDrmFormatModifierPropertiesEXT" ); 383 384 // VK_EXT_validation_cache 385 vkCreateValidationCacheEXT = cast( PFN_vkCreateValidationCacheEXT ) vkGetDeviceProcAddr( device, "vkCreateValidationCacheEXT" ); 386 vkDestroyValidationCacheEXT = cast( PFN_vkDestroyValidationCacheEXT ) vkGetDeviceProcAddr( device, "vkDestroyValidationCacheEXT" ); 387 vkMergeValidationCachesEXT = cast( PFN_vkMergeValidationCachesEXT ) vkGetDeviceProcAddr( device, "vkMergeValidationCachesEXT" ); 388 vkGetValidationCacheDataEXT = cast( PFN_vkGetValidationCacheDataEXT ) vkGetDeviceProcAddr( device, "vkGetValidationCacheDataEXT" ); 389 390 // VK_NV_shading_rate_image 391 vkCmdBindShadingRateImageNV = cast( PFN_vkCmdBindShadingRateImageNV ) vkGetDeviceProcAddr( device, "vkCmdBindShadingRateImageNV" ); 392 vkCmdSetViewportShadingRatePaletteNV = cast( PFN_vkCmdSetViewportShadingRatePaletteNV ) vkGetDeviceProcAddr( device, "vkCmdSetViewportShadingRatePaletteNV" ); 393 vkCmdSetCoarseSampleOrderNV = cast( PFN_vkCmdSetCoarseSampleOrderNV ) vkGetDeviceProcAddr( device, "vkCmdSetCoarseSampleOrderNV" ); 394 395 // VK_NV_ray_tracing 396 vkCreateAccelerationStructureNV = cast( PFN_vkCreateAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureNV" ); 397 vkDestroyAccelerationStructureNV = cast( PFN_vkDestroyAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ); 398 vkGetAccelerationStructureMemoryRequirementsNV = cast( PFN_vkGetAccelerationStructureMemoryRequirementsNV ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsNV" ); 399 vkBindAccelerationStructureMemoryNV = cast( PFN_vkBindAccelerationStructureMemoryNV ) vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ); 400 vkCmdBuildAccelerationStructureNV = cast( PFN_vkCmdBuildAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureNV" ); 401 vkCmdCopyAccelerationStructureNV = cast( PFN_vkCmdCopyAccelerationStructureNV ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureNV" ); 402 vkCmdTraceRaysNV = cast( PFN_vkCmdTraceRaysNV ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ); 403 vkCreateRayTracingPipelinesNV = cast( PFN_vkCreateRayTracingPipelinesNV ) vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesNV" ); 404 vkGetRayTracingShaderGroupHandlesKHR = cast( PFN_vkGetRayTracingShaderGroupHandlesKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ); 405 vkGetAccelerationStructureHandleNV = cast( PFN_vkGetAccelerationStructureHandleNV ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureHandleNV" ); 406 vkCmdWriteAccelerationStructuresPropertiesNV = cast( PFN_vkCmdWriteAccelerationStructuresPropertiesNV ) vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ); 407 vkCompileDeferredNV = cast( PFN_vkCompileDeferredNV ) vkGetDeviceProcAddr( device, "vkCompileDeferredNV" ); 408 409 // VK_EXT_external_memory_host 410 vkGetMemoryHostPointerPropertiesEXT = cast( PFN_vkGetMemoryHostPointerPropertiesEXT ) vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ); 411 412 // VK_AMD_buffer_marker 413 vkCmdWriteBufferMarkerAMD = cast( PFN_vkCmdWriteBufferMarkerAMD ) vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarkerAMD" ); 414 415 // VK_EXT_calibrated_timestamps 416 vkGetCalibratedTimestampsEXT = cast( PFN_vkGetCalibratedTimestampsEXT ) vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsEXT" ); 417 418 // VK_NV_mesh_shader 419 vkCmdDrawMeshTasksNV = cast( PFN_vkCmdDrawMeshTasksNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksNV" ); 420 vkCmdDrawMeshTasksIndirectNV = cast( PFN_vkCmdDrawMeshTasksIndirectNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectNV" ); 421 vkCmdDrawMeshTasksIndirectCountNV = cast( PFN_vkCmdDrawMeshTasksIndirectCountNV ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountNV" ); 422 423 // VK_NV_scissor_exclusive 424 vkCmdSetExclusiveScissorNV = cast( PFN_vkCmdSetExclusiveScissorNV ) vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorNV" ); 425 426 // VK_NV_device_diagnostic_checkpoints 427 vkCmdSetCheckpointNV = cast( PFN_vkCmdSetCheckpointNV ) vkGetDeviceProcAddr( device, "vkCmdSetCheckpointNV" ); 428 vkGetQueueCheckpointDataNV = cast( PFN_vkGetQueueCheckpointDataNV ) vkGetDeviceProcAddr( device, "vkGetQueueCheckpointDataNV" ); 429 430 // VK_INTEL_performance_query 431 vkInitializePerformanceApiINTEL = cast( PFN_vkInitializePerformanceApiINTEL ) vkGetDeviceProcAddr( device, "vkInitializePerformanceApiINTEL" ); 432 vkUninitializePerformanceApiINTEL = cast( PFN_vkUninitializePerformanceApiINTEL ) vkGetDeviceProcAddr( device, "vkUninitializePerformanceApiINTEL" ); 433 vkCmdSetPerformanceMarkerINTEL = cast( PFN_vkCmdSetPerformanceMarkerINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceMarkerINTEL" ); 434 vkCmdSetPerformanceStreamMarkerINTEL = cast( PFN_vkCmdSetPerformanceStreamMarkerINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceStreamMarkerINTEL" ); 435 vkCmdSetPerformanceOverrideINTEL = cast( PFN_vkCmdSetPerformanceOverrideINTEL ) vkGetDeviceProcAddr( device, "vkCmdSetPerformanceOverrideINTEL" ); 436 vkAcquirePerformanceConfigurationINTEL = cast( PFN_vkAcquirePerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkAcquirePerformanceConfigurationINTEL" ); 437 vkReleasePerformanceConfigurationINTEL = cast( PFN_vkReleasePerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkReleasePerformanceConfigurationINTEL" ); 438 vkQueueSetPerformanceConfigurationINTEL = cast( PFN_vkQueueSetPerformanceConfigurationINTEL ) vkGetDeviceProcAddr( device, "vkQueueSetPerformanceConfigurationINTEL" ); 439 vkGetPerformanceParameterINTEL = cast( PFN_vkGetPerformanceParameterINTEL ) vkGetDeviceProcAddr( device, "vkGetPerformanceParameterINTEL" ); 440 441 // VK_AMD_display_native_hdr 442 vkSetLocalDimmingAMD = cast( PFN_vkSetLocalDimmingAMD ) vkGetDeviceProcAddr( device, "vkSetLocalDimmingAMD" ); 443 444 // VK_EXT_line_rasterization 445 vkCmdSetLineStippleEXT = cast( PFN_vkCmdSetLineStippleEXT ) vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEXT" ); 446 447 // VK_NV_device_generated_commands 448 vkGetGeneratedCommandsMemoryRequirementsNV = cast( PFN_vkGetGeneratedCommandsMemoryRequirementsNV ) vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsNV" ); 449 vkCmdPreprocessGeneratedCommandsNV = cast( PFN_vkCmdPreprocessGeneratedCommandsNV ) vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsNV" ); 450 vkCmdExecuteGeneratedCommandsNV = cast( PFN_vkCmdExecuteGeneratedCommandsNV ) vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsNV" ); 451 vkCmdBindPipelineShaderGroupNV = cast( PFN_vkCmdBindPipelineShaderGroupNV ) vkGetDeviceProcAddr( device, "vkCmdBindPipelineShaderGroupNV" ); 452 vkCreateIndirectCommandsLayoutNV = cast( PFN_vkCreateIndirectCommandsLayoutNV ) vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutNV" ); 453 vkDestroyIndirectCommandsLayoutNV = cast( PFN_vkDestroyIndirectCommandsLayoutNV ) vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutNV" ); 454 455 // VK_NV_fragment_shading_rate_enums 456 vkCmdSetFragmentShadingRateEnumNV = cast( PFN_vkCmdSetFragmentShadingRateEnumNV ) vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateEnumNV" ); 457 458 // VK_EXT_image_compression_control 459 vkGetImageSubresourceLayout2EXT = cast( PFN_vkGetImageSubresourceLayout2EXT ) vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout2EXT" ); 460 461 // VK_EXT_vertex_input_dynamic_state 462 vkCmdSetVertexInputEXT = cast( PFN_vkCmdSetVertexInputEXT ) vkGetDeviceProcAddr( device, "vkCmdSetVertexInputEXT" ); 463 464 // VK_HUAWEI_subpass_shading 465 vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = cast( PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) vkGetDeviceProcAddr( device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ); 466 vkCmdSubpassShadingHUAWEI = cast( PFN_vkCmdSubpassShadingHUAWEI ) vkGetDeviceProcAddr( device, "vkCmdSubpassShadingHUAWEI" ); 467 468 // VK_HUAWEI_invocation_mask 469 vkCmdBindInvocationMaskHUAWEI = cast( PFN_vkCmdBindInvocationMaskHUAWEI ) vkGetDeviceProcAddr( device, "vkCmdBindInvocationMaskHUAWEI" ); 470 471 // VK_NV_external_memory_rdma 472 vkGetMemoryRemoteAddressNV = cast( PFN_vkGetMemoryRemoteAddressNV ) vkGetDeviceProcAddr( device, "vkGetMemoryRemoteAddressNV" ); 473 474 // VK_EXT_pipeline_properties 475 vkGetPipelinePropertiesEXT = cast( PFN_vkGetPipelinePropertiesEXT ) vkGetDeviceProcAddr( device, "vkGetPipelinePropertiesEXT" ); 476 477 // VK_EXT_extended_dynamic_state2 478 vkCmdSetPatchControlPointsEXT = cast( PFN_vkCmdSetPatchControlPointsEXT ) vkGetDeviceProcAddr( device, "vkCmdSetPatchControlPointsEXT" ); 479 vkCmdSetLogicOpEXT = cast( PFN_vkCmdSetLogicOpEXT ) vkGetDeviceProcAddr( device, "vkCmdSetLogicOpEXT" ); 480 481 // VK_EXT_color_write_enable 482 vkCmdSetColorWriteEnableEXT = cast( PFN_vkCmdSetColorWriteEnableEXT ) vkGetDeviceProcAddr( device, "vkCmdSetColorWriteEnableEXT" ); 483 484 // VK_EXT_multi_draw 485 vkCmdDrawMultiEXT = cast( PFN_vkCmdDrawMultiEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMultiEXT" ); 486 vkCmdDrawMultiIndexedEXT = cast( PFN_vkCmdDrawMultiIndexedEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMultiIndexedEXT" ); 487 488 // VK_EXT_pageable_device_local_memory 489 vkSetDeviceMemoryPriorityEXT = cast( PFN_vkSetDeviceMemoryPriorityEXT ) vkGetDeviceProcAddr( device, "vkSetDeviceMemoryPriorityEXT" ); 490 491 // VK_VALVE_descriptor_set_host_mapping 492 vkGetDescriptorSetLayoutHostMappingInfoVALVE = cast( PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE ) vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutHostMappingInfoVALVE" ); 493 vkGetDescriptorSetHostMappingVALVE = cast( PFN_vkGetDescriptorSetHostMappingVALVE ) vkGetDeviceProcAddr( device, "vkGetDescriptorSetHostMappingVALVE" ); 494 495 // VK_EXT_shader_module_identifier 496 vkGetShaderModuleIdentifierEXT = cast( PFN_vkGetShaderModuleIdentifierEXT ) vkGetDeviceProcAddr( device, "vkGetShaderModuleIdentifierEXT" ); 497 vkGetShaderModuleCreateInfoIdentifierEXT = cast( PFN_vkGetShaderModuleCreateInfoIdentifierEXT ) vkGetDeviceProcAddr( device, "vkGetShaderModuleCreateInfoIdentifierEXT" ); 498 499 // VK_QCOM_tile_properties 500 vkGetFramebufferTilePropertiesQCOM = cast( PFN_vkGetFramebufferTilePropertiesQCOM ) vkGetDeviceProcAddr( device, "vkGetFramebufferTilePropertiesQCOM" ); 501 vkGetDynamicRenderingTilePropertiesQCOM = cast( PFN_vkGetDynamicRenderingTilePropertiesQCOM ) vkGetDeviceProcAddr( device, "vkGetDynamicRenderingTilePropertiesQCOM" ); 502 503 // VK_KHR_acceleration_structure 504 vkCreateAccelerationStructureKHR = cast( PFN_vkCreateAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureKHR" ); 505 vkDestroyAccelerationStructureKHR = cast( PFN_vkDestroyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ); 506 vkCmdBuildAccelerationStructuresKHR = cast( PFN_vkCmdBuildAccelerationStructuresKHR ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresKHR" ); 507 vkCmdBuildAccelerationStructuresIndirectKHR = cast( PFN_vkCmdBuildAccelerationStructuresIndirectKHR ) vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresIndirectKHR" ); 508 vkBuildAccelerationStructuresKHR = cast( PFN_vkBuildAccelerationStructuresKHR ) vkGetDeviceProcAddr( device, "vkBuildAccelerationStructuresKHR" ); 509 vkCopyAccelerationStructureKHR = cast( PFN_vkCopyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureKHR" ); 510 vkCopyAccelerationStructureToMemoryKHR = cast( PFN_vkCopyAccelerationStructureToMemoryKHR ) vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureToMemoryKHR" ); 511 vkCopyMemoryToAccelerationStructureKHR = cast( PFN_vkCopyMemoryToAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCopyMemoryToAccelerationStructureKHR" ); 512 vkWriteAccelerationStructuresPropertiesKHR = cast( PFN_vkWriteAccelerationStructuresPropertiesKHR ) vkGetDeviceProcAddr( device, "vkWriteAccelerationStructuresPropertiesKHR" ); 513 vkCmdCopyAccelerationStructureKHR = cast( PFN_vkCmdCopyAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureKHR" ); 514 vkCmdCopyAccelerationStructureToMemoryKHR = cast( PFN_vkCmdCopyAccelerationStructureToMemoryKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureToMemoryKHR" ); 515 vkCmdCopyMemoryToAccelerationStructureKHR = cast( PFN_vkCmdCopyMemoryToAccelerationStructureKHR ) vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToAccelerationStructureKHR" ); 516 vkGetAccelerationStructureDeviceAddressKHR = cast( PFN_vkGetAccelerationStructureDeviceAddressKHR ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureDeviceAddressKHR" ); 517 vkCmdWriteAccelerationStructuresPropertiesKHR = cast( PFN_vkCmdWriteAccelerationStructuresPropertiesKHR ) vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ); 518 vkGetDeviceAccelerationStructureCompatibilityKHR = cast( PFN_vkGetDeviceAccelerationStructureCompatibilityKHR ) vkGetDeviceProcAddr( device, "vkGetDeviceAccelerationStructureCompatibilityKHR" ); 519 vkGetAccelerationStructureBuildSizesKHR = cast( PFN_vkGetAccelerationStructureBuildSizesKHR ) vkGetDeviceProcAddr( device, "vkGetAccelerationStructureBuildSizesKHR" ); 520 521 // VK_KHR_ray_tracing_pipeline 522 vkCmdTraceRaysKHR = cast( PFN_vkCmdTraceRaysKHR ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysKHR" ); 523 vkCreateRayTracingPipelinesKHR = cast( PFN_vkCreateRayTracingPipelinesKHR ) vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesKHR" ); 524 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = cast( PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ); 525 vkCmdTraceRaysIndirectKHR = cast( PFN_vkCmdTraceRaysIndirectKHR ) vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirectKHR" ); 526 vkGetRayTracingShaderGroupStackSizeKHR = cast( PFN_vkGetRayTracingShaderGroupStackSizeKHR ) vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupStackSizeKHR" ); 527 vkCmdSetRayTracingPipelineStackSizeKHR = cast( PFN_vkCmdSetRayTracingPipelineStackSizeKHR ) vkGetDeviceProcAddr( device, "vkCmdSetRayTracingPipelineStackSizeKHR" ); 528 529 // VK_EXT_mesh_shader 530 vkCmdDrawMeshTasksEXT = cast( PFN_vkCmdDrawMeshTasksEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksEXT" ); 531 vkCmdDrawMeshTasksIndirectEXT = cast( PFN_vkCmdDrawMeshTasksIndirectEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectEXT" ); 532 vkCmdDrawMeshTasksIndirectCountEXT = cast( PFN_vkCmdDrawMeshTasksIndirectCountEXT ) vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountEXT" ); 533 } 534 535 536 /// convenience member functions, forwarded to corresponding vulkan functions 537 /// parameters of type VkDevice, const( VkAllocationCallbacks )* and VkCommandBuffer are omitted 538 /// they will be supplied by the member properties vkDevice, pAllocator and the public member commandBuffer 539 /// e.g.: 540 /// auto dd = DispatchDevice( device ); 541 /// dd.DestroyDevice(); // instead of: dd.vkDestroyDevice( dd.vkDevice, pAllocator ); 542 /// 543 /// Same mechanism works with functions which require a VkCommandBuffer as first arg 544 /// In this case the public member 'commandBuffer' must be set beforehand 545 /// e.g.: 546 /// dd.commandBuffer = some_command_buffer; 547 /// dd.BeginCommandBuffer( &beginInfo ); 548 /// dd.CmdBindPipeline( VK_PIPELINE_BIND_POINT_GRAPHICS, some_pipeline ); 549 /// 550 /// Does not work with queues, there are just too few queue related functions 551 552 // VK_VERSION_1_0 553 void DestroyDevice() { vkDestroyDevice( vkDevice, pAllocator ); } 554 void GetDeviceQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue* pQueue ) { vkGetDeviceQueue( vkDevice, queueFamilyIndex, queueIndex, pQueue ); } 555 VkResult DeviceWaitIdle() { return vkDeviceWaitIdle( vkDevice ); } 556 VkResult AllocateMemory( const( VkMemoryAllocateInfo )* pAllocateInfo, VkDeviceMemory* pMemory ) { return vkAllocateMemory( vkDevice, pAllocateInfo, pAllocator, pMemory ); } 557 void FreeMemory( VkDeviceMemory memory ) { vkFreeMemory( vkDevice, memory, pAllocator ); } 558 VkResult MapMemory( VkDeviceMemory memory, VkDeviceSize offset, VkDeviceSize size, VkMemoryMapFlags flags, void** ppData ) { return vkMapMemory( vkDevice, memory, offset, size, flags, ppData ); } 559 void UnmapMemory( VkDeviceMemory memory ) { vkUnmapMemory( vkDevice, memory ); } 560 VkResult FlushMappedMemoryRanges( uint32_t memoryRangeCount, const( VkMappedMemoryRange )* pMemoryRanges ) { return vkFlushMappedMemoryRanges( vkDevice, memoryRangeCount, pMemoryRanges ); } 561 VkResult InvalidateMappedMemoryRanges( uint32_t memoryRangeCount, const( VkMappedMemoryRange )* pMemoryRanges ) { return vkInvalidateMappedMemoryRanges( vkDevice, memoryRangeCount, pMemoryRanges ); } 562 void GetDeviceMemoryCommitment( VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes ) { vkGetDeviceMemoryCommitment( vkDevice, memory, pCommittedMemoryInBytes ); } 563 VkResult BindBufferMemory( VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset ) { return vkBindBufferMemory( vkDevice, buffer, memory, memoryOffset ); } 564 VkResult BindImageMemory( VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset ) { return vkBindImageMemory( vkDevice, image, memory, memoryOffset ); } 565 void GetBufferMemoryRequirements( VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements ) { vkGetBufferMemoryRequirements( vkDevice, buffer, pMemoryRequirements ); } 566 void GetImageMemoryRequirements( VkImage image, VkMemoryRequirements* pMemoryRequirements ) { vkGetImageMemoryRequirements( vkDevice, image, pMemoryRequirements ); } 567 void GetImageSparseMemoryRequirements( VkImage image, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements ) { vkGetImageSparseMemoryRequirements( vkDevice, image, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 568 VkResult CreateFence( const( VkFenceCreateInfo )* pCreateInfo, VkFence* pFence ) { return vkCreateFence( vkDevice, pCreateInfo, pAllocator, pFence ); } 569 void DestroyFence( VkFence fence ) { vkDestroyFence( vkDevice, fence, pAllocator ); } 570 VkResult ResetFences( uint32_t fenceCount, const( VkFence )* pFences ) { return vkResetFences( vkDevice, fenceCount, pFences ); } 571 VkResult GetFenceStatus( VkFence fence ) { return vkGetFenceStatus( vkDevice, fence ); } 572 VkResult WaitForFences( uint32_t fenceCount, const( VkFence )* pFences, VkBool32 waitAll, uint64_t timeout ) { return vkWaitForFences( vkDevice, fenceCount, pFences, waitAll, timeout ); } 573 VkResult CreateSemaphore( const( VkSemaphoreCreateInfo )* pCreateInfo, VkSemaphore* pSemaphore ) { return vkCreateSemaphore( vkDevice, pCreateInfo, pAllocator, pSemaphore ); } 574 void DestroySemaphore( VkSemaphore semaphore ) { vkDestroySemaphore( vkDevice, semaphore, pAllocator ); } 575 VkResult CreateEvent( const( VkEventCreateInfo )* pCreateInfo, VkEvent* pEvent ) { return vkCreateEvent( vkDevice, pCreateInfo, pAllocator, pEvent ); } 576 void DestroyEvent( VkEvent event ) { vkDestroyEvent( vkDevice, event, pAllocator ); } 577 VkResult GetEventStatus( VkEvent event ) { return vkGetEventStatus( vkDevice, event ); } 578 VkResult SetEvent( VkEvent event ) { return vkSetEvent( vkDevice, event ); } 579 VkResult ResetEvent( VkEvent event ) { return vkResetEvent( vkDevice, event ); } 580 VkResult CreateQueryPool( const( VkQueryPoolCreateInfo )* pCreateInfo, VkQueryPool* pQueryPool ) { return vkCreateQueryPool( vkDevice, pCreateInfo, pAllocator, pQueryPool ); } 581 void DestroyQueryPool( VkQueryPool queryPool ) { vkDestroyQueryPool( vkDevice, queryPool, pAllocator ); } 582 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 ); } 583 VkResult CreateBuffer( const( VkBufferCreateInfo )* pCreateInfo, VkBuffer* pBuffer ) { return vkCreateBuffer( vkDevice, pCreateInfo, pAllocator, pBuffer ); } 584 void DestroyBuffer( VkBuffer buffer ) { vkDestroyBuffer( vkDevice, buffer, pAllocator ); } 585 VkResult CreateBufferView( const( VkBufferViewCreateInfo )* pCreateInfo, VkBufferView* pView ) { return vkCreateBufferView( vkDevice, pCreateInfo, pAllocator, pView ); } 586 void DestroyBufferView( VkBufferView bufferView ) { vkDestroyBufferView( vkDevice, bufferView, pAllocator ); } 587 VkResult CreateImage( const( VkImageCreateInfo )* pCreateInfo, VkImage* pImage ) { return vkCreateImage( vkDevice, pCreateInfo, pAllocator, pImage ); } 588 void DestroyImage( VkImage image ) { vkDestroyImage( vkDevice, image, pAllocator ); } 589 void GetImageSubresourceLayout( VkImage image, const( VkImageSubresource )* pSubresource, VkSubresourceLayout* pLayout ) { vkGetImageSubresourceLayout( vkDevice, image, pSubresource, pLayout ); } 590 VkResult CreateImageView( const( VkImageViewCreateInfo )* pCreateInfo, VkImageView* pView ) { return vkCreateImageView( vkDevice, pCreateInfo, pAllocator, pView ); } 591 void DestroyImageView( VkImageView imageView ) { vkDestroyImageView( vkDevice, imageView, pAllocator ); } 592 VkResult CreateShaderModule( const( VkShaderModuleCreateInfo )* pCreateInfo, VkShaderModule* pShaderModule ) { return vkCreateShaderModule( vkDevice, pCreateInfo, pAllocator, pShaderModule ); } 593 void DestroyShaderModule( VkShaderModule shaderModule ) { vkDestroyShaderModule( vkDevice, shaderModule, pAllocator ); } 594 VkResult CreatePipelineCache( const( VkPipelineCacheCreateInfo )* pCreateInfo, VkPipelineCache* pPipelineCache ) { return vkCreatePipelineCache( vkDevice, pCreateInfo, pAllocator, pPipelineCache ); } 595 void DestroyPipelineCache( VkPipelineCache pipelineCache ) { vkDestroyPipelineCache( vkDevice, pipelineCache, pAllocator ); } 596 VkResult GetPipelineCacheData( VkPipelineCache pipelineCache, size_t* pDataSize, void* pData ) { return vkGetPipelineCacheData( vkDevice, pipelineCache, pDataSize, pData ); } 597 VkResult MergePipelineCaches( VkPipelineCache dstCache, uint32_t srcCacheCount, const( VkPipelineCache )* pSrcCaches ) { return vkMergePipelineCaches( vkDevice, dstCache, srcCacheCount, pSrcCaches ); } 598 VkResult CreateGraphicsPipelines( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkGraphicsPipelineCreateInfo )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateGraphicsPipelines( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 599 VkResult CreateComputePipelines( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkComputePipelineCreateInfo )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateComputePipelines( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 600 void DestroyPipeline( VkPipeline pipeline ) { vkDestroyPipeline( vkDevice, pipeline, pAllocator ); } 601 VkResult CreatePipelineLayout( const( VkPipelineLayoutCreateInfo )* pCreateInfo, VkPipelineLayout* pPipelineLayout ) { return vkCreatePipelineLayout( vkDevice, pCreateInfo, pAllocator, pPipelineLayout ); } 602 void DestroyPipelineLayout( VkPipelineLayout pipelineLayout ) { vkDestroyPipelineLayout( vkDevice, pipelineLayout, pAllocator ); } 603 VkResult CreateSampler( const( VkSamplerCreateInfo )* pCreateInfo, VkSampler* pSampler ) { return vkCreateSampler( vkDevice, pCreateInfo, pAllocator, pSampler ); } 604 void DestroySampler( VkSampler sampler ) { vkDestroySampler( vkDevice, sampler, pAllocator ); } 605 VkResult CreateDescriptorSetLayout( const( VkDescriptorSetLayoutCreateInfo )* pCreateInfo, VkDescriptorSetLayout* pSetLayout ) { return vkCreateDescriptorSetLayout( vkDevice, pCreateInfo, pAllocator, pSetLayout ); } 606 void DestroyDescriptorSetLayout( VkDescriptorSetLayout descriptorSetLayout ) { vkDestroyDescriptorSetLayout( vkDevice, descriptorSetLayout, pAllocator ); } 607 VkResult CreateDescriptorPool( const( VkDescriptorPoolCreateInfo )* pCreateInfo, VkDescriptorPool* pDescriptorPool ) { return vkCreateDescriptorPool( vkDevice, pCreateInfo, pAllocator, pDescriptorPool ); } 608 void DestroyDescriptorPool( VkDescriptorPool descriptorPool ) { vkDestroyDescriptorPool( vkDevice, descriptorPool, pAllocator ); } 609 VkResult ResetDescriptorPool( VkDescriptorPool descriptorPool, VkDescriptorPoolResetFlags flags ) { return vkResetDescriptorPool( vkDevice, descriptorPool, flags ); } 610 VkResult AllocateDescriptorSets( const( VkDescriptorSetAllocateInfo )* pAllocateInfo, VkDescriptorSet* pDescriptorSets ) { return vkAllocateDescriptorSets( vkDevice, pAllocateInfo, pDescriptorSets ); } 611 VkResult FreeDescriptorSets( VkDescriptorPool descriptorPool, uint32_t descriptorSetCount, const( VkDescriptorSet )* pDescriptorSets ) { return vkFreeDescriptorSets( vkDevice, descriptorPool, descriptorSetCount, pDescriptorSets ); } 612 void UpdateDescriptorSets( uint32_t descriptorWriteCount, const( VkWriteDescriptorSet )* pDescriptorWrites, uint32_t descriptorCopyCount, const( VkCopyDescriptorSet )* pDescriptorCopies ) { vkUpdateDescriptorSets( vkDevice, descriptorWriteCount, pDescriptorWrites, descriptorCopyCount, pDescriptorCopies ); } 613 VkResult CreateFramebuffer( const( VkFramebufferCreateInfo )* pCreateInfo, VkFramebuffer* pFramebuffer ) { return vkCreateFramebuffer( vkDevice, pCreateInfo, pAllocator, pFramebuffer ); } 614 void DestroyFramebuffer( VkFramebuffer framebuffer ) { vkDestroyFramebuffer( vkDevice, framebuffer, pAllocator ); } 615 VkResult CreateRenderPass( const( VkRenderPassCreateInfo )* pCreateInfo, VkRenderPass* pRenderPass ) { return vkCreateRenderPass( vkDevice, pCreateInfo, pAllocator, pRenderPass ); } 616 void DestroyRenderPass( VkRenderPass renderPass ) { vkDestroyRenderPass( vkDevice, renderPass, pAllocator ); } 617 void GetRenderAreaGranularity( VkRenderPass renderPass, VkExtent2D* pGranularity ) { vkGetRenderAreaGranularity( vkDevice, renderPass, pGranularity ); } 618 VkResult CreateCommandPool( const( VkCommandPoolCreateInfo )* pCreateInfo, VkCommandPool* pCommandPool ) { return vkCreateCommandPool( vkDevice, pCreateInfo, pAllocator, pCommandPool ); } 619 void DestroyCommandPool( VkCommandPool commandPool ) { vkDestroyCommandPool( vkDevice, commandPool, pAllocator ); } 620 VkResult ResetCommandPool( VkCommandPool commandPool, VkCommandPoolResetFlags flags ) { return vkResetCommandPool( vkDevice, commandPool, flags ); } 621 VkResult AllocateCommandBuffers( const( VkCommandBufferAllocateInfo )* pAllocateInfo, VkCommandBuffer* pCommandBuffers ) { return vkAllocateCommandBuffers( vkDevice, pAllocateInfo, pCommandBuffers ); } 622 void FreeCommandBuffers( VkCommandPool commandPool, uint32_t commandBufferCount, const( VkCommandBuffer )* pCommandBuffers ) { vkFreeCommandBuffers( vkDevice, commandPool, commandBufferCount, pCommandBuffers ); } 623 VkResult BeginCommandBuffer( const( VkCommandBufferBeginInfo )* pBeginInfo ) { return vkBeginCommandBuffer( commandBuffer, pBeginInfo ); } 624 VkResult EndCommandBuffer() { return vkEndCommandBuffer( commandBuffer ); } 625 VkResult ResetCommandBuffer( VkCommandBufferResetFlags flags ) { return vkResetCommandBuffer( commandBuffer, flags ); } 626 void CmdBindPipeline( VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline ) { vkCmdBindPipeline( commandBuffer, pipelineBindPoint, pipeline ); } 627 void CmdSetViewport( uint32_t firstViewport, uint32_t viewportCount, const( VkViewport )* pViewports ) { vkCmdSetViewport( commandBuffer, firstViewport, viewportCount, pViewports ); } 628 void CmdSetScissor( uint32_t firstScissor, uint32_t scissorCount, const( VkRect2D )* pScissors ) { vkCmdSetScissor( commandBuffer, firstScissor, scissorCount, pScissors ); } 629 void CmdSetLineWidth( float lineWidth ) { vkCmdSetLineWidth( commandBuffer, lineWidth ); } 630 void CmdSetDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) { vkCmdSetDepthBias( commandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); } 631 void CmdSetBlendConstants( const float[4] blendConstants ) { vkCmdSetBlendConstants( commandBuffer, blendConstants ); } 632 void CmdSetDepthBounds( float minDepthBounds, float maxDepthBounds ) { vkCmdSetDepthBounds( commandBuffer, minDepthBounds, maxDepthBounds ); } 633 void CmdSetStencilCompareMask( VkStencilFaceFlags faceMask, uint32_t compareMask ) { vkCmdSetStencilCompareMask( commandBuffer, faceMask, compareMask ); } 634 void CmdSetStencilWriteMask( VkStencilFaceFlags faceMask, uint32_t writeMask ) { vkCmdSetStencilWriteMask( commandBuffer, faceMask, writeMask ); } 635 void CmdSetStencilReference( VkStencilFaceFlags faceMask, uint32_t reference ) { vkCmdSetStencilReference( commandBuffer, faceMask, reference ); } 636 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 ); } 637 void CmdBindIndexBuffer( VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType ) { vkCmdBindIndexBuffer( commandBuffer, buffer, offset, indexType ); } 638 void CmdBindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets ) { vkCmdBindVertexBuffers( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets ); } 639 void CmdDraw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) { vkCmdDraw( commandBuffer, vertexCount, instanceCount, firstVertex, firstInstance ); } 640 void CmdDrawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) { vkCmdDrawIndexed( commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); } 641 void CmdDrawIndirect( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawIndirect( commandBuffer, buffer, offset, drawCount, stride ); } 642 void CmdDrawIndexedIndirect( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawIndexedIndirect( commandBuffer, buffer, offset, drawCount, stride ); } 643 void CmdDispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) { vkCmdDispatch( commandBuffer, groupCountX, groupCountY, groupCountZ ); } 644 void CmdDispatchIndirect( VkBuffer buffer, VkDeviceSize offset ) { vkCmdDispatchIndirect( commandBuffer, buffer, offset ); } 645 void CmdCopyBuffer( VkBuffer srcBuffer, VkBuffer dstBuffer, uint32_t regionCount, const( VkBufferCopy )* pRegions ) { vkCmdCopyBuffer( commandBuffer, srcBuffer, dstBuffer, regionCount, pRegions ); } 646 void CmdCopyImage( VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkImageCopy )* pRegions ) { vkCmdCopyImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); } 647 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 ); } 648 void CmdCopyBufferToImage( VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkBufferImageCopy )* pRegions ) { vkCmdCopyBufferToImage( commandBuffer, srcBuffer, dstImage, dstImageLayout, regionCount, pRegions ); } 649 void CmdCopyImageToBuffer( VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint32_t regionCount, const( VkBufferImageCopy )* pRegions ) { vkCmdCopyImageToBuffer( commandBuffer, srcImage, srcImageLayout, dstBuffer, regionCount, pRegions ); } 650 void CmdUpdateBuffer( VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const( void )* pData ) { vkCmdUpdateBuffer( commandBuffer, dstBuffer, dstOffset, dataSize, pData ); } 651 void CmdFillBuffer( VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, uint32_t data ) { vkCmdFillBuffer( commandBuffer, dstBuffer, dstOffset, size, data ); } 652 void CmdClearColorImage( VkImage image, VkImageLayout imageLayout, const( VkClearColorValue )* pColor, uint32_t rangeCount, const( VkImageSubresourceRange )* pRanges ) { vkCmdClearColorImage( commandBuffer, image, imageLayout, pColor, rangeCount, pRanges ); } 653 void CmdClearDepthStencilImage( VkImage image, VkImageLayout imageLayout, const( VkClearDepthStencilValue )* pDepthStencil, uint32_t rangeCount, const( VkImageSubresourceRange )* pRanges ) { vkCmdClearDepthStencilImage( commandBuffer, image, imageLayout, pDepthStencil, rangeCount, pRanges ); } 654 void CmdClearAttachments( uint32_t attachmentCount, const( VkClearAttachment )* pAttachments, uint32_t rectCount, const( VkClearRect )* pRects ) { vkCmdClearAttachments( commandBuffer, attachmentCount, pAttachments, rectCount, pRects ); } 655 void CmdResolveImage( VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint32_t regionCount, const( VkImageResolve )* pRegions ) { vkCmdResolveImage( commandBuffer, srcImage, srcImageLayout, dstImage, dstImageLayout, regionCount, pRegions ); } 656 void CmdSetEvent( VkEvent event, VkPipelineStageFlags stageMask ) { vkCmdSetEvent( commandBuffer, event, stageMask ); } 657 void CmdResetEvent( VkEvent event, VkPipelineStageFlags stageMask ) { vkCmdResetEvent( commandBuffer, event, stageMask ); } 658 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 ); } 659 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 ); } 660 void CmdBeginQuery( VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags ) { vkCmdBeginQuery( commandBuffer, queryPool, query, flags ); } 661 void CmdEndQuery( VkQueryPool queryPool, uint32_t query ) { vkCmdEndQuery( commandBuffer, queryPool, query ); } 662 void CmdResetQueryPool( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) { vkCmdResetQueryPool( commandBuffer, queryPool, firstQuery, queryCount ); } 663 void CmdWriteTimestamp( VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, uint32_t query ) { vkCmdWriteTimestamp( commandBuffer, pipelineStage, queryPool, query ); } 664 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 ); } 665 void CmdPushConstants( VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint32_t offset, uint32_t size, const( void )* pValues ) { vkCmdPushConstants( commandBuffer, layout, stageFlags, offset, size, pValues ); } 666 void CmdBeginRenderPass( const( VkRenderPassBeginInfo )* pRenderPassBegin, VkSubpassContents contents ) { vkCmdBeginRenderPass( commandBuffer, pRenderPassBegin, contents ); } 667 void CmdNextSubpass( VkSubpassContents contents ) { vkCmdNextSubpass( commandBuffer, contents ); } 668 void CmdEndRenderPass() { vkCmdEndRenderPass( commandBuffer ); } 669 void CmdExecuteCommands( uint32_t commandBufferCount, const( VkCommandBuffer )* pCommandBuffers ) { vkCmdExecuteCommands( commandBuffer, commandBufferCount, pCommandBuffers ); } 670 671 // VK_VERSION_1_1 672 VkResult BindBufferMemory2( uint32_t bindInfoCount, const( VkBindBufferMemoryInfo )* pBindInfos ) { return vkBindBufferMemory2( vkDevice, bindInfoCount, pBindInfos ); } 673 VkResult BindImageMemory2( uint32_t bindInfoCount, const( VkBindImageMemoryInfo )* pBindInfos ) { return vkBindImageMemory2( vkDevice, bindInfoCount, pBindInfos ); } 674 void GetDeviceGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures ) { vkGetDeviceGroupPeerMemoryFeatures( vkDevice, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMemoryFeatures ); } 675 void CmdSetDeviceMask( uint32_t deviceMask ) { vkCmdSetDeviceMask( commandBuffer, deviceMask ); } 676 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 ); } 677 void GetImageMemoryRequirements2( const( VkImageMemoryRequirementsInfo2 )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetImageMemoryRequirements2( vkDevice, pInfo, pMemoryRequirements ); } 678 void GetBufferMemoryRequirements2( const( VkBufferMemoryRequirementsInfo2 )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetBufferMemoryRequirements2( vkDevice, pInfo, pMemoryRequirements ); } 679 void GetImageSparseMemoryRequirements2( const( VkImageSparseMemoryRequirementsInfo2 )* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) { vkGetImageSparseMemoryRequirements2( vkDevice, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 680 void TrimCommandPool( VkCommandPool commandPool, VkCommandPoolTrimFlags flags ) { vkTrimCommandPool( vkDevice, commandPool, flags ); } 681 void GetDeviceQueue2( const( VkDeviceQueueInfo2 )* pQueueInfo, VkQueue* pQueue ) { vkGetDeviceQueue2( vkDevice, pQueueInfo, pQueue ); } 682 VkResult CreateSamplerYcbcrConversion( const( VkSamplerYcbcrConversionCreateInfo )* pCreateInfo, VkSamplerYcbcrConversion* pYcbcrConversion ) { return vkCreateSamplerYcbcrConversion( vkDevice, pCreateInfo, pAllocator, pYcbcrConversion ); } 683 void DestroySamplerYcbcrConversion( VkSamplerYcbcrConversion ycbcrConversion ) { vkDestroySamplerYcbcrConversion( vkDevice, ycbcrConversion, pAllocator ); } 684 VkResult CreateDescriptorUpdateTemplate( const( VkDescriptorUpdateTemplateCreateInfo )* pCreateInfo, VkDescriptorUpdateTemplate* pDescriptorUpdateTemplate ) { return vkCreateDescriptorUpdateTemplate( vkDevice, pCreateInfo, pAllocator, pDescriptorUpdateTemplate ); } 685 void DestroyDescriptorUpdateTemplate( VkDescriptorUpdateTemplate descriptorUpdateTemplate ) { vkDestroyDescriptorUpdateTemplate( vkDevice, descriptorUpdateTemplate, pAllocator ); } 686 void UpdateDescriptorSetWithTemplate( VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplate descriptorUpdateTemplate, const( void )* pData ) { vkUpdateDescriptorSetWithTemplate( vkDevice, descriptorSet, descriptorUpdateTemplate, pData ); } 687 void GetDescriptorSetLayoutSupport( const( VkDescriptorSetLayoutCreateInfo )* pCreateInfo, VkDescriptorSetLayoutSupport* pSupport ) { vkGetDescriptorSetLayoutSupport( vkDevice, pCreateInfo, pSupport ); } 688 689 // VK_VERSION_1_2 690 void CmdDrawIndirectCount( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 691 void CmdDrawIndexedIndirectCount( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawIndexedIndirectCount( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 692 VkResult CreateRenderPass2( const( VkRenderPassCreateInfo2 )* pCreateInfo, VkRenderPass* pRenderPass ) { return vkCreateRenderPass2( vkDevice, pCreateInfo, pAllocator, pRenderPass ); } 693 void CmdBeginRenderPass2( const( VkRenderPassBeginInfo )* pRenderPassBegin, const( VkSubpassBeginInfo )* pSubpassBeginInfo ) { vkCmdBeginRenderPass2( commandBuffer, pRenderPassBegin, pSubpassBeginInfo ); } 694 void CmdNextSubpass2( const( VkSubpassBeginInfo )* pSubpassBeginInfo, const( VkSubpassEndInfo )* pSubpassEndInfo ) { vkCmdNextSubpass2( commandBuffer, pSubpassBeginInfo, pSubpassEndInfo ); } 695 void CmdEndRenderPass2( const( VkSubpassEndInfo )* pSubpassEndInfo ) { vkCmdEndRenderPass2( commandBuffer, pSubpassEndInfo ); } 696 void ResetQueryPool( VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) { vkResetQueryPool( vkDevice, queryPool, firstQuery, queryCount ); } 697 VkResult GetSemaphoreCounterValue( VkSemaphore semaphore, uint64_t* pValue ) { return vkGetSemaphoreCounterValue( vkDevice, semaphore, pValue ); } 698 VkResult WaitSemaphores( const( VkSemaphoreWaitInfo )* pWaitInfo, uint64_t timeout ) { return vkWaitSemaphores( vkDevice, pWaitInfo, timeout ); } 699 VkResult SignalSemaphore( const( VkSemaphoreSignalInfo )* pSignalInfo ) { return vkSignalSemaphore( vkDevice, pSignalInfo ); } 700 VkDeviceAddress GetBufferDeviceAddress( const( VkBufferDeviceAddressInfo )* pInfo ) { return vkGetBufferDeviceAddress( vkDevice, pInfo ); } 701 uint64_t GetBufferOpaqueCaptureAddress( const( VkBufferDeviceAddressInfo )* pInfo ) { return vkGetBufferOpaqueCaptureAddress( vkDevice, pInfo ); } 702 uint64_t GetDeviceMemoryOpaqueCaptureAddress( const( VkDeviceMemoryOpaqueCaptureAddressInfo )* pInfo ) { return vkGetDeviceMemoryOpaqueCaptureAddress( vkDevice, pInfo ); } 703 704 // VK_VERSION_1_3 705 VkResult CreatePrivateDataSlot( const( VkPrivateDataSlotCreateInfo )* pCreateInfo, VkPrivateDataSlot* pPrivateDataSlot ) { return vkCreatePrivateDataSlot( vkDevice, pCreateInfo, pAllocator, pPrivateDataSlot ); } 706 void DestroyPrivateDataSlot( VkPrivateDataSlot privateDataSlot ) { vkDestroyPrivateDataSlot( vkDevice, privateDataSlot, pAllocator ); } 707 VkResult SetPrivateData( VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t data ) { return vkSetPrivateData( vkDevice, objectType, objectHandle, privateDataSlot, data ); } 708 void GetPrivateData( VkObjectType objectType, uint64_t objectHandle, VkPrivateDataSlot privateDataSlot, uint64_t* pData ) { vkGetPrivateData( vkDevice, objectType, objectHandle, privateDataSlot, pData ); } 709 void CmdSetEvent2( VkEvent event, const( VkDependencyInfo )* pDependencyInfo ) { vkCmdSetEvent2( commandBuffer, event, pDependencyInfo ); } 710 void CmdResetEvent2( VkEvent event, VkPipelineStageFlags2 stageMask ) { vkCmdResetEvent2( commandBuffer, event, stageMask ); } 711 void CmdWaitEvents2( uint32_t eventCount, const( VkEvent )* pEvents, const( VkDependencyInfo )* pDependencyInfos ) { vkCmdWaitEvents2( commandBuffer, eventCount, pEvents, pDependencyInfos ); } 712 void CmdPipelineBarrier2( const( VkDependencyInfo )* pDependencyInfo ) { vkCmdPipelineBarrier2( commandBuffer, pDependencyInfo ); } 713 void CmdWriteTimestamp2( VkPipelineStageFlags2 stage, VkQueryPool queryPool, uint32_t query ) { vkCmdWriteTimestamp2( commandBuffer, stage, queryPool, query ); } 714 void CmdCopyBuffer2( const( VkCopyBufferInfo2 )* pCopyBufferInfo ) { vkCmdCopyBuffer2( commandBuffer, pCopyBufferInfo ); } 715 void CmdCopyImage2( const( VkCopyImageInfo2 )* pCopyImageInfo ) { vkCmdCopyImage2( commandBuffer, pCopyImageInfo ); } 716 void CmdCopyBufferToImage2( const( VkCopyBufferToImageInfo2 )* pCopyBufferToImageInfo ) { vkCmdCopyBufferToImage2( commandBuffer, pCopyBufferToImageInfo ); } 717 void CmdCopyImageToBuffer2( const( VkCopyImageToBufferInfo2 )* pCopyImageToBufferInfo ) { vkCmdCopyImageToBuffer2( commandBuffer, pCopyImageToBufferInfo ); } 718 void CmdBlitImage2( const( VkBlitImageInfo2 )* pBlitImageInfo ) { vkCmdBlitImage2( commandBuffer, pBlitImageInfo ); } 719 void CmdResolveImage2( const( VkResolveImageInfo2 )* pResolveImageInfo ) { vkCmdResolveImage2( commandBuffer, pResolveImageInfo ); } 720 void CmdBeginRendering( const( VkRenderingInfo )* pRenderingInfo ) { vkCmdBeginRendering( commandBuffer, pRenderingInfo ); } 721 void CmdEndRendering() { vkCmdEndRendering( commandBuffer ); } 722 void CmdSetCullMode( VkCullModeFlags cullMode ) { vkCmdSetCullMode( commandBuffer, cullMode ); } 723 void CmdSetFrontFace( VkFrontFace frontFace ) { vkCmdSetFrontFace( commandBuffer, frontFace ); } 724 void CmdSetPrimitiveTopology( VkPrimitiveTopology primitiveTopology ) { vkCmdSetPrimitiveTopology( commandBuffer, primitiveTopology ); } 725 void CmdSetViewportWithCount( uint32_t viewportCount, const( VkViewport )* pViewports ) { vkCmdSetViewportWithCount( commandBuffer, viewportCount, pViewports ); } 726 void CmdSetScissorWithCount( uint32_t scissorCount, const( VkRect2D )* pScissors ) { vkCmdSetScissorWithCount( commandBuffer, scissorCount, pScissors ); } 727 void CmdBindVertexBuffers2( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets, const( VkDeviceSize )* pSizes, const( VkDeviceSize )* pStrides ) { vkCmdBindVertexBuffers2( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes, pStrides ); } 728 void CmdSetDepthTestEnable( VkBool32 depthTestEnable ) { vkCmdSetDepthTestEnable( commandBuffer, depthTestEnable ); } 729 void CmdSetDepthWriteEnable( VkBool32 depthWriteEnable ) { vkCmdSetDepthWriteEnable( commandBuffer, depthWriteEnable ); } 730 void CmdSetDepthCompareOp( VkCompareOp depthCompareOp ) { vkCmdSetDepthCompareOp( commandBuffer, depthCompareOp ); } 731 void CmdSetDepthBoundsTestEnable( VkBool32 depthBoundsTestEnable ) { vkCmdSetDepthBoundsTestEnable( commandBuffer, depthBoundsTestEnable ); } 732 void CmdSetStencilTestEnable( VkBool32 stencilTestEnable ) { vkCmdSetStencilTestEnable( commandBuffer, stencilTestEnable ); } 733 void CmdSetStencilOp( VkStencilFaceFlags faceMask, VkStencilOp failOp, VkStencilOp passOp, VkStencilOp depthFailOp, VkCompareOp compareOp ) { vkCmdSetStencilOp( commandBuffer, faceMask, failOp, passOp, depthFailOp, compareOp ); } 734 void CmdSetRasterizerDiscardEnable( VkBool32 rasterizerDiscardEnable ) { vkCmdSetRasterizerDiscardEnable( commandBuffer, rasterizerDiscardEnable ); } 735 void CmdSetDepthBiasEnable( VkBool32 depthBiasEnable ) { vkCmdSetDepthBiasEnable( commandBuffer, depthBiasEnable ); } 736 void CmdSetPrimitiveRestartEnable( VkBool32 primitiveRestartEnable ) { vkCmdSetPrimitiveRestartEnable( commandBuffer, primitiveRestartEnable ); } 737 void GetDeviceBufferMemoryRequirements( const( VkDeviceBufferMemoryRequirements )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetDeviceBufferMemoryRequirements( vkDevice, pInfo, pMemoryRequirements ); } 738 void GetDeviceImageMemoryRequirements( const( VkDeviceImageMemoryRequirements )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetDeviceImageMemoryRequirements( vkDevice, pInfo, pMemoryRequirements ); } 739 void GetDeviceImageSparseMemoryRequirements( const( VkDeviceImageMemoryRequirements )* pInfo, uint32_t* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2* pSparseMemoryRequirements ) { vkGetDeviceImageSparseMemoryRequirements( vkDevice, pInfo, pSparseMemoryRequirementCount, pSparseMemoryRequirements ); } 740 741 // VK_KHR_swapchain 742 VkResult CreateSwapchainKHR( const( VkSwapchainCreateInfoKHR )* pCreateInfo, VkSwapchainKHR* pSwapchain ) { return vkCreateSwapchainKHR( vkDevice, pCreateInfo, pAllocator, pSwapchain ); } 743 void DestroySwapchainKHR( VkSwapchainKHR swapchain ) { vkDestroySwapchainKHR( vkDevice, swapchain, pAllocator ); } 744 VkResult GetSwapchainImagesKHR( VkSwapchainKHR swapchain, uint32_t* pSwapchainImageCount, VkImage* pSwapchainImages ) { return vkGetSwapchainImagesKHR( vkDevice, swapchain, pSwapchainImageCount, pSwapchainImages ); } 745 VkResult AcquireNextImageKHR( VkSwapchainKHR swapchain, uint64_t timeout, VkSemaphore semaphore, VkFence fence, uint32_t* pImageIndex ) { return vkAcquireNextImageKHR( vkDevice, swapchain, timeout, semaphore, fence, pImageIndex ); } 746 VkResult GetDeviceGroupPresentCapabilitiesKHR( VkDeviceGroupPresentCapabilitiesKHR* pDeviceGroupPresentCapabilities ) { return vkGetDeviceGroupPresentCapabilitiesKHR( vkDevice, pDeviceGroupPresentCapabilities ); } 747 VkResult GetDeviceGroupSurfacePresentModesKHR( VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHR* pModes ) { return vkGetDeviceGroupSurfacePresentModesKHR( vkDevice, surface, pModes ); } 748 VkResult AcquireNextImage2KHR( const( VkAcquireNextImageInfoKHR )* pAcquireInfo, uint32_t* pImageIndex ) { return vkAcquireNextImage2KHR( vkDevice, pAcquireInfo, pImageIndex ); } 749 750 // VK_KHR_display_swapchain 751 VkResult CreateSharedSwapchainsKHR( uint32_t swapchainCount, const( VkSwapchainCreateInfoKHR )* pCreateInfos, VkSwapchainKHR* pSwapchains ) { return vkCreateSharedSwapchainsKHR( vkDevice, swapchainCount, pCreateInfos, pAllocator, pSwapchains ); } 752 753 // VK_KHR_external_memory_fd 754 VkResult GetMemoryFdKHR( const( VkMemoryGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetMemoryFdKHR( vkDevice, pGetFdInfo, pFd ); } 755 VkResult GetMemoryFdPropertiesKHR( VkExternalMemoryHandleTypeFlagBits handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties ) { return vkGetMemoryFdPropertiesKHR( vkDevice, handleType, fd, pMemoryFdProperties ); } 756 757 // VK_KHR_external_semaphore_fd 758 VkResult ImportSemaphoreFdKHR( const( VkImportSemaphoreFdInfoKHR )* pImportSemaphoreFdInfo ) { return vkImportSemaphoreFdKHR( vkDevice, pImportSemaphoreFdInfo ); } 759 VkResult GetSemaphoreFdKHR( const( VkSemaphoreGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetSemaphoreFdKHR( vkDevice, pGetFdInfo, pFd ); } 760 761 // VK_KHR_push_descriptor 762 void CmdPushDescriptorSetKHR( VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint32_t set, uint32_t descriptorWriteCount, const( VkWriteDescriptorSet )* pDescriptorWrites ) { vkCmdPushDescriptorSetKHR( commandBuffer, pipelineBindPoint, layout, set, descriptorWriteCount, pDescriptorWrites ); } 763 void CmdPushDescriptorSetWithTemplateKHR( VkDescriptorUpdateTemplate descriptorUpdateTemplate, VkPipelineLayout layout, uint32_t set, const( void )* pData ) { vkCmdPushDescriptorSetWithTemplateKHR( commandBuffer, descriptorUpdateTemplate, layout, set, pData ); } 764 765 // VK_KHR_shared_presentable_image 766 VkResult GetSwapchainStatusKHR( VkSwapchainKHR swapchain ) { return vkGetSwapchainStatusKHR( vkDevice, swapchain ); } 767 768 // VK_KHR_external_fence_fd 769 VkResult ImportFenceFdKHR( const( VkImportFenceFdInfoKHR )* pImportFenceFdInfo ) { return vkImportFenceFdKHR( vkDevice, pImportFenceFdInfo ); } 770 VkResult GetFenceFdKHR( const( VkFenceGetFdInfoKHR )* pGetFdInfo, int* pFd ) { return vkGetFenceFdKHR( vkDevice, pGetFdInfo, pFd ); } 771 772 // VK_KHR_performance_query 773 VkResult AcquireProfilingLockKHR( const( VkAcquireProfilingLockInfoKHR )* pInfo ) { return vkAcquireProfilingLockKHR( vkDevice, pInfo ); } 774 void ReleaseProfilingLockKHR() { vkReleaseProfilingLockKHR( vkDevice ); } 775 776 // VK_KHR_fragment_shading_rate 777 void CmdSetFragmentShadingRateKHR( const( VkExtent2D )* pFragmentSize, const VkFragmentShadingRateCombinerOpKHR[2] combinerOps ) { vkCmdSetFragmentShadingRateKHR( commandBuffer, pFragmentSize, combinerOps ); } 778 779 // VK_KHR_present_wait 780 VkResult WaitForPresentKHR( VkSwapchainKHR swapchain, uint64_t presentId, uint64_t timeout ) { return vkWaitForPresentKHR( vkDevice, swapchain, presentId, timeout ); } 781 782 // VK_KHR_deferred_host_operations 783 VkResult CreateDeferredOperationKHR( VkDeferredOperationKHR* pDeferredOperation ) { return vkCreateDeferredOperationKHR( vkDevice, pAllocator, pDeferredOperation ); } 784 void DestroyDeferredOperationKHR( VkDeferredOperationKHR operation ) { vkDestroyDeferredOperationKHR( vkDevice, operation, pAllocator ); } 785 uint32_t GetDeferredOperationMaxConcurrencyKHR( VkDeferredOperationKHR operation ) { return vkGetDeferredOperationMaxConcurrencyKHR( vkDevice, operation ); } 786 VkResult GetDeferredOperationResultKHR( VkDeferredOperationKHR operation ) { return vkGetDeferredOperationResultKHR( vkDevice, operation ); } 787 VkResult DeferredOperationJoinKHR( VkDeferredOperationKHR operation ) { return vkDeferredOperationJoinKHR( vkDevice, operation ); } 788 789 // VK_KHR_pipeline_executable_properties 790 VkResult GetPipelineExecutablePropertiesKHR( const( VkPipelineInfoKHR )* pPipelineInfo, uint32_t* pExecutableCount, VkPipelineExecutablePropertiesKHR* pProperties ) { return vkGetPipelineExecutablePropertiesKHR( vkDevice, pPipelineInfo, pExecutableCount, pProperties ); } 791 VkResult GetPipelineExecutableStatisticsKHR( const( VkPipelineExecutableInfoKHR )* pExecutableInfo, uint32_t* pStatisticCount, VkPipelineExecutableStatisticKHR* pStatistics ) { return vkGetPipelineExecutableStatisticsKHR( vkDevice, pExecutableInfo, pStatisticCount, pStatistics ); } 792 VkResult GetPipelineExecutableInternalRepresentationsKHR( const( VkPipelineExecutableInfoKHR )* pExecutableInfo, uint32_t* pInternalRepresentationCount, VkPipelineExecutableInternalRepresentationKHR* pInternalRepresentations ) { return vkGetPipelineExecutableInternalRepresentationsKHR( vkDevice, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations ); } 793 794 // VK_KHR_synchronization2 795 void CmdWriteBufferMarker2AMD( VkPipelineStageFlags2 stage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) { vkCmdWriteBufferMarker2AMD( commandBuffer, stage, dstBuffer, dstOffset, marker ); } 796 797 // VK_KHR_ray_tracing_maintenance1 798 void CmdTraceRaysIndirect2KHR( VkDeviceAddress indirectDeviceAddress ) { vkCmdTraceRaysIndirect2KHR( commandBuffer, indirectDeviceAddress ); } 799 800 // VK_EXT_debug_marker 801 VkResult DebugMarkerSetObjectTagEXT( const( VkDebugMarkerObjectTagInfoEXT )* pTagInfo ) { return vkDebugMarkerSetObjectTagEXT( vkDevice, pTagInfo ); } 802 VkResult DebugMarkerSetObjectNameEXT( const( VkDebugMarkerObjectNameInfoEXT )* pNameInfo ) { return vkDebugMarkerSetObjectNameEXT( vkDevice, pNameInfo ); } 803 void CmdDebugMarkerBeginEXT( const( VkDebugMarkerMarkerInfoEXT )* pMarkerInfo ) { vkCmdDebugMarkerBeginEXT( commandBuffer, pMarkerInfo ); } 804 void CmdDebugMarkerEndEXT() { vkCmdDebugMarkerEndEXT( commandBuffer ); } 805 void CmdDebugMarkerInsertEXT( const( VkDebugMarkerMarkerInfoEXT )* pMarkerInfo ) { vkCmdDebugMarkerInsertEXT( commandBuffer, pMarkerInfo ); } 806 807 // VK_EXT_transform_feedback 808 void CmdBindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, const( VkBuffer )* pBuffers, const( VkDeviceSize )* pOffsets, const( VkDeviceSize )* pSizes ) { vkCmdBindTransformFeedbackBuffersEXT( commandBuffer, firstBinding, bindingCount, pBuffers, pOffsets, pSizes ); } 809 void CmdBeginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const( VkBuffer )* pCounterBuffers, const( VkDeviceSize )* pCounterBufferOffsets ) { vkCmdBeginTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); } 810 void CmdEndTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, const( VkBuffer )* pCounterBuffers, const( VkDeviceSize )* pCounterBufferOffsets ) { vkCmdEndTransformFeedbackEXT( commandBuffer, firstCounterBuffer, counterBufferCount, pCounterBuffers, pCounterBufferOffsets ); } 811 void CmdBeginQueryIndexedEXT( VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index ) { vkCmdBeginQueryIndexedEXT( commandBuffer, queryPool, query, flags, index ); } 812 void CmdEndQueryIndexedEXT( VkQueryPool queryPool, uint32_t query, uint32_t index ) { vkCmdEndQueryIndexedEXT( commandBuffer, queryPool, query, index ); } 813 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 ); } 814 815 // VK_NVX_binary_import 816 VkResult CreateCuModuleNVX( const( VkCuModuleCreateInfoNVX )* pCreateInfo, VkCuModuleNVX* pModule ) { return vkCreateCuModuleNVX( vkDevice, pCreateInfo, pAllocator, pModule ); } 817 VkResult CreateCuFunctionNVX( const( VkCuFunctionCreateInfoNVX )* pCreateInfo, VkCuFunctionNVX* pFunction ) { return vkCreateCuFunctionNVX( vkDevice, pCreateInfo, pAllocator, pFunction ); } 818 void DestroyCuModuleNVX( VkCuModuleNVX Module ) { vkDestroyCuModuleNVX( vkDevice, Module, pAllocator ); } 819 void DestroyCuFunctionNVX( VkCuFunctionNVX Function ) { vkDestroyCuFunctionNVX( vkDevice, Function, pAllocator ); } 820 void CmdCuLaunchKernelNVX( const( VkCuLaunchInfoNVX )* pLaunchInfo ) { vkCmdCuLaunchKernelNVX( commandBuffer, pLaunchInfo ); } 821 822 // VK_NVX_image_view_handle 823 uint32_t GetImageViewHandleNVX( const( VkImageViewHandleInfoNVX )* pInfo ) { return vkGetImageViewHandleNVX( vkDevice, pInfo ); } 824 VkResult GetImageViewAddressNVX( VkImageView imageView, VkImageViewAddressPropertiesNVX* pProperties ) { return vkGetImageViewAddressNVX( vkDevice, imageView, pProperties ); } 825 826 // VK_AMD_shader_info 827 VkResult GetShaderInfoAMD( VkPipeline pipeline, VkShaderStageFlagBits shaderStage, VkShaderInfoTypeAMD infoType, size_t* pInfoSize, void* pInfo ) { return vkGetShaderInfoAMD( vkDevice, pipeline, shaderStage, infoType, pInfoSize, pInfo ); } 828 829 // VK_EXT_conditional_rendering 830 void CmdBeginConditionalRenderingEXT( const( VkConditionalRenderingBeginInfoEXT )* pConditionalRenderingBegin ) { vkCmdBeginConditionalRenderingEXT( commandBuffer, pConditionalRenderingBegin ); } 831 void CmdEndConditionalRenderingEXT() { vkCmdEndConditionalRenderingEXT( commandBuffer ); } 832 833 // VK_NV_clip_space_w_scaling 834 void CmdSetViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, const( VkViewportWScalingNV )* pViewportWScalings ) { vkCmdSetViewportWScalingNV( commandBuffer, firstViewport, viewportCount, pViewportWScalings ); } 835 836 // VK_EXT_display_control 837 VkResult DisplayPowerControlEXT( VkDisplayKHR display, const( VkDisplayPowerInfoEXT )* pDisplayPowerInfo ) { return vkDisplayPowerControlEXT( vkDevice, display, pDisplayPowerInfo ); } 838 VkResult RegisterDeviceEventEXT( const( VkDeviceEventInfoEXT )* pDeviceEventInfo, VkFence* pFence ) { return vkRegisterDeviceEventEXT( vkDevice, pDeviceEventInfo, pAllocator, pFence ); } 839 VkResult RegisterDisplayEventEXT( VkDisplayKHR display, const( VkDisplayEventInfoEXT )* pDisplayEventInfo, VkFence* pFence ) { return vkRegisterDisplayEventEXT( vkDevice, display, pDisplayEventInfo, pAllocator, pFence ); } 840 VkResult GetSwapchainCounterEXT( VkSwapchainKHR swapchain, VkSurfaceCounterFlagBitsEXT counter, uint64_t* pCounterValue ) { return vkGetSwapchainCounterEXT( vkDevice, swapchain, counter, pCounterValue ); } 841 842 // VK_GOOGLE_display_timing 843 VkResult GetRefreshCycleDurationGOOGLE( VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties ) { return vkGetRefreshCycleDurationGOOGLE( vkDevice, swapchain, pDisplayTimingProperties ); } 844 VkResult GetPastPresentationTimingGOOGLE( VkSwapchainKHR swapchain, uint32_t* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings ) { return vkGetPastPresentationTimingGOOGLE( vkDevice, swapchain, pPresentationTimingCount, pPresentationTimings ); } 845 846 // VK_EXT_discard_rectangles 847 void CmdSetDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, const( VkRect2D )* pDiscardRectangles ) { vkCmdSetDiscardRectangleEXT( commandBuffer, firstDiscardRectangle, discardRectangleCount, pDiscardRectangles ); } 848 849 // VK_EXT_hdr_metadata 850 void SetHdrMetadataEXT( uint32_t swapchainCount, const( VkSwapchainKHR )* pSwapchains, const( VkHdrMetadataEXT )* pMetadata ) { vkSetHdrMetadataEXT( vkDevice, swapchainCount, pSwapchains, pMetadata ); } 851 852 // VK_EXT_debug_utils 853 VkResult SetDebugUtilsObjectNameEXT( const( VkDebugUtilsObjectNameInfoEXT )* pNameInfo ) { return vkSetDebugUtilsObjectNameEXT( vkDevice, pNameInfo ); } 854 VkResult SetDebugUtilsObjectTagEXT( const( VkDebugUtilsObjectTagInfoEXT )* pTagInfo ) { return vkSetDebugUtilsObjectTagEXT( vkDevice, pTagInfo ); } 855 void CmdBeginDebugUtilsLabelEXT( const( VkDebugUtilsLabelEXT )* pLabelInfo ) { vkCmdBeginDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); } 856 void CmdEndDebugUtilsLabelEXT() { vkCmdEndDebugUtilsLabelEXT( commandBuffer ); } 857 void CmdInsertDebugUtilsLabelEXT( const( VkDebugUtilsLabelEXT )* pLabelInfo ) { vkCmdInsertDebugUtilsLabelEXT( commandBuffer, pLabelInfo ); } 858 859 // VK_EXT_sample_locations 860 void CmdSetSampleLocationsEXT( const( VkSampleLocationsInfoEXT )* pSampleLocationsInfo ) { vkCmdSetSampleLocationsEXT( commandBuffer, pSampleLocationsInfo ); } 861 862 // VK_EXT_image_drm_format_modifier 863 VkResult GetImageDrmFormatModifierPropertiesEXT( VkImage image, VkImageDrmFormatModifierPropertiesEXT* pProperties ) { return vkGetImageDrmFormatModifierPropertiesEXT( vkDevice, image, pProperties ); } 864 865 // VK_EXT_validation_cache 866 VkResult CreateValidationCacheEXT( const( VkValidationCacheCreateInfoEXT )* pCreateInfo, VkValidationCacheEXT* pValidationCache ) { return vkCreateValidationCacheEXT( vkDevice, pCreateInfo, pAllocator, pValidationCache ); } 867 void DestroyValidationCacheEXT( VkValidationCacheEXT validationCache ) { vkDestroyValidationCacheEXT( vkDevice, validationCache, pAllocator ); } 868 VkResult MergeValidationCachesEXT( VkValidationCacheEXT dstCache, uint32_t srcCacheCount, const( VkValidationCacheEXT )* pSrcCaches ) { return vkMergeValidationCachesEXT( vkDevice, dstCache, srcCacheCount, pSrcCaches ); } 869 VkResult GetValidationCacheDataEXT( VkValidationCacheEXT validationCache, size_t* pDataSize, void* pData ) { return vkGetValidationCacheDataEXT( vkDevice, validationCache, pDataSize, pData ); } 870 871 // VK_NV_shading_rate_image 872 void CmdBindShadingRateImageNV( VkImageView imageView, VkImageLayout imageLayout ) { vkCmdBindShadingRateImageNV( commandBuffer, imageView, imageLayout ); } 873 void CmdSetViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, const( VkShadingRatePaletteNV )* pShadingRatePalettes ) { vkCmdSetViewportShadingRatePaletteNV( commandBuffer, firstViewport, viewportCount, pShadingRatePalettes ); } 874 void CmdSetCoarseSampleOrderNV( VkCoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, const( VkCoarseSampleOrderCustomNV )* pCustomSampleOrders ) { vkCmdSetCoarseSampleOrderNV( commandBuffer, sampleOrderType, customSampleOrderCount, pCustomSampleOrders ); } 875 876 // VK_NV_ray_tracing 877 VkResult CreateAccelerationStructureNV( const( VkAccelerationStructureCreateInfoNV )* pCreateInfo, VkAccelerationStructureNV* pAccelerationStructure ) { return vkCreateAccelerationStructureNV( vkDevice, pCreateInfo, pAllocator, pAccelerationStructure ); } 878 void DestroyAccelerationStructureNV( VkAccelerationStructureNV accelerationStructure ) { vkDestroyAccelerationStructureNV( vkDevice, accelerationStructure, pAllocator ); } 879 void GetAccelerationStructureMemoryRequirementsNV( const( VkAccelerationStructureMemoryRequirementsInfoNV )* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements ) { vkGetAccelerationStructureMemoryRequirementsNV( vkDevice, pInfo, pMemoryRequirements ); } 880 VkResult BindAccelerationStructureMemoryNV( uint32_t bindInfoCount, const( VkBindAccelerationStructureMemoryInfoNV )* pBindInfos ) { return vkBindAccelerationStructureMemoryNV( vkDevice, bindInfoCount, pBindInfos ); } 881 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 ); } 882 void CmdCopyAccelerationStructureNV( VkAccelerationStructureNV dst, VkAccelerationStructureNV src, VkCopyAccelerationStructureModeKHR mode ) { vkCmdCopyAccelerationStructureNV( commandBuffer, dst, src, mode ); } 883 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 ); } 884 VkResult CreateRayTracingPipelinesNV( VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkRayTracingPipelineCreateInfoNV )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateRayTracingPipelinesNV( vkDevice, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 885 VkResult GetRayTracingShaderGroupHandlesKHR( VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) { return vkGetRayTracingShaderGroupHandlesKHR( vkDevice, pipeline, firstGroup, groupCount, dataSize, pData ); } 886 VkResult GetAccelerationStructureHandleNV( VkAccelerationStructureNV accelerationStructure, size_t dataSize, void* pData ) { return vkGetAccelerationStructureHandleNV( vkDevice, accelerationStructure, dataSize, pData ); } 887 void CmdWriteAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, const( VkAccelerationStructureNV )* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) { vkCmdWriteAccelerationStructuresPropertiesNV( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); } 888 VkResult CompileDeferredNV( VkPipeline pipeline, uint32_t shader ) { return vkCompileDeferredNV( vkDevice, pipeline, shader ); } 889 890 // VK_EXT_external_memory_host 891 VkResult GetMemoryHostPointerPropertiesEXT( VkExternalMemoryHandleTypeFlagBits handleType, const( void )* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) { return vkGetMemoryHostPointerPropertiesEXT( vkDevice, handleType, pHostPointer, pMemoryHostPointerProperties ); } 892 893 // VK_AMD_buffer_marker 894 void CmdWriteBufferMarkerAMD( VkPipelineStageFlagBits pipelineStage, VkBuffer dstBuffer, VkDeviceSize dstOffset, uint32_t marker ) { vkCmdWriteBufferMarkerAMD( commandBuffer, pipelineStage, dstBuffer, dstOffset, marker ); } 895 896 // VK_EXT_calibrated_timestamps 897 VkResult GetCalibratedTimestampsEXT( uint32_t timestampCount, const( VkCalibratedTimestampInfoEXT )* pTimestampInfos, uint64_t* pTimestamps, uint64_t* pMaxDeviation ) { return vkGetCalibratedTimestampsEXT( vkDevice, timestampCount, pTimestampInfos, pTimestamps, pMaxDeviation ); } 898 899 // VK_NV_mesh_shader 900 void CmdDrawMeshTasksNV( uint32_t taskCount, uint32_t firstTask ) { vkCmdDrawMeshTasksNV( commandBuffer, taskCount, firstTask ); } 901 void CmdDrawMeshTasksIndirectNV( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectNV( commandBuffer, buffer, offset, drawCount, stride ); } 902 void CmdDrawMeshTasksIndirectCountNV( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectCountNV( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 903 904 // VK_NV_scissor_exclusive 905 void CmdSetExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, const( VkRect2D )* pExclusiveScissors ) { vkCmdSetExclusiveScissorNV( commandBuffer, firstExclusiveScissor, exclusiveScissorCount, pExclusiveScissors ); } 906 907 // VK_NV_device_diagnostic_checkpoints 908 void CmdSetCheckpointNV( const( void )* pCheckpointMarker ) { vkCmdSetCheckpointNV( commandBuffer, pCheckpointMarker ); } 909 910 // VK_INTEL_performance_query 911 VkResult InitializePerformanceApiINTEL( const( VkInitializePerformanceApiInfoINTEL )* pInitializeInfo ) { return vkInitializePerformanceApiINTEL( vkDevice, pInitializeInfo ); } 912 void UninitializePerformanceApiINTEL() { vkUninitializePerformanceApiINTEL( vkDevice ); } 913 VkResult CmdSetPerformanceMarkerINTEL( const( VkPerformanceMarkerInfoINTEL )* pMarkerInfo ) { return vkCmdSetPerformanceMarkerINTEL( commandBuffer, pMarkerInfo ); } 914 VkResult CmdSetPerformanceStreamMarkerINTEL( const( VkPerformanceStreamMarkerInfoINTEL )* pMarkerInfo ) { return vkCmdSetPerformanceStreamMarkerINTEL( commandBuffer, pMarkerInfo ); } 915 VkResult CmdSetPerformanceOverrideINTEL( const( VkPerformanceOverrideInfoINTEL )* pOverrideInfo ) { return vkCmdSetPerformanceOverrideINTEL( commandBuffer, pOverrideInfo ); } 916 VkResult AcquirePerformanceConfigurationINTEL( const( VkPerformanceConfigurationAcquireInfoINTEL )* pAcquireInfo, VkPerformanceConfigurationINTEL* pConfiguration ) { return vkAcquirePerformanceConfigurationINTEL( vkDevice, pAcquireInfo, pConfiguration ); } 917 VkResult ReleasePerformanceConfigurationINTEL( VkPerformanceConfigurationINTEL configuration ) { return vkReleasePerformanceConfigurationINTEL( vkDevice, configuration ); } 918 VkResult GetPerformanceParameterINTEL( VkPerformanceParameterTypeINTEL parameter, VkPerformanceValueINTEL* pValue ) { return vkGetPerformanceParameterINTEL( vkDevice, parameter, pValue ); } 919 920 // VK_AMD_display_native_hdr 921 void SetLocalDimmingAMD( VkSwapchainKHR swapChain, VkBool32 localDimmingEnable ) { vkSetLocalDimmingAMD( vkDevice, swapChain, localDimmingEnable ); } 922 923 // VK_EXT_line_rasterization 924 void CmdSetLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) { vkCmdSetLineStippleEXT( commandBuffer, lineStippleFactor, lineStipplePattern ); } 925 926 // VK_NV_device_generated_commands 927 void GetGeneratedCommandsMemoryRequirementsNV( const( VkGeneratedCommandsMemoryRequirementsInfoNV )* pInfo, VkMemoryRequirements2* pMemoryRequirements ) { vkGetGeneratedCommandsMemoryRequirementsNV( vkDevice, pInfo, pMemoryRequirements ); } 928 void CmdPreprocessGeneratedCommandsNV( const( VkGeneratedCommandsInfoNV )* pGeneratedCommandsInfo ) { vkCmdPreprocessGeneratedCommandsNV( commandBuffer, pGeneratedCommandsInfo ); } 929 void CmdExecuteGeneratedCommandsNV( VkBool32 isPreprocessed, const( VkGeneratedCommandsInfoNV )* pGeneratedCommandsInfo ) { vkCmdExecuteGeneratedCommandsNV( commandBuffer, isPreprocessed, pGeneratedCommandsInfo ); } 930 void CmdBindPipelineShaderGroupNV( VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline, uint32_t groupIndex ) { vkCmdBindPipelineShaderGroupNV( commandBuffer, pipelineBindPoint, pipeline, groupIndex ); } 931 VkResult CreateIndirectCommandsLayoutNV( const( VkIndirectCommandsLayoutCreateInfoNV )* pCreateInfo, VkIndirectCommandsLayoutNV* pIndirectCommandsLayout ) { return vkCreateIndirectCommandsLayoutNV( vkDevice, pCreateInfo, pAllocator, pIndirectCommandsLayout ); } 932 void DestroyIndirectCommandsLayoutNV( VkIndirectCommandsLayoutNV indirectCommandsLayout ) { vkDestroyIndirectCommandsLayoutNV( vkDevice, indirectCommandsLayout, pAllocator ); } 933 934 // VK_NV_fragment_shading_rate_enums 935 void CmdSetFragmentShadingRateEnumNV( VkFragmentShadingRateNV shadingRate, const VkFragmentShadingRateCombinerOpKHR[2] combinerOps ) { vkCmdSetFragmentShadingRateEnumNV( commandBuffer, shadingRate, combinerOps ); } 936 937 // VK_EXT_image_compression_control 938 void GetImageSubresourceLayout2EXT( VkImage image, const( VkImageSubresource2EXT )* pSubresource, VkSubresourceLayout2EXT* pLayout ) { vkGetImageSubresourceLayout2EXT( vkDevice, image, pSubresource, pLayout ); } 939 940 // VK_EXT_vertex_input_dynamic_state 941 void CmdSetVertexInputEXT( uint32_t vertexBindingDescriptionCount, const( VkVertexInputBindingDescription2EXT )* pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, const( VkVertexInputAttributeDescription2EXT )* pVertexAttributeDescriptions ) { vkCmdSetVertexInputEXT( commandBuffer, vertexBindingDescriptionCount, pVertexBindingDescriptions, vertexAttributeDescriptionCount, pVertexAttributeDescriptions ); } 942 943 // VK_HUAWEI_subpass_shading 944 VkResult GetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( VkRenderPass renderpass, VkExtent2D* pMaxWorkgroupSize ) { return vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( vkDevice, renderpass, pMaxWorkgroupSize ); } 945 void CmdSubpassShadingHUAWEI() { vkCmdSubpassShadingHUAWEI( commandBuffer ); } 946 947 // VK_HUAWEI_invocation_mask 948 void CmdBindInvocationMaskHUAWEI( VkImageView imageView, VkImageLayout imageLayout ) { vkCmdBindInvocationMaskHUAWEI( commandBuffer, imageView, imageLayout ); } 949 950 // VK_NV_external_memory_rdma 951 VkResult GetMemoryRemoteAddressNV( const( VkMemoryGetRemoteAddressInfoNV )* pMemoryGetRemoteAddressInfo, VkRemoteAddressNV* pAddress ) { return vkGetMemoryRemoteAddressNV( vkDevice, pMemoryGetRemoteAddressInfo, pAddress ); } 952 953 // VK_EXT_pipeline_properties 954 VkResult GetPipelinePropertiesEXT( const( VkPipelineInfoEXT )* pPipelineInfo, VkBaseOutStructure* pPipelineProperties ) { return vkGetPipelinePropertiesEXT( vkDevice, pPipelineInfo, pPipelineProperties ); } 955 956 // VK_EXT_extended_dynamic_state2 957 void CmdSetPatchControlPointsEXT( uint32_t patchControlPoints ) { vkCmdSetPatchControlPointsEXT( commandBuffer, patchControlPoints ); } 958 void CmdSetLogicOpEXT( VkLogicOp logicOp ) { vkCmdSetLogicOpEXT( commandBuffer, logicOp ); } 959 960 // VK_EXT_color_write_enable 961 void CmdSetColorWriteEnableEXT( uint32_t attachmentCount, const( VkBool32 )* pColorWriteEnables ) { vkCmdSetColorWriteEnableEXT( commandBuffer, attachmentCount, pColorWriteEnables ); } 962 963 // VK_EXT_multi_draw 964 void CmdDrawMultiEXT( uint32_t drawCount, const( VkMultiDrawInfoEXT )* pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride ) { vkCmdDrawMultiEXT( commandBuffer, drawCount, pVertexInfo, instanceCount, firstInstance, stride ); } 965 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 ); } 966 967 // VK_EXT_pageable_device_local_memory 968 void SetDeviceMemoryPriorityEXT( VkDeviceMemory memory, float priority ) { vkSetDeviceMemoryPriorityEXT( vkDevice, memory, priority ); } 969 970 // VK_VALVE_descriptor_set_host_mapping 971 void GetDescriptorSetLayoutHostMappingInfoVALVE( const( VkDescriptorSetBindingReferenceVALVE )* pBindingReference, VkDescriptorSetLayoutHostMappingInfoVALVE* pHostMapping ) { vkGetDescriptorSetLayoutHostMappingInfoVALVE( vkDevice, pBindingReference, pHostMapping ); } 972 void GetDescriptorSetHostMappingVALVE( VkDescriptorSet descriptorSet, void** ppData ) { vkGetDescriptorSetHostMappingVALVE( vkDevice, descriptorSet, ppData ); } 973 974 // VK_EXT_shader_module_identifier 975 void GetShaderModuleIdentifierEXT( VkShaderModule shaderModule, VkShaderModuleIdentifierEXT* pIdentifier ) { vkGetShaderModuleIdentifierEXT( vkDevice, shaderModule, pIdentifier ); } 976 void GetShaderModuleCreateInfoIdentifierEXT( const( VkShaderModuleCreateInfo )* pCreateInfo, VkShaderModuleIdentifierEXT* pIdentifier ) { vkGetShaderModuleCreateInfoIdentifierEXT( vkDevice, pCreateInfo, pIdentifier ); } 977 978 // VK_QCOM_tile_properties 979 VkResult GetFramebufferTilePropertiesQCOM( VkFramebuffer framebuffer, uint32_t* pPropertiesCount, VkTilePropertiesQCOM* pProperties ) { return vkGetFramebufferTilePropertiesQCOM( vkDevice, framebuffer, pPropertiesCount, pProperties ); } 980 VkResult GetDynamicRenderingTilePropertiesQCOM( const( VkRenderingInfo )* pRenderingInfo, VkTilePropertiesQCOM* pProperties ) { return vkGetDynamicRenderingTilePropertiesQCOM( vkDevice, pRenderingInfo, pProperties ); } 981 982 // VK_KHR_acceleration_structure 983 VkResult CreateAccelerationStructureKHR( const( VkAccelerationStructureCreateInfoKHR )* pCreateInfo, VkAccelerationStructureKHR* pAccelerationStructure ) { return vkCreateAccelerationStructureKHR( vkDevice, pCreateInfo, pAllocator, pAccelerationStructure ); } 984 void DestroyAccelerationStructureKHR( VkAccelerationStructureKHR accelerationStructure ) { vkDestroyAccelerationStructureKHR( vkDevice, accelerationStructure, pAllocator ); } 985 void CmdBuildAccelerationStructuresKHR( uint32_t infoCount, const( VkAccelerationStructureBuildGeometryInfoKHR )* pInfos, const( VkAccelerationStructureBuildRangeInfoKHR* )* ppBuildRangeInfos ) { vkCmdBuildAccelerationStructuresKHR( commandBuffer, infoCount, pInfos, ppBuildRangeInfos ); } 986 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 ); } 987 VkResult BuildAccelerationStructuresKHR( VkDeferredOperationKHR deferredOperation, uint32_t infoCount, const( VkAccelerationStructureBuildGeometryInfoKHR )* pInfos, const( VkAccelerationStructureBuildRangeInfoKHR* )* ppBuildRangeInfos ) { return vkBuildAccelerationStructuresKHR( vkDevice, deferredOperation, infoCount, pInfos, ppBuildRangeInfos ); } 988 VkResult CopyAccelerationStructureKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyAccelerationStructureInfoKHR )* pInfo ) { return vkCopyAccelerationStructureKHR( vkDevice, deferredOperation, pInfo ); } 989 VkResult CopyAccelerationStructureToMemoryKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyAccelerationStructureToMemoryInfoKHR )* pInfo ) { return vkCopyAccelerationStructureToMemoryKHR( vkDevice, deferredOperation, pInfo ); } 990 VkResult CopyMemoryToAccelerationStructureKHR( VkDeferredOperationKHR deferredOperation, const( VkCopyMemoryToAccelerationStructureInfoKHR )* pInfo ) { return vkCopyMemoryToAccelerationStructureKHR( vkDevice, deferredOperation, pInfo ); } 991 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 ); } 992 void CmdCopyAccelerationStructureKHR( const( VkCopyAccelerationStructureInfoKHR )* pInfo ) { vkCmdCopyAccelerationStructureKHR( commandBuffer, pInfo ); } 993 void CmdCopyAccelerationStructureToMemoryKHR( const( VkCopyAccelerationStructureToMemoryInfoKHR )* pInfo ) { vkCmdCopyAccelerationStructureToMemoryKHR( commandBuffer, pInfo ); } 994 void CmdCopyMemoryToAccelerationStructureKHR( const( VkCopyMemoryToAccelerationStructureInfoKHR )* pInfo ) { vkCmdCopyMemoryToAccelerationStructureKHR( commandBuffer, pInfo ); } 995 VkDeviceAddress GetAccelerationStructureDeviceAddressKHR( const( VkAccelerationStructureDeviceAddressInfoKHR )* pInfo ) { return vkGetAccelerationStructureDeviceAddressKHR( vkDevice, pInfo ); } 996 void CmdWriteAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, const( VkAccelerationStructureKHR )* pAccelerationStructures, VkQueryType queryType, VkQueryPool queryPool, uint32_t firstQuery ) { vkCmdWriteAccelerationStructuresPropertiesKHR( commandBuffer, accelerationStructureCount, pAccelerationStructures, queryType, queryPool, firstQuery ); } 997 void GetDeviceAccelerationStructureCompatibilityKHR( const( VkAccelerationStructureVersionInfoKHR )* pVersionInfo, VkAccelerationStructureCompatibilityKHR* pCompatibility ) { vkGetDeviceAccelerationStructureCompatibilityKHR( vkDevice, pVersionInfo, pCompatibility ); } 998 void GetAccelerationStructureBuildSizesKHR( VkAccelerationStructureBuildTypeKHR buildType, const( VkAccelerationStructureBuildGeometryInfoKHR )* pBuildInfo, const( uint32_t )* pMaxPrimitiveCounts, VkAccelerationStructureBuildSizesInfoKHR* pSizeInfo ) { vkGetAccelerationStructureBuildSizesKHR( vkDevice, buildType, pBuildInfo, pMaxPrimitiveCounts, pSizeInfo ); } 999 1000 // VK_KHR_ray_tracing_pipeline 1001 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 ); } 1002 VkResult CreateRayTracingPipelinesKHR( VkDeferredOperationKHR deferredOperation, VkPipelineCache pipelineCache, uint32_t createInfoCount, const( VkRayTracingPipelineCreateInfoKHR )* pCreateInfos, VkPipeline* pPipelines ) { return vkCreateRayTracingPipelinesKHR( vkDevice, deferredOperation, pipelineCache, createInfoCount, pCreateInfos, pAllocator, pPipelines ); } 1003 VkResult GetRayTracingCaptureReplayShaderGroupHandlesKHR( VkPipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void* pData ) { return vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( vkDevice, pipeline, firstGroup, groupCount, dataSize, pData ); } 1004 void CmdTraceRaysIndirectKHR( const( VkStridedDeviceAddressRegionKHR )* pRaygenShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pMissShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pHitShaderBindingTable, const( VkStridedDeviceAddressRegionKHR )* pCallableShaderBindingTable, VkDeviceAddress indirectDeviceAddress ) { vkCmdTraceRaysIndirectKHR( commandBuffer, pRaygenShaderBindingTable, pMissShaderBindingTable, pHitShaderBindingTable, pCallableShaderBindingTable, indirectDeviceAddress ); } 1005 VkDeviceSize GetRayTracingShaderGroupStackSizeKHR( VkPipeline pipeline, uint32_t group, VkShaderGroupShaderKHR groupShader ) { return vkGetRayTracingShaderGroupStackSizeKHR( vkDevice, pipeline, group, groupShader ); } 1006 void CmdSetRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize ) { vkCmdSetRayTracingPipelineStackSizeKHR( commandBuffer, pipelineStackSize ); } 1007 1008 // VK_EXT_mesh_shader 1009 void CmdDrawMeshTasksEXT( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) { vkCmdDrawMeshTasksEXT( commandBuffer, groupCountX, groupCountY, groupCountZ ); } 1010 void CmdDrawMeshTasksIndirectEXT( VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectEXT( commandBuffer, buffer, offset, drawCount, stride ); } 1011 void CmdDrawMeshTasksIndirectCountEXT( VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride ) { vkCmdDrawMeshTasksIndirectCountEXT( commandBuffer, buffer, offset, countBuffer, countBufferOffset, maxDrawCount, stride ); } 1012 1013 // VK_KHR_dynamic_rendering 1014 alias CmdBeginRenderingKHR = CmdBeginRendering; 1015 alias CmdEndRenderingKHR = CmdEndRendering; 1016 1017 // VK_KHR_device_group 1018 alias GetDeviceGroupPeerMemoryFeaturesKHR = GetDeviceGroupPeerMemoryFeatures; 1019 alias CmdSetDeviceMaskKHR = CmdSetDeviceMask; 1020 alias CmdDispatchBaseKHR = CmdDispatchBase; 1021 1022 // VK_KHR_maintenance1 1023 alias TrimCommandPoolKHR = TrimCommandPool; 1024 1025 // VK_KHR_descriptor_update_template 1026 alias CreateDescriptorUpdateTemplateKHR = CreateDescriptorUpdateTemplate; 1027 alias DestroyDescriptorUpdateTemplateKHR = DestroyDescriptorUpdateTemplate; 1028 alias UpdateDescriptorSetWithTemplateKHR = UpdateDescriptorSetWithTemplate; 1029 1030 // VK_KHR_create_renderpass2 1031 alias CreateRenderPass2KHR = CreateRenderPass2; 1032 alias CmdBeginRenderPass2KHR = CmdBeginRenderPass2; 1033 alias CmdNextSubpass2KHR = CmdNextSubpass2; 1034 alias CmdEndRenderPass2KHR = CmdEndRenderPass2; 1035 1036 // VK_KHR_get_memory_requirements2 1037 alias GetImageMemoryRequirements2KHR = GetImageMemoryRequirements2; 1038 alias GetBufferMemoryRequirements2KHR = GetBufferMemoryRequirements2; 1039 alias GetImageSparseMemoryRequirements2KHR = GetImageSparseMemoryRequirements2; 1040 1041 // VK_KHR_sampler_ycbcr_conversion 1042 alias CreateSamplerYcbcrConversionKHR = CreateSamplerYcbcrConversion; 1043 alias DestroySamplerYcbcrConversionKHR = DestroySamplerYcbcrConversion; 1044 1045 // VK_KHR_bind_memory2 1046 alias BindBufferMemory2KHR = BindBufferMemory2; 1047 alias BindImageMemory2KHR = BindImageMemory2; 1048 1049 // VK_KHR_maintenance3 1050 alias GetDescriptorSetLayoutSupportKHR = GetDescriptorSetLayoutSupport; 1051 1052 // VK_KHR_draw_indirect_count 1053 alias CmdDrawIndirectCountKHR = CmdDrawIndirectCount; 1054 alias CmdDrawIndexedIndirectCountKHR = CmdDrawIndexedIndirectCount; 1055 1056 // VK_KHR_timeline_semaphore 1057 alias GetSemaphoreCounterValueKHR = GetSemaphoreCounterValue; 1058 alias WaitSemaphoresKHR = WaitSemaphores; 1059 alias SignalSemaphoreKHR = SignalSemaphore; 1060 1061 // VK_KHR_buffer_device_address 1062 alias GetBufferDeviceAddressKHR = GetBufferDeviceAddress; 1063 alias GetBufferOpaqueCaptureAddressKHR = GetBufferOpaqueCaptureAddress; 1064 alias GetDeviceMemoryOpaqueCaptureAddressKHR = GetDeviceMemoryOpaqueCaptureAddress; 1065 1066 // VK_KHR_synchronization2 1067 alias CmdSetEvent2KHR = CmdSetEvent2; 1068 alias CmdResetEvent2KHR = CmdResetEvent2; 1069 alias CmdWaitEvents2KHR = CmdWaitEvents2; 1070 alias CmdPipelineBarrier2KHR = CmdPipelineBarrier2; 1071 alias CmdWriteTimestamp2KHR = CmdWriteTimestamp2; 1072 1073 // VK_KHR_copy_commands2 1074 alias CmdCopyBuffer2KHR = CmdCopyBuffer2; 1075 alias CmdCopyImage2KHR = CmdCopyImage2; 1076 alias CmdCopyBufferToImage2KHR = CmdCopyBufferToImage2; 1077 alias CmdCopyImageToBuffer2KHR = CmdCopyImageToBuffer2; 1078 alias CmdBlitImage2KHR = CmdBlitImage2; 1079 alias CmdResolveImage2KHR = CmdResolveImage2; 1080 1081 // VK_KHR_maintenance4 1082 alias GetDeviceBufferMemoryRequirementsKHR = GetDeviceBufferMemoryRequirements; 1083 alias GetDeviceImageMemoryRequirementsKHR = GetDeviceImageMemoryRequirements; 1084 alias GetDeviceImageSparseMemoryRequirementsKHR = GetDeviceImageSparseMemoryRequirements; 1085 1086 // VK_AMD_draw_indirect_count 1087 alias CmdDrawIndirectCountAMD = CmdDrawIndirectCount; 1088 alias CmdDrawIndexedIndirectCountAMD = CmdDrawIndexedIndirectCount; 1089 1090 // VK_NV_ray_tracing 1091 alias GetRayTracingShaderGroupHandlesNV = GetRayTracingShaderGroupHandlesKHR; 1092 1093 // VK_EXT_buffer_device_address 1094 alias GetBufferDeviceAddressEXT = GetBufferDeviceAddress; 1095 1096 // VK_EXT_host_query_reset 1097 alias ResetQueryPoolEXT = ResetQueryPool; 1098 1099 // VK_EXT_extended_dynamic_state 1100 alias CmdSetCullModeEXT = CmdSetCullMode; 1101 alias CmdSetFrontFaceEXT = CmdSetFrontFace; 1102 alias CmdSetPrimitiveTopologyEXT = CmdSetPrimitiveTopology; 1103 alias CmdSetViewportWithCountEXT = CmdSetViewportWithCount; 1104 alias CmdSetScissorWithCountEXT = CmdSetScissorWithCount; 1105 alias CmdBindVertexBuffers2EXT = CmdBindVertexBuffers2; 1106 alias CmdSetDepthTestEnableEXT = CmdSetDepthTestEnable; 1107 alias CmdSetDepthWriteEnableEXT = CmdSetDepthWriteEnable; 1108 alias CmdSetDepthCompareOpEXT = CmdSetDepthCompareOp; 1109 alias CmdSetDepthBoundsTestEnableEXT = CmdSetDepthBoundsTestEnable; 1110 alias CmdSetStencilTestEnableEXT = CmdSetStencilTestEnable; 1111 alias CmdSetStencilOpEXT = CmdSetStencilOp; 1112 1113 // VK_EXT_private_data 1114 alias CreatePrivateDataSlotEXT = CreatePrivateDataSlot; 1115 alias DestroyPrivateDataSlotEXT = DestroyPrivateDataSlot; 1116 alias SetPrivateDataEXT = SetPrivateData; 1117 alias GetPrivateDataEXT = GetPrivateData; 1118 1119 // VK_EXT_extended_dynamic_state2 1120 alias CmdSetRasterizerDiscardEnableEXT = CmdSetRasterizerDiscardEnable; 1121 alias CmdSetDepthBiasEnableEXT = CmdSetDepthBiasEnable; 1122 alias CmdSetPrimitiveRestartEnableEXT = CmdSetPrimitiveRestartEnable; 1123 1124 1125 /// member function pointer decelerations 1126 1127 // VK_VERSION_1_0 1128 PFN_vkDestroyDevice vkDestroyDevice; 1129 PFN_vkGetDeviceQueue vkGetDeviceQueue; 1130 PFN_vkQueueSubmit vkQueueSubmit; 1131 PFN_vkQueueWaitIdle vkQueueWaitIdle; 1132 PFN_vkDeviceWaitIdle vkDeviceWaitIdle; 1133 PFN_vkAllocateMemory vkAllocateMemory; 1134 PFN_vkFreeMemory vkFreeMemory; 1135 PFN_vkMapMemory vkMapMemory; 1136 PFN_vkUnmapMemory vkUnmapMemory; 1137 PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges; 1138 PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges; 1139 PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment; 1140 PFN_vkBindBufferMemory vkBindBufferMemory; 1141 PFN_vkBindImageMemory vkBindImageMemory; 1142 PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements; 1143 PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements; 1144 PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements; 1145 PFN_vkQueueBindSparse vkQueueBindSparse; 1146 PFN_vkCreateFence vkCreateFence; 1147 PFN_vkDestroyFence vkDestroyFence; 1148 PFN_vkResetFences vkResetFences; 1149 PFN_vkGetFenceStatus vkGetFenceStatus; 1150 PFN_vkWaitForFences vkWaitForFences; 1151 PFN_vkCreateSemaphore vkCreateSemaphore; 1152 PFN_vkDestroySemaphore vkDestroySemaphore; 1153 PFN_vkCreateEvent vkCreateEvent; 1154 PFN_vkDestroyEvent vkDestroyEvent; 1155 PFN_vkGetEventStatus vkGetEventStatus; 1156 PFN_vkSetEvent vkSetEvent; 1157 PFN_vkResetEvent vkResetEvent; 1158 PFN_vkCreateQueryPool vkCreateQueryPool; 1159 PFN_vkDestroyQueryPool vkDestroyQueryPool; 1160 PFN_vkGetQueryPoolResults vkGetQueryPoolResults; 1161 PFN_vkCreateBuffer vkCreateBuffer; 1162 PFN_vkDestroyBuffer vkDestroyBuffer; 1163 PFN_vkCreateBufferView vkCreateBufferView; 1164 PFN_vkDestroyBufferView vkDestroyBufferView; 1165 PFN_vkCreateImage vkCreateImage; 1166 PFN_vkDestroyImage vkDestroyImage; 1167 PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout; 1168 PFN_vkCreateImageView vkCreateImageView; 1169 PFN_vkDestroyImageView vkDestroyImageView; 1170 PFN_vkCreateShaderModule vkCreateShaderModule; 1171 PFN_vkDestroyShaderModule vkDestroyShaderModule; 1172 PFN_vkCreatePipelineCache vkCreatePipelineCache; 1173 PFN_vkDestroyPipelineCache vkDestroyPipelineCache; 1174 PFN_vkGetPipelineCacheData vkGetPipelineCacheData; 1175 PFN_vkMergePipelineCaches vkMergePipelineCaches; 1176 PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines; 1177 PFN_vkCreateComputePipelines vkCreateComputePipelines; 1178 PFN_vkDestroyPipeline vkDestroyPipeline; 1179 PFN_vkCreatePipelineLayout vkCreatePipelineLayout; 1180 PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout; 1181 PFN_vkCreateSampler vkCreateSampler; 1182 PFN_vkDestroySampler vkDestroySampler; 1183 PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout; 1184 PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout; 1185 PFN_vkCreateDescriptorPool vkCreateDescriptorPool; 1186 PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool; 1187 PFN_vkResetDescriptorPool vkResetDescriptorPool; 1188 PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets; 1189 PFN_vkFreeDescriptorSets vkFreeDescriptorSets; 1190 PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets; 1191 PFN_vkCreateFramebuffer vkCreateFramebuffer; 1192 PFN_vkDestroyFramebuffer vkDestroyFramebuffer; 1193 PFN_vkCreateRenderPass vkCreateRenderPass; 1194 PFN_vkDestroyRenderPass vkDestroyRenderPass; 1195 PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity; 1196 PFN_vkCreateCommandPool vkCreateCommandPool; 1197 PFN_vkDestroyCommandPool vkDestroyCommandPool; 1198 PFN_vkResetCommandPool vkResetCommandPool; 1199 PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers; 1200 PFN_vkFreeCommandBuffers vkFreeCommandBuffers; 1201 PFN_vkBeginCommandBuffer vkBeginCommandBuffer; 1202 PFN_vkEndCommandBuffer vkEndCommandBuffer; 1203 PFN_vkResetCommandBuffer vkResetCommandBuffer; 1204 PFN_vkCmdBindPipeline vkCmdBindPipeline; 1205 PFN_vkCmdSetViewport vkCmdSetViewport; 1206 PFN_vkCmdSetScissor vkCmdSetScissor; 1207 PFN_vkCmdSetLineWidth vkCmdSetLineWidth; 1208 PFN_vkCmdSetDepthBias vkCmdSetDepthBias; 1209 PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants; 1210 PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds; 1211 PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask; 1212 PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask; 1213 PFN_vkCmdSetStencilReference vkCmdSetStencilReference; 1214 PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets; 1215 PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer; 1216 PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers; 1217 PFN_vkCmdDraw vkCmdDraw; 1218 PFN_vkCmdDrawIndexed vkCmdDrawIndexed; 1219 PFN_vkCmdDrawIndirect vkCmdDrawIndirect; 1220 PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect; 1221 PFN_vkCmdDispatch vkCmdDispatch; 1222 PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect; 1223 PFN_vkCmdCopyBuffer vkCmdCopyBuffer; 1224 PFN_vkCmdCopyImage vkCmdCopyImage; 1225 PFN_vkCmdBlitImage vkCmdBlitImage; 1226 PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage; 1227 PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer; 1228 PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer; 1229 PFN_vkCmdFillBuffer vkCmdFillBuffer; 1230 PFN_vkCmdClearColorImage vkCmdClearColorImage; 1231 PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage; 1232 PFN_vkCmdClearAttachments vkCmdClearAttachments; 1233 PFN_vkCmdResolveImage vkCmdResolveImage; 1234 PFN_vkCmdSetEvent vkCmdSetEvent; 1235 PFN_vkCmdResetEvent vkCmdResetEvent; 1236 PFN_vkCmdWaitEvents vkCmdWaitEvents; 1237 PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier; 1238 PFN_vkCmdBeginQuery vkCmdBeginQuery; 1239 PFN_vkCmdEndQuery vkCmdEndQuery; 1240 PFN_vkCmdResetQueryPool vkCmdResetQueryPool; 1241 PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp; 1242 PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults; 1243 PFN_vkCmdPushConstants vkCmdPushConstants; 1244 PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass; 1245 PFN_vkCmdNextSubpass vkCmdNextSubpass; 1246 PFN_vkCmdEndRenderPass vkCmdEndRenderPass; 1247 PFN_vkCmdExecuteCommands vkCmdExecuteCommands; 1248 1249 // VK_VERSION_1_1 1250 PFN_vkBindBufferMemory2 vkBindBufferMemory2; 1251 PFN_vkBindImageMemory2 vkBindImageMemory2; 1252 PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures; 1253 PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask; 1254 PFN_vkCmdDispatchBase vkCmdDispatchBase; 1255 PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2; 1256 PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2; 1257 PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2; 1258 PFN_vkTrimCommandPool vkTrimCommandPool; 1259 PFN_vkGetDeviceQueue2 vkGetDeviceQueue2; 1260 PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion; 1261 PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion; 1262 PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate; 1263 PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate; 1264 PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate; 1265 PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport; 1266 1267 // VK_VERSION_1_2 1268 PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount; 1269 PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount; 1270 PFN_vkCreateRenderPass2 vkCreateRenderPass2; 1271 PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2; 1272 PFN_vkCmdNextSubpass2 vkCmdNextSubpass2; 1273 PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2; 1274 PFN_vkResetQueryPool vkResetQueryPool; 1275 PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue; 1276 PFN_vkWaitSemaphores vkWaitSemaphores; 1277 PFN_vkSignalSemaphore vkSignalSemaphore; 1278 PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress; 1279 PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress; 1280 PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress; 1281 1282 // VK_VERSION_1_3 1283 PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot; 1284 PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot; 1285 PFN_vkSetPrivateData vkSetPrivateData; 1286 PFN_vkGetPrivateData vkGetPrivateData; 1287 PFN_vkCmdSetEvent2 vkCmdSetEvent2; 1288 PFN_vkCmdResetEvent2 vkCmdResetEvent2; 1289 PFN_vkCmdWaitEvents2 vkCmdWaitEvents2; 1290 PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2; 1291 PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2; 1292 PFN_vkQueueSubmit2 vkQueueSubmit2; 1293 PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2; 1294 PFN_vkCmdCopyImage2 vkCmdCopyImage2; 1295 PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2; 1296 PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2; 1297 PFN_vkCmdBlitImage2 vkCmdBlitImage2; 1298 PFN_vkCmdResolveImage2 vkCmdResolveImage2; 1299 PFN_vkCmdBeginRendering vkCmdBeginRendering; 1300 PFN_vkCmdEndRendering vkCmdEndRendering; 1301 PFN_vkCmdSetCullMode vkCmdSetCullMode; 1302 PFN_vkCmdSetFrontFace vkCmdSetFrontFace; 1303 PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology; 1304 PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount; 1305 PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount; 1306 PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2; 1307 PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable; 1308 PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable; 1309 PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp; 1310 PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable; 1311 PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable; 1312 PFN_vkCmdSetStencilOp vkCmdSetStencilOp; 1313 PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable; 1314 PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable; 1315 PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable; 1316 PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements; 1317 PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements; 1318 PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements; 1319 1320 // VK_KHR_swapchain 1321 PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR; 1322 PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR; 1323 PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR; 1324 PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR; 1325 PFN_vkQueuePresentKHR vkQueuePresentKHR; 1326 PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR; 1327 PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR; 1328 PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR; 1329 1330 // VK_KHR_display_swapchain 1331 PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR; 1332 1333 // VK_KHR_external_memory_fd 1334 PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR; 1335 PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR; 1336 1337 // VK_KHR_external_semaphore_fd 1338 PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR; 1339 PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR; 1340 1341 // VK_KHR_push_descriptor 1342 PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR; 1343 PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR; 1344 1345 // VK_KHR_shared_presentable_image 1346 PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR; 1347 1348 // VK_KHR_external_fence_fd 1349 PFN_vkImportFenceFdKHR vkImportFenceFdKHR; 1350 PFN_vkGetFenceFdKHR vkGetFenceFdKHR; 1351 1352 // VK_KHR_performance_query 1353 PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR; 1354 PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR; 1355 1356 // VK_KHR_fragment_shading_rate 1357 PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR; 1358 1359 // VK_KHR_present_wait 1360 PFN_vkWaitForPresentKHR vkWaitForPresentKHR; 1361 1362 // VK_KHR_deferred_host_operations 1363 PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR; 1364 PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR; 1365 PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR; 1366 PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR; 1367 PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR; 1368 1369 // VK_KHR_pipeline_executable_properties 1370 PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR; 1371 PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR; 1372 PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR; 1373 1374 // VK_KHR_synchronization2 1375 PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD; 1376 PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV; 1377 1378 // VK_KHR_ray_tracing_maintenance1 1379 PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR; 1380 1381 // VK_EXT_debug_marker 1382 PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT; 1383 PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT; 1384 PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT; 1385 PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT; 1386 PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT; 1387 1388 // VK_EXT_transform_feedback 1389 PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT; 1390 PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT; 1391 PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT; 1392 PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT; 1393 PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT; 1394 PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT; 1395 1396 // VK_NVX_binary_import 1397 PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX; 1398 PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX; 1399 PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX; 1400 PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX; 1401 PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX; 1402 1403 // VK_NVX_image_view_handle 1404 PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX; 1405 PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX; 1406 1407 // VK_AMD_shader_info 1408 PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD; 1409 1410 // VK_EXT_conditional_rendering 1411 PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT; 1412 PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT; 1413 1414 // VK_NV_clip_space_w_scaling 1415 PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV; 1416 1417 // VK_EXT_display_control 1418 PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT; 1419 PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT; 1420 PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT; 1421 PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT; 1422 1423 // VK_GOOGLE_display_timing 1424 PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE; 1425 PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE; 1426 1427 // VK_EXT_discard_rectangles 1428 PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT; 1429 1430 // VK_EXT_hdr_metadata 1431 PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT; 1432 1433 // VK_EXT_debug_utils 1434 PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT; 1435 PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT; 1436 PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT; 1437 PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT; 1438 PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT; 1439 PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT; 1440 PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT; 1441 PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT; 1442 1443 // VK_EXT_sample_locations 1444 PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT; 1445 1446 // VK_EXT_image_drm_format_modifier 1447 PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT; 1448 1449 // VK_EXT_validation_cache 1450 PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT; 1451 PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT; 1452 PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT; 1453 PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT; 1454 1455 // VK_NV_shading_rate_image 1456 PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV; 1457 PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV; 1458 PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV; 1459 1460 // VK_NV_ray_tracing 1461 PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV; 1462 PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV; 1463 PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV; 1464 PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV; 1465 PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV; 1466 PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV; 1467 PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV; 1468 PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV; 1469 PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR; 1470 PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV; 1471 PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV; 1472 PFN_vkCompileDeferredNV vkCompileDeferredNV; 1473 1474 // VK_EXT_external_memory_host 1475 PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT; 1476 1477 // VK_AMD_buffer_marker 1478 PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD; 1479 1480 // VK_EXT_calibrated_timestamps 1481 PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT; 1482 1483 // VK_NV_mesh_shader 1484 PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV; 1485 PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV; 1486 PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV; 1487 1488 // VK_NV_scissor_exclusive 1489 PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV; 1490 1491 // VK_NV_device_diagnostic_checkpoints 1492 PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV; 1493 PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV; 1494 1495 // VK_INTEL_performance_query 1496 PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL; 1497 PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL; 1498 PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL; 1499 PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL; 1500 PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL; 1501 PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL; 1502 PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL; 1503 PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL; 1504 PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL; 1505 1506 // VK_AMD_display_native_hdr 1507 PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD; 1508 1509 // VK_EXT_line_rasterization 1510 PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT; 1511 1512 // VK_NV_device_generated_commands 1513 PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV; 1514 PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV; 1515 PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV; 1516 PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV; 1517 PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV; 1518 PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV; 1519 1520 // VK_NV_fragment_shading_rate_enums 1521 PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV; 1522 1523 // VK_EXT_image_compression_control 1524 PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT; 1525 1526 // VK_EXT_vertex_input_dynamic_state 1527 PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT; 1528 1529 // VK_HUAWEI_subpass_shading 1530 PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI; 1531 PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI; 1532 1533 // VK_HUAWEI_invocation_mask 1534 PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI; 1535 1536 // VK_NV_external_memory_rdma 1537 PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV; 1538 1539 // VK_EXT_pipeline_properties 1540 PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT; 1541 1542 // VK_EXT_extended_dynamic_state2 1543 PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT; 1544 PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT; 1545 1546 // VK_EXT_color_write_enable 1547 PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT; 1548 1549 // VK_EXT_multi_draw 1550 PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT; 1551 PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT; 1552 1553 // VK_EXT_pageable_device_local_memory 1554 PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT; 1555 1556 // VK_VALVE_descriptor_set_host_mapping 1557 PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE; 1558 PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE; 1559 1560 // VK_EXT_shader_module_identifier 1561 PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT; 1562 PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT; 1563 1564 // VK_QCOM_tile_properties 1565 PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM; 1566 PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM; 1567 1568 // VK_KHR_acceleration_structure 1569 PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR; 1570 PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR; 1571 PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR; 1572 PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR; 1573 PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR; 1574 PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR; 1575 PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR; 1576 PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR; 1577 PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR; 1578 PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR; 1579 PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR; 1580 PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR; 1581 PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR; 1582 PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR; 1583 PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR; 1584 PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR; 1585 1586 // VK_KHR_ray_tracing_pipeline 1587 PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR; 1588 PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR; 1589 PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR; 1590 PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR; 1591 PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR; 1592 PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR; 1593 1594 // VK_EXT_mesh_shader 1595 PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT; 1596 PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT; 1597 PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT; 1598 1599 // VK_KHR_dynamic_rendering 1600 alias vkCmdBeginRenderingKHR = vkCmdBeginRendering; 1601 alias vkCmdEndRenderingKHR = vkCmdEndRendering; 1602 1603 // VK_KHR_device_group 1604 alias vkGetDeviceGroupPeerMemoryFeaturesKHR = vkGetDeviceGroupPeerMemoryFeatures; 1605 alias vkCmdSetDeviceMaskKHR = vkCmdSetDeviceMask; 1606 alias vkCmdDispatchBaseKHR = vkCmdDispatchBase; 1607 1608 // VK_KHR_maintenance1 1609 alias vkTrimCommandPoolKHR = vkTrimCommandPool; 1610 1611 // VK_KHR_descriptor_update_template 1612 alias vkCreateDescriptorUpdateTemplateKHR = vkCreateDescriptorUpdateTemplate; 1613 alias vkDestroyDescriptorUpdateTemplateKHR = vkDestroyDescriptorUpdateTemplate; 1614 alias vkUpdateDescriptorSetWithTemplateKHR = vkUpdateDescriptorSetWithTemplate; 1615 1616 // VK_KHR_create_renderpass2 1617 alias vkCreateRenderPass2KHR = vkCreateRenderPass2; 1618 alias vkCmdBeginRenderPass2KHR = vkCmdBeginRenderPass2; 1619 alias vkCmdNextSubpass2KHR = vkCmdNextSubpass2; 1620 alias vkCmdEndRenderPass2KHR = vkCmdEndRenderPass2; 1621 1622 // VK_KHR_get_memory_requirements2 1623 alias vkGetImageMemoryRequirements2KHR = vkGetImageMemoryRequirements2; 1624 alias vkGetBufferMemoryRequirements2KHR = vkGetBufferMemoryRequirements2; 1625 alias vkGetImageSparseMemoryRequirements2KHR = vkGetImageSparseMemoryRequirements2; 1626 1627 // VK_KHR_sampler_ycbcr_conversion 1628 alias vkCreateSamplerYcbcrConversionKHR = vkCreateSamplerYcbcrConversion; 1629 alias vkDestroySamplerYcbcrConversionKHR = vkDestroySamplerYcbcrConversion; 1630 1631 // VK_KHR_bind_memory2 1632 alias vkBindBufferMemory2KHR = vkBindBufferMemory2; 1633 alias vkBindImageMemory2KHR = vkBindImageMemory2; 1634 1635 // VK_KHR_maintenance3 1636 alias vkGetDescriptorSetLayoutSupportKHR = vkGetDescriptorSetLayoutSupport; 1637 1638 // VK_KHR_draw_indirect_count 1639 alias vkCmdDrawIndirectCountKHR = vkCmdDrawIndirectCount; 1640 alias vkCmdDrawIndexedIndirectCountKHR = vkCmdDrawIndexedIndirectCount; 1641 1642 // VK_KHR_timeline_semaphore 1643 alias vkGetSemaphoreCounterValueKHR = vkGetSemaphoreCounterValue; 1644 alias vkWaitSemaphoresKHR = vkWaitSemaphores; 1645 alias vkSignalSemaphoreKHR = vkSignalSemaphore; 1646 1647 // VK_KHR_buffer_device_address 1648 alias vkGetBufferDeviceAddressKHR = vkGetBufferDeviceAddress; 1649 alias vkGetBufferOpaqueCaptureAddressKHR = vkGetBufferOpaqueCaptureAddress; 1650 alias vkGetDeviceMemoryOpaqueCaptureAddressKHR = vkGetDeviceMemoryOpaqueCaptureAddress; 1651 1652 // VK_KHR_synchronization2 1653 alias vkCmdSetEvent2KHR = vkCmdSetEvent2; 1654 alias vkCmdResetEvent2KHR = vkCmdResetEvent2; 1655 alias vkCmdWaitEvents2KHR = vkCmdWaitEvents2; 1656 alias vkCmdPipelineBarrier2KHR = vkCmdPipelineBarrier2; 1657 alias vkCmdWriteTimestamp2KHR = vkCmdWriteTimestamp2; 1658 alias vkQueueSubmit2KHR = vkQueueSubmit2; 1659 1660 // VK_KHR_copy_commands2 1661 alias vkCmdCopyBuffer2KHR = vkCmdCopyBuffer2; 1662 alias vkCmdCopyImage2KHR = vkCmdCopyImage2; 1663 alias vkCmdCopyBufferToImage2KHR = vkCmdCopyBufferToImage2; 1664 alias vkCmdCopyImageToBuffer2KHR = vkCmdCopyImageToBuffer2; 1665 alias vkCmdBlitImage2KHR = vkCmdBlitImage2; 1666 alias vkCmdResolveImage2KHR = vkCmdResolveImage2; 1667 1668 // VK_KHR_maintenance4 1669 alias vkGetDeviceBufferMemoryRequirementsKHR = vkGetDeviceBufferMemoryRequirements; 1670 alias vkGetDeviceImageMemoryRequirementsKHR = vkGetDeviceImageMemoryRequirements; 1671 alias vkGetDeviceImageSparseMemoryRequirementsKHR = vkGetDeviceImageSparseMemoryRequirements; 1672 1673 // VK_AMD_draw_indirect_count 1674 alias vkCmdDrawIndirectCountAMD = vkCmdDrawIndirectCount; 1675 alias vkCmdDrawIndexedIndirectCountAMD = vkCmdDrawIndexedIndirectCount; 1676 1677 // VK_NV_ray_tracing 1678 alias vkGetRayTracingShaderGroupHandlesNV = vkGetRayTracingShaderGroupHandlesKHR; 1679 1680 // VK_EXT_buffer_device_address 1681 alias vkGetBufferDeviceAddressEXT = vkGetBufferDeviceAddress; 1682 1683 // VK_EXT_host_query_reset 1684 alias vkResetQueryPoolEXT = vkResetQueryPool; 1685 1686 // VK_EXT_extended_dynamic_state 1687 alias vkCmdSetCullModeEXT = vkCmdSetCullMode; 1688 alias vkCmdSetFrontFaceEXT = vkCmdSetFrontFace; 1689 alias vkCmdSetPrimitiveTopologyEXT = vkCmdSetPrimitiveTopology; 1690 alias vkCmdSetViewportWithCountEXT = vkCmdSetViewportWithCount; 1691 alias vkCmdSetScissorWithCountEXT = vkCmdSetScissorWithCount; 1692 alias vkCmdBindVertexBuffers2EXT = vkCmdBindVertexBuffers2; 1693 alias vkCmdSetDepthTestEnableEXT = vkCmdSetDepthTestEnable; 1694 alias vkCmdSetDepthWriteEnableEXT = vkCmdSetDepthWriteEnable; 1695 alias vkCmdSetDepthCompareOpEXT = vkCmdSetDepthCompareOp; 1696 alias vkCmdSetDepthBoundsTestEnableEXT = vkCmdSetDepthBoundsTestEnable; 1697 alias vkCmdSetStencilTestEnableEXT = vkCmdSetStencilTestEnable; 1698 alias vkCmdSetStencilOpEXT = vkCmdSetStencilOp; 1699 1700 // VK_EXT_private_data 1701 alias vkCreatePrivateDataSlotEXT = vkCreatePrivateDataSlot; 1702 alias vkDestroyPrivateDataSlotEXT = vkDestroyPrivateDataSlot; 1703 alias vkSetPrivateDataEXT = vkSetPrivateData; 1704 alias vkGetPrivateDataEXT = vkGetPrivateData; 1705 1706 // VK_EXT_extended_dynamic_state2 1707 alias vkCmdSetRasterizerDiscardEnableEXT = vkCmdSetRasterizerDiscardEnable; 1708 alias vkCmdSetDepthBiasEnableEXT = vkCmdSetDepthBiasEnable; 1709 alias vkCmdSetPrimitiveRestartEnableEXT = vkCmdSetPrimitiveRestartEnable; 1710 } 1711