Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
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+
7VULKAN_FN(vkCreateInstance)
8VULKAN_FN(vkGetInstanceProcAddr)
9VULKAN_FN(vkEnumerateInstanceExtensionProperties)
10VULKAN_FN(vkEnumerateInstanceLayerProperties)
11// v1.1+
12VULKAN_FN(vkEnumerateInstanceVersion)
13#endif
14#ifdef HL_USE_VULKAN_INSTANCE_FNS
15// v1.0+
16VULKAN_FN(vkCreateDevice)
17VULKAN_FN(vkDestroyInstance)
18VULKAN_FN(vkEnumerateDeviceExtensionProperties)
19VULKAN_FN(vkEnumerateDeviceLayerProperties)
20VULKAN_FN(vkEnumeratePhysicalDevices)
21VULKAN_FN(vkGetDeviceProcAddr)
22VULKAN_FN(vkGetPhysicalDeviceFeatures)
23VULKAN_FN(vkGetPhysicalDeviceFormatProperties)
24// VULKAN_FN(vkGetPhysicalDeviceImageFormatProperties)
25VULKAN_FN(vkGetPhysicalDeviceMemoryProperties)
26VULKAN_FN(vkGetPhysicalDeviceProperties)
27VULKAN_FN(vkGetPhysicalDeviceQueueFamilyProperties)
28// VULKAN_FN(vkGetPhysicalDeviceSparseImageFormatProperties)
29// v1.1+
30VULKAN_FN(vkEnumeratePhysicalDeviceGroups)
31VULKAN_FN(vkGetPhysicalDeviceExternalBufferProperties)
32VULKAN_FN(vkGetPhysicalDeviceExternalFenceProperties)
33VULKAN_FN(vkGetPhysicalDeviceExternalSemaphoreProperties)
34VULKAN_FN(vkGetPhysicalDeviceFeatures2)
35VULKAN_FN(vkGetPhysicalDeviceFormatProperties2)
36// VULKAN_FN(vkGetPhysicalDeviceImageFormatProperties2)
37VULKAN_FN(vkGetPhysicalDeviceMemoryProperties2)
38VULKAN_FN(vkGetPhysicalDeviceProperties2)
39VULKAN_FN(vkGetPhysicalDeviceQueueFamilyProperties2)
40// VULKAN_FN(vkGetPhysicalDeviceSparseImageFormatProperties2)
41// v1.3+
42VULKAN_FN(vkGetPhysicalDeviceToolProperties)
43#endif
44#ifdef HL_USE_VULKAN_DEVICE_FNS
45// v1.0+
46VULKAN_FN(vkAllocateCommandBuffers)
47VULKAN_FN(vkAllocateDescriptorSets)
48VULKAN_FN(vkAllocateMemory)
49VULKAN_FN(vkBeginCommandBuffer)
50VULKAN_FN(vkBindBufferMemory)
51// VULKAN_FN(vkBindImageMemory)
52VULKAN_FN(vkCmdBeginQuery)
53// VULKAN_FN(vkCmdBeginRenderPass)
54VULKAN_FN(vkCmdBindDescriptorSets)
55// VULKAN_FN(vkCmdBindIndexBuffer)
56VULKAN_FN(vkCmdBindPipeline)
57// VULKAN_FN(vkCmdBindVertexBuffers)
58// VULKAN_FN(vkCmdBlitImage)
59// VULKAN_FN(vkCmdClearAttachments)
60// VULKAN_FN(vkCmdClearColorImage)
61// VULKAN_FN(vkCmdClearDepthStencilImage)
62VULKAN_FN(vkCmdCopyBuffer)
63// VULKAN_FN(vkCmdCopyBufferToImage)
64// VULKAN_FN(vkCmdCopyImage)
65// VULKAN_FN(vkCmdCopyImageToBuffer)
66VULKAN_FN(vkCmdCopyQueryPoolResults)
67VULKAN_FN(vkCmdDispatch)
68VULKAN_FN(vkCmdDispatchIndirect)
69// VULKAN_FN(vkCmdDraw)
70// VULKAN_FN(vkCmdDrawIndexed)
71// VULKAN_FN(vkCmdDrawIndexedIndirect)
72// VULKAN_FN(vkCmdDrawIndirect)
73VULKAN_FN(vkCmdEndQuery)
74// VULKAN_FN(vkCmdEndRenderPass)
75VULKAN_FN(vkCmdExecuteCommands)
76VULKAN_FN(vkCmdFillBuffer)
77// VULKAN_FN(vkCmdNextSubpass)
78VULKAN_FN(vkCmdPipelineBarrier)
79VULKAN_FN(vkCmdPushConstants)
80VULKAN_FN(vkCmdResetEvent)
81VULKAN_FN(vkCmdResetQueryPool)
82// VULKAN_FN(vkCmdResolveImage)
83VULKAN_FN(vkCmdSetBlendConstants)
84VULKAN_FN(vkCmdSetDepthBias)
85VULKAN_FN(vkCmdSetDepthBounds)
86VULKAN_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)
93VULKAN_FN(vkCmdUpdateBuffer)
94VULKAN_FN(vkCmdWaitEvents)
95VULKAN_FN(vkCmdWriteTimestamp)
96VULKAN_FN(vkCreateBuffer)
97VULKAN_FN(vkCreateBufferView)
98VULKAN_FN(vkCreateCommandPool)
99VULKAN_FN(vkCreateComputePipelines)
100VULKAN_FN(vkCreateDescriptorPool)
101VULKAN_FN(vkCreateDescriptorSetLayout)
102VULKAN_FN(vkCreateEvent)
103VULKAN_FN(vkCreateFence)
104// VULKAN_FN(vkCreateFramebuffer)
105// VULKAN_FN(vkCreateGraphicsPipelines)
106// VULKAN_FN(vkCreateImage)
107// VULKAN_FN(vkCreateImageView)
108VULKAN_FN(vkCreatePipelineCache)
109VULKAN_FN(vkCreatePipelineLayout)
110VULKAN_FN(vkCreateQueryPool)
111// VULKAN_FN(vkCreateRenderPass)
112// VULKAN_FN(vkCreateSampler)
113VULKAN_FN(vkCreateSemaphore)
114VULKAN_FN(vkCreateShaderModule)
115VULKAN_FN(vkDestroyBuffer)
116VULKAN_FN(vkDestroyBufferView)
117VULKAN_FN(vkDestroyCommandPool)
118VULKAN_FN(vkDestroyDescriptorPool)
119VULKAN_FN(vkDestroyDescriptorSetLayout)
120VULKAN_FN(vkDestroyDevice)
121VULKAN_FN(vkDestroyEvent)
122VULKAN_FN(vkDestroyFence)
123// VULKAN_FN(vkDestroyFramebuffer)
124// VULKAN_FN(vkDestroyImage)
125// VULKAN_FN(vkDestroyImageView)
126VULKAN_FN(vkDestroyPipeline)
127VULKAN_FN(vkDestroyPipelineCache)
128VULKAN_FN(vkDestroyPipelineLayout)
129VULKAN_FN(vkDestroyQueryPool)
130// VULKAN_FN(vkDestroyRenderPass)
131// VULKAN_FN(vkDestroySampler)
132VULKAN_FN(vkDestroySemaphore)
133VULKAN_FN(vkDestroyShaderModule)
134VULKAN_FN(vkDeviceWaitIdle)
135VULKAN_FN(vkEndCommandBuffer)
136VULKAN_FN(vkFlushMappedMemoryRanges)
137VULKAN_FN(vkFreeCommandBuffers)
138VULKAN_FN(vkFreeDescriptorSets)
139VULKAN_FN(vkFreeMemory)
140VULKAN_FN(vkGetBufferMemoryRequirements)
141VULKAN_FN(vkGetDeviceMemoryCommitment)
142VULKAN_FN(vkGetDeviceQueue)
143VULKAN_FN(vkGetEventStatus)
144VULKAN_FN(vkGetFenceStatus)
145// VULKAN_FN(vkGetImageMemoryRequirements)
146// VULKAN_FN(vkGetImageSparseMemoryRequirements)
147// VULKAN_FN(vkGetImageSubresourceLayout)
148VULKAN_FN(vkGetPipelineCacheData)
149VULKAN_FN(vkGetQueryPoolResults)
150// VULKAN_FN(vkGetRenderAreaGranularity)
151VULKAN_FN(vkInvalidateMappedMemoryRanges)
152VULKAN_FN(vkMapMemory)
153VULKAN_FN(vkMergePipelineCaches)
154// VULKAN_FN(vkQueueBindSparse)
155VULKAN_FN(vkQueueSubmit)
156VULKAN_FN(vkQueueWaitIdle)
157VULKAN_FN(vkResetCommandBuffer)
158VULKAN_FN(vkResetCommandPool)
159VULKAN_FN(vkResetDescriptorPool)
160VULKAN_FN(vkResetEvent)
161VULKAN_FN(vkResetFences)
162VULKAN_FN(vkSetEvent)
163VULKAN_FN(vkUnmapMemory)
164VULKAN_FN(vkUpdateDescriptorSets)
165VULKAN_FN(vkWaitForFences)
166// v1.1+
167VULKAN_FN(vkBindBufferMemory2)
168// VULKAN_FN(vkBindImageMemory2)
169VULKAN_FN(vkCmdDispatchBase)
170VULKAN_FN(vkCmdSetDeviceMask)
171VULKAN_FN(vkCreateDescriptorUpdateTemplate)
172// VULKAN_FN(vkCreateSamplerYcbcrConversion)
173VULKAN_FN(vkDestroyDescriptorUpdateTemplate)
174// VULKAN_FN(vkDestroySamplerYcbcrConversion)
175VULKAN_FN(vkGetBufferMemoryRequirements2)
176VULKAN_FN(vkGetDescriptorSetLayoutSupport)
177VULKAN_FN(vkGetDeviceGroupPeerMemoryFeatures)
178VULKAN_FN(vkGetDeviceQueue2)
179// VULKAN_FN(vkGetImageMemoryRequirements2)
180// VULKAN_FN(vkGetImageSparseMemoryRequirements2)
181VULKAN_FN(vkTrimCommandPool)
182VULKAN_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)
190VULKAN_FN(vkGetBufferDeviceAddress)
191VULKAN_FN(vkGetBufferOpaqueCaptureAddress)
192VULKAN_FN(vkGetDeviceMemoryOpaqueCaptureAddress)
193VULKAN_FN(vkGetSemaphoreCounterValue)
194VULKAN_FN(vkResetQueryPool)
195VULKAN_FN(vkSignalSemaphore)
196VULKAN_FN(vkWaitSemaphores)
197// v1.3+
198// VULKAN_FN(vkCmdBeginRendering)
199// VULKAN_FN(vkCmdBindVertexBuffers2)
200// VULKAN_FN(vkCmdBlitImage2)
201VULKAN_FN(vkCmdCopyBuffer2)
202// VULKAN_FN(vkCmdCopyBufferToImage2)
203// VULKAN_FN(vkCmdCopyImage2)
204// VULKAN_FN(vkCmdCopyImageToBuffer2)
205// VULKAN_FN(vkCmdEndRendering)
206VULKAN_FN(vkCmdPipelineBarrier2)
207VULKAN_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)
215VULKAN_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)
224VULKAN_FN(vkCmdWaitEvents2)
225VULKAN_FN(vkCmdWriteTimestamp2)
226VULKAN_FN(vkCreatePrivateDataSlot)
227VULKAN_FN(vkDestroyPrivateDataSlot)
228VULKAN_FN(vkGetDeviceBufferMemoryRequirements)
229// VULKAN_FN(vkGetDeviceImageMemoryRequirements)
230// VULKAN_FN(vkGetDeviceImageSparseMemoryRequirements)
231VULKAN_FN(vkGetPrivateData)
232VULKAN_FN(vkQueueSubmit2)
233VULKAN_FN(vkSetPrivateData)
234#endif
#define VULKAN_FN(fn)