Halide 22.0.0 Halide compiler and libraries

vulkan_functions.h
Go to the documentation of this file.
1// NOTE: There are three sets of functions that each have to be resolved separately.
2// 1. Loader Functions: Used to query and create an instance to use
3// 2. Instance Functions: Used to query and create a device to use
4// 3. Device Functions: Used to interact directly with the device driver
5#ifdef HL_USE_VULKAN_LOADER_FNS
6// v1.0+
7 VULKAN_FN(vkCreateInstance)
8 VULKAN_FN(vkGetInstanceProcAddr)
9 VULKAN_FN(vkEnumerateInstanceExtensionProperties)
10 VULKAN_FN(vkEnumerateInstanceLayerProperties)
11// v1.1+
12 VULKAN_FN(vkEnumerateInstanceVersion)
13#endif
14#ifdef HL_USE_VULKAN_INSTANCE_FNS
15// v1.0+
16 VULKAN_FN(vkCreateDevice)
17 VULKAN_FN(vkDestroyInstance)
18 VULKAN_FN(vkEnumerateDeviceExtensionProperties)
19 VULKAN_FN(vkEnumerateDeviceLayerProperties)
20 VULKAN_FN(vkEnumeratePhysicalDevices)
21 VULKAN_FN(vkGetDeviceProcAddr)
22 VULKAN_FN(vkGetPhysicalDeviceFeatures)
23 VULKAN_FN(vkGetPhysicalDeviceFormatProperties)
24// VULKAN_FN(vkGetPhysicalDeviceImageFormatProperties)
25 VULKAN_FN(vkGetPhysicalDeviceMemoryProperties)
26 VULKAN_FN(vkGetPhysicalDeviceProperties)
27 VULKAN_FN(vkGetPhysicalDeviceQueueFamilyProperties)
28// VULKAN_FN(vkGetPhysicalDeviceSparseImageFormatProperties)
29// v1.1+
30 VULKAN_FN(vkEnumeratePhysicalDeviceGroups)
31 VULKAN_FN(vkGetPhysicalDeviceExternalBufferProperties)
32 VULKAN_FN(vkGetPhysicalDeviceExternalFenceProperties)
33 VULKAN_FN(vkGetPhysicalDeviceExternalSemaphoreProperties)
34 VULKAN_FN(vkGetPhysicalDeviceFeatures2)
35 VULKAN_FN(vkGetPhysicalDeviceFormatProperties2)
36// VULKAN_FN(vkGetPhysicalDeviceImageFormatProperties2)
37 VULKAN_FN(vkGetPhysicalDeviceMemoryProperties2)
38 VULKAN_FN(vkGetPhysicalDeviceProperties2)
39 VULKAN_FN(vkGetPhysicalDeviceQueueFamilyProperties2)
40// VULKAN_FN(vkGetPhysicalDeviceSparseImageFormatProperties2)
41// v1.3+
42 VULKAN_FN(vkGetPhysicalDeviceToolProperties)
43#endif
44#ifdef HL_USE_VULKAN_DEVICE_FNS
45// v1.0+
46 VULKAN_FN(vkAllocateCommandBuffers)
47 VULKAN_FN(vkAllocateDescriptorSets)
48 VULKAN_FN(vkAllocateMemory)
49 VULKAN_FN(vkBeginCommandBuffer)
50 VULKAN_FN(vkBindBufferMemory)
51// VULKAN_FN(vkBindImageMemory)
52 VULKAN_FN(vkCmdBeginQuery)
53// VULKAN_FN(vkCmdBeginRenderPass)
54 VULKAN_FN(vkCmdBindDescriptorSets)
55// VULKAN_FN(vkCmdBindIndexBuffer)
56 VULKAN_FN(vkCmdBindPipeline)
57// VULKAN_FN(vkCmdBindVertexBuffers)
58// VULKAN_FN(vkCmdBlitImage)
59// VULKAN_FN(vkCmdClearAttachments)
60// VULKAN_FN(vkCmdClearColorImage)
61// VULKAN_FN(vkCmdClearDepthStencilImage)
62 VULKAN_FN(vkCmdCopyBuffer)
63// VULKAN_FN(vkCmdCopyBufferToImage)
64// VULKAN_FN(vkCmdCopyImage)
65// VULKAN_FN(vkCmdCopyImageToBuffer)
66 VULKAN_FN(vkCmdCopyQueryPoolResults)
67 VULKAN_FN(vkCmdDispatch)
68 VULKAN_FN(vkCmdDispatchIndirect)
69// VULKAN_FN(vkCmdDraw)
70// VULKAN_FN(vkCmdDrawIndexed)
71// VULKAN_FN(vkCmdDrawIndexedIndirect)
72// VULKAN_FN(vkCmdDrawIndirect)
73 VULKAN_FN(vkCmdEndQuery)
74// VULKAN_FN(vkCmdEndRenderPass)
75 VULKAN_FN(vkCmdExecuteCommands)
76 VULKAN_FN(vkCmdFillBuffer)
77// VULKAN_FN(vkCmdNextSubpass)
78 VULKAN_FN(vkCmdPipelineBarrier)
79 VULKAN_FN(vkCmdPushConstants)
80 VULKAN_FN(vkCmdResetEvent)
81 VULKAN_FN(vkCmdResetQueryPool)
82// VULKAN_FN(vkCmdResolveImage)
83 VULKAN_FN(vkCmdSetBlendConstants)
84 VULKAN_FN(vkCmdSetDepthBias)
85 VULKAN_FN(vkCmdSetDepthBounds)
86 VULKAN_FN(vkCmdSetEvent)
87// VULKAN_FN(vkCmdSetLineWidth)
88// VULKAN_FN(vkCmdSetScissor)
89// VULKAN_FN(vkCmdSetStencilCompareMask)
90// VULKAN_FN(vkCmdSetStencilReference)
91// VULKAN_FN(vkCmdSetStencilWriteMask)
92// VULKAN_FN(vkCmdSetViewport)
93 VULKAN_FN(vkCmdUpdateBuffer)
94 VULKAN_FN(vkCmdWaitEvents)
95 VULKAN_FN(vkCmdWriteTimestamp)
96 VULKAN_FN(vkCreateBuffer)
97 VULKAN_FN(vkCreateBufferView)
98 VULKAN_FN(vkCreateCommandPool)
99 VULKAN_FN(vkCreateComputePipelines)
100 VULKAN_FN(vkCreateDescriptorPool)
101 VULKAN_FN(vkCreateDescriptorSetLayout)
102 VULKAN_FN(vkCreateEvent)
103 VULKAN_FN(vkCreateFence)
104// VULKAN_FN(vkCreateFramebuffer)
105// VULKAN_FN(vkCreateGraphicsPipelines)
106// VULKAN_FN(vkCreateImage)
107// VULKAN_FN(vkCreateImageView)
108 VULKAN_FN(vkCreatePipelineCache)
109 VULKAN_FN(vkCreatePipelineLayout)
110 VULKAN_FN(vkCreateQueryPool)
111// VULKAN_FN(vkCreateRenderPass)
112// VULKAN_FN(vkCreateSampler)
113 VULKAN_FN(vkCreateSemaphore)
114 VULKAN_FN(vkCreateShaderModule)
115 VULKAN_FN(vkDestroyBuffer)
116 VULKAN_FN(vkDestroyBufferView)
117 VULKAN_FN(vkDestroyCommandPool)
118 VULKAN_FN(vkDestroyDescriptorPool)
119 VULKAN_FN(vkDestroyDescriptorSetLayout)
120 VULKAN_FN(vkDestroyDevice)
121 VULKAN_FN(vkDestroyEvent)
122 VULKAN_FN(vkDestroyFence)
123// VULKAN_FN(vkDestroyFramebuffer)
124// VULKAN_FN(vkDestroyImage)
125// VULKAN_FN(vkDestroyImageView)
126 VULKAN_FN(vkDestroyPipeline)
127 VULKAN_FN(vkDestroyPipelineCache)
128 VULKAN_FN(vkDestroyPipelineLayout)
129 VULKAN_FN(vkDestroyQueryPool)
130// VULKAN_FN(vkDestroyRenderPass)
131// VULKAN_FN(vkDestroySampler)
132 VULKAN_FN(vkDestroySemaphore)
133 VULKAN_FN(vkDestroyShaderModule)
134 VULKAN_FN(vkDeviceWaitIdle)
135 VULKAN_FN(vkEndCommandBuffer)
136 VULKAN_FN(vkFlushMappedMemoryRanges)
137 VULKAN_FN(vkFreeCommandBuffers)
138 VULKAN_FN(vkFreeDescriptorSets)
139 VULKAN_FN(vkFreeMemory)
140 VULKAN_FN(vkGetBufferMemoryRequirements)
141 VULKAN_FN(vkGetDeviceMemoryCommitment)
142 VULKAN_FN(vkGetDeviceQueue)
143 VULKAN_FN(vkGetEventStatus)
144 VULKAN_FN(vkGetFenceStatus)
145// VULKAN_FN(vkGetImageMemoryRequirements)
146// VULKAN_FN(vkGetImageSparseMemoryRequirements)
147// VULKAN_FN(vkGetImageSubresourceLayout)
148 VULKAN_FN(vkGetPipelineCacheData)
149 VULKAN_FN(vkGetQueryPoolResults)
150// VULKAN_FN(vkGetRenderAreaGranularity)
151 VULKAN_FN(vkInvalidateMappedMemoryRanges)
152 VULKAN_FN(vkMapMemory)
153 VULKAN_FN(vkMergePipelineCaches)
154// VULKAN_FN(vkQueueBindSparse)
155 VULKAN_FN(vkQueueSubmit)
156 VULKAN_FN(vkQueueWaitIdle)
157 VULKAN_FN(vkResetCommandBuffer)
158 VULKAN_FN(vkResetCommandPool)
159 VULKAN_FN(vkResetDescriptorPool)
160 VULKAN_FN(vkResetEvent)
161 VULKAN_FN(vkResetFences)
162 VULKAN_FN(vkSetEvent)
163 VULKAN_FN(vkUnmapMemory)
164 VULKAN_FN(vkUpdateDescriptorSets)
165 VULKAN_FN(vkWaitForFences)
166// v1.1+
167 VULKAN_FN(vkBindBufferMemory2)
168// VULKAN_FN(vkBindImageMemory2)
169 VULKAN_FN(vkCmdDispatchBase)
170 VULKAN_FN(vkCmdSetDeviceMask)
171 VULKAN_FN(vkCreateDescriptorUpdateTemplate)
172// VULKAN_FN(vkCreateSamplerYcbcrConversion)
173 VULKAN_FN(vkDestroyDescriptorUpdateTemplate)
174// VULKAN_FN(vkDestroySamplerYcbcrConversion)
175 VULKAN_FN(vkGetBufferMemoryRequirements2)
176 VULKAN_FN(vkGetDescriptorSetLayoutSupport)
177 VULKAN_FN(vkGetDeviceGroupPeerMemoryFeatures)
178 VULKAN_FN(vkGetDeviceQueue2)
179// VULKAN_FN(vkGetImageMemoryRequirements2)
180// VULKAN_FN(vkGetImageSparseMemoryRequirements2)
181 VULKAN_FN(vkTrimCommandPool)
182 VULKAN_FN(vkUpdateDescriptorSetWithTemplate)
183// v1.2+
184// VULKAN_FN(vkCmdBeginRenderPass2)
185// VULKAN_FN(vkCmdDrawIndexedIndirectCount)
186// VULKAN_FN(vkCmdDrawIndirectCount)
187// VULKAN_FN(vkCmdEndRenderPass2)
188// VULKAN_FN(vkCmdNextSubpass2)
189// VULKAN_FN(vkCreateRenderPass2)
190 VULKAN_FN(vkGetBufferDeviceAddress)
191 VULKAN_FN(vkGetBufferOpaqueCaptureAddress)
192 VULKAN_FN(vkGetDeviceMemoryOpaqueCaptureAddress)
193 VULKAN_FN(vkGetSemaphoreCounterValue)
194 VULKAN_FN(vkResetQueryPool)
195 VULKAN_FN(vkSignalSemaphore)
196 VULKAN_FN(vkWaitSemaphores)
197// v1.3+
198// VULKAN_FN(vkCmdBeginRendering)
199// VULKAN_FN(vkCmdBindVertexBuffers2)
200// VULKAN_FN(vkCmdBlitImage2)
201 VULKAN_FN(vkCmdCopyBuffer2)
202// VULKAN_FN(vkCmdCopyBufferToImage2)
203// VULKAN_FN(vkCmdCopyImage2)
204// VULKAN_FN(vkCmdCopyImageToBuffer2)
205// VULKAN_FN(vkCmdEndRendering)
206 VULKAN_FN(vkCmdPipelineBarrier2)
207 VULKAN_FN(vkCmdResetEvent2)
208// VULKAN_FN(vkCmdResolveImage2)
209// VULKAN_FN(vkCmdSetCullMode)
210// VULKAN_FN(vkCmdSetDepthBiasEnable)
211// VULKAN_FN(vkCmdSetDepthBoundsTestEnable)
212// VULKAN_FN(vkCmdSetDepthCompareOp)
213// VULKAN_FN(vkCmdSetDepthTestEnable)
214// VULKAN_FN(vkCmdSetDepthWriteEnable)
215 VULKAN_FN(vkCmdSetEvent2)
216// VULKAN_FN(vkCmdSetFrontFace)
217// VULKAN_FN(vkCmdSetPrimitiveRestartEnable)
218// VULKAN_FN(vkCmdSetPrimitiveTopology)
219// VULKAN_FN(vkCmdSetRasterizerDiscardEnable)
220// VULKAN_FN(vkCmdSetScissorWithCount)
221// VULKAN_FN(vkCmdSetStencilOp)
222// VULKAN_FN(vkCmdSetStencilTestEnable)
223// VULKAN_FN(vkCmdSetViewportWithCount)
224 VULKAN_FN(vkCmdWaitEvents2)
225 VULKAN_FN(vkCmdWriteTimestamp2)
226 VULKAN_FN(vkCreatePrivateDataSlot)
227 VULKAN_FN(vkDestroyPrivateDataSlot)
228 VULKAN_FN(vkGetDeviceBufferMemoryRequirements)
229// VULKAN_FN(vkGetDeviceImageMemoryRequirements)
230// VULKAN_FN(vkGetDeviceImageSparseMemoryRequirements)
231 VULKAN_FN(vkGetPrivateData)
232 VULKAN_FN(vkQueueSubmit2)
233 VULKAN_FN(vkSetPrivateData)
234#endif
VULKAN_FN
#define VULKAN_FN(fn)
Definition: vulkan_interface.h:99