Lines Matching refs:dev
32 static VkResult vkDevExtError(VkDevice dev) { in vkDevExtError() argument
34 struct loader_icd *icd = loader_get_icd_and_device(dev, &found_dev, NULL); in vkDevExtError()
45 PFN_vkGetDeviceProcAddr gpa, VkDevice dev) { in loader_init_device_dispatch_table() argument
51 (PFN_vkGetDeviceProcAddr)gpa(dev, "vkGetDeviceProcAddr"); in loader_init_device_dispatch_table()
52 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(dev, "vkDestroyDevice"); in loader_init_device_dispatch_table()
53 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(dev, "vkGetDeviceQueue"); in loader_init_device_dispatch_table()
54 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(dev, "vkQueueSubmit"); in loader_init_device_dispatch_table()
55 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(dev, "vkQueueWaitIdle"); in loader_init_device_dispatch_table()
56 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(dev, "vkDeviceWaitIdle"); in loader_init_device_dispatch_table()
57 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(dev, "vkAllocateMemory"); in loader_init_device_dispatch_table()
58 table->FreeMemory = (PFN_vkFreeMemory)gpa(dev, "vkFreeMemory"); in loader_init_device_dispatch_table()
59 table->MapMemory = (PFN_vkMapMemory)gpa(dev, "vkMapMemory"); in loader_init_device_dispatch_table()
60 table->UnmapMemory = (PFN_vkUnmapMemory)gpa(dev, "vkUnmapMemory"); in loader_init_device_dispatch_table()
62 (PFN_vkFlushMappedMemoryRanges)gpa(dev, "vkFlushMappedMemoryRanges"); in loader_init_device_dispatch_table()
65 dev, "vkInvalidateMappedMemoryRanges"); in loader_init_device_dispatch_table()
67 dev, "vkGetDeviceMemoryCommitment"); in loader_init_device_dispatch_table()
70 dev, "vkGetImageSparseMemoryRequirements"); in loader_init_device_dispatch_table()
72 dev, "vkGetBufferMemoryRequirements"); in loader_init_device_dispatch_table()
74 dev, "vkGetImageMemoryRequirements"); in loader_init_device_dispatch_table()
76 (PFN_vkBindBufferMemory)gpa(dev, "vkBindBufferMemory"); in loader_init_device_dispatch_table()
78 (PFN_vkBindImageMemory)gpa(dev, "vkBindImageMemory"); in loader_init_device_dispatch_table()
80 (PFN_vkQueueBindSparse)gpa(dev, "vkQueueBindSparse"); in loader_init_device_dispatch_table()
81 table->CreateFence = (PFN_vkCreateFence)gpa(dev, "vkCreateFence"); in loader_init_device_dispatch_table()
82 table->DestroyFence = (PFN_vkDestroyFence)gpa(dev, "vkDestroyFence"); in loader_init_device_dispatch_table()
83 table->ResetFences = (PFN_vkResetFences)gpa(dev, "vkResetFences"); in loader_init_device_dispatch_table()
84 table->GetFenceStatus = (PFN_vkGetFenceStatus)gpa(dev, "vkGetFenceStatus"); in loader_init_device_dispatch_table()
85 table->WaitForFences = (PFN_vkWaitForFences)gpa(dev, "vkWaitForFences"); in loader_init_device_dispatch_table()
87 (PFN_vkCreateSemaphore)gpa(dev, "vkCreateSemaphore"); in loader_init_device_dispatch_table()
89 (PFN_vkDestroySemaphore)gpa(dev, "vkDestroySemaphore"); in loader_init_device_dispatch_table()
90 table->CreateEvent = (PFN_vkCreateEvent)gpa(dev, "vkCreateEvent"); in loader_init_device_dispatch_table()
91 table->DestroyEvent = (PFN_vkDestroyEvent)gpa(dev, "vkDestroyEvent"); in loader_init_device_dispatch_table()
92 table->GetEventStatus = (PFN_vkGetEventStatus)gpa(dev, "vkGetEventStatus"); in loader_init_device_dispatch_table()
93 table->SetEvent = (PFN_vkSetEvent)gpa(dev, "vkSetEvent"); in loader_init_device_dispatch_table()
94 table->ResetEvent = (PFN_vkResetEvent)gpa(dev, "vkResetEvent"); in loader_init_device_dispatch_table()
96 (PFN_vkCreateQueryPool)gpa(dev, "vkCreateQueryPool"); in loader_init_device_dispatch_table()
98 (PFN_vkDestroyQueryPool)gpa(dev, "vkDestroyQueryPool"); in loader_init_device_dispatch_table()
100 (PFN_vkGetQueryPoolResults)gpa(dev, "vkGetQueryPoolResults"); in loader_init_device_dispatch_table()
101 table->CreateBuffer = (PFN_vkCreateBuffer)gpa(dev, "vkCreateBuffer"); in loader_init_device_dispatch_table()
102 table->DestroyBuffer = (PFN_vkDestroyBuffer)gpa(dev, "vkDestroyBuffer"); in loader_init_device_dispatch_table()
104 (PFN_vkCreateBufferView)gpa(dev, "vkCreateBufferView"); in loader_init_device_dispatch_table()
106 (PFN_vkDestroyBufferView)gpa(dev, "vkDestroyBufferView"); in loader_init_device_dispatch_table()
107 table->CreateImage = (PFN_vkCreateImage)gpa(dev, "vkCreateImage"); in loader_init_device_dispatch_table()
108 table->DestroyImage = (PFN_vkDestroyImage)gpa(dev, "vkDestroyImage"); in loader_init_device_dispatch_table()
110 dev, "vkGetImageSubresourceLayout"); in loader_init_device_dispatch_table()
112 (PFN_vkCreateImageView)gpa(dev, "vkCreateImageView"); in loader_init_device_dispatch_table()
114 (PFN_vkDestroyImageView)gpa(dev, "vkDestroyImageView"); in loader_init_device_dispatch_table()
116 (PFN_vkCreateShaderModule)gpa(dev, "vkCreateShaderModule"); in loader_init_device_dispatch_table()
118 (PFN_vkDestroyShaderModule)gpa(dev, "vkDestroyShaderModule"); in loader_init_device_dispatch_table()
120 (PFN_vkCreatePipelineCache)gpa(dev, "vkCreatePipelineCache"); in loader_init_device_dispatch_table()
122 (PFN_vkDestroyPipelineCache)gpa(dev, "vkDestroyPipelineCache"); in loader_init_device_dispatch_table()
124 (PFN_vkGetPipelineCacheData)gpa(dev, "vkGetPipelineCacheData"); in loader_init_device_dispatch_table()
126 (PFN_vkMergePipelineCaches)gpa(dev, "vkMergePipelineCaches"); in loader_init_device_dispatch_table()
128 (PFN_vkCreateGraphicsPipelines)gpa(dev, "vkCreateGraphicsPipelines"); in loader_init_device_dispatch_table()
130 (PFN_vkCreateComputePipelines)gpa(dev, "vkCreateComputePipelines"); in loader_init_device_dispatch_table()
132 (PFN_vkDestroyPipeline)gpa(dev, "vkDestroyPipeline"); in loader_init_device_dispatch_table()
134 (PFN_vkCreatePipelineLayout)gpa(dev, "vkCreatePipelineLayout"); in loader_init_device_dispatch_table()
136 (PFN_vkDestroyPipelineLayout)gpa(dev, "vkDestroyPipelineLayout"); in loader_init_device_dispatch_table()
137 table->CreateSampler = (PFN_vkCreateSampler)gpa(dev, "vkCreateSampler"); in loader_init_device_dispatch_table()
138 table->DestroySampler = (PFN_vkDestroySampler)gpa(dev, "vkDestroySampler"); in loader_init_device_dispatch_table()
140 dev, "vkCreateDescriptorSetLayout"); in loader_init_device_dispatch_table()
142 dev, "vkDestroyDescriptorSetLayout"); in loader_init_device_dispatch_table()
144 (PFN_vkCreateDescriptorPool)gpa(dev, "vkCreateDescriptorPool"); in loader_init_device_dispatch_table()
146 (PFN_vkDestroyDescriptorPool)gpa(dev, "vkDestroyDescriptorPool"); in loader_init_device_dispatch_table()
148 (PFN_vkResetDescriptorPool)gpa(dev, "vkResetDescriptorPool"); in loader_init_device_dispatch_table()
150 (PFN_vkAllocateDescriptorSets)gpa(dev, "vkAllocateDescriptorSets"); in loader_init_device_dispatch_table()
152 (PFN_vkFreeDescriptorSets)gpa(dev, "vkFreeDescriptorSets"); in loader_init_device_dispatch_table()
154 (PFN_vkUpdateDescriptorSets)gpa(dev, "vkUpdateDescriptorSets"); in loader_init_device_dispatch_table()
156 (PFN_vkCreateFramebuffer)gpa(dev, "vkCreateFramebuffer"); in loader_init_device_dispatch_table()
158 (PFN_vkDestroyFramebuffer)gpa(dev, "vkDestroyFramebuffer"); in loader_init_device_dispatch_table()
160 (PFN_vkCreateRenderPass)gpa(dev, "vkCreateRenderPass"); in loader_init_device_dispatch_table()
162 (PFN_vkDestroyRenderPass)gpa(dev, "vkDestroyRenderPass"); in loader_init_device_dispatch_table()
164 (PFN_vkGetRenderAreaGranularity)gpa(dev, "vkGetRenderAreaGranularity"); in loader_init_device_dispatch_table()
166 (PFN_vkCreateCommandPool)gpa(dev, "vkCreateCommandPool"); in loader_init_device_dispatch_table()
168 (PFN_vkDestroyCommandPool)gpa(dev, "vkDestroyCommandPool"); in loader_init_device_dispatch_table()
170 (PFN_vkResetCommandPool)gpa(dev, "vkResetCommandPool"); in loader_init_device_dispatch_table()
172 (PFN_vkAllocateCommandBuffers)gpa(dev, "vkAllocateCommandBuffers"); in loader_init_device_dispatch_table()
174 (PFN_vkFreeCommandBuffers)gpa(dev, "vkFreeCommandBuffers"); in loader_init_device_dispatch_table()
176 (PFN_vkBeginCommandBuffer)gpa(dev, "vkBeginCommandBuffer"); in loader_init_device_dispatch_table()
178 (PFN_vkEndCommandBuffer)gpa(dev, "vkEndCommandBuffer"); in loader_init_device_dispatch_table()
180 (PFN_vkResetCommandBuffer)gpa(dev, "vkResetCommandBuffer"); in loader_init_device_dispatch_table()
182 (PFN_vkCmdBindPipeline)gpa(dev, "vkCmdBindPipeline"); in loader_init_device_dispatch_table()
183 table->CmdSetViewport = (PFN_vkCmdSetViewport)gpa(dev, "vkCmdSetViewport"); in loader_init_device_dispatch_table()
184 table->CmdSetScissor = (PFN_vkCmdSetScissor)gpa(dev, "vkCmdSetScissor"); in loader_init_device_dispatch_table()
186 (PFN_vkCmdSetLineWidth)gpa(dev, "vkCmdSetLineWidth"); in loader_init_device_dispatch_table()
188 (PFN_vkCmdSetDepthBias)gpa(dev, "vkCmdSetDepthBias"); in loader_init_device_dispatch_table()
190 (PFN_vkCmdSetBlendConstants)gpa(dev, "vkCmdSetBlendConstants"); in loader_init_device_dispatch_table()
192 (PFN_vkCmdSetDepthBounds)gpa(dev, "vkCmdSetDepthBounds"); in loader_init_device_dispatch_table()
194 (PFN_vkCmdSetStencilCompareMask)gpa(dev, "vkCmdSetStencilCompareMask"); in loader_init_device_dispatch_table()
196 (PFN_vkCmdSetStencilWriteMask)gpa(dev, "vkCmdSetStencilWriteMask"); in loader_init_device_dispatch_table()
198 (PFN_vkCmdSetStencilReference)gpa(dev, "vkCmdSetStencilReference"); in loader_init_device_dispatch_table()
200 (PFN_vkCmdBindDescriptorSets)gpa(dev, "vkCmdBindDescriptorSets"); in loader_init_device_dispatch_table()
202 (PFN_vkCmdBindVertexBuffers)gpa(dev, "vkCmdBindVertexBuffers"); in loader_init_device_dispatch_table()
204 (PFN_vkCmdBindIndexBuffer)gpa(dev, "vkCmdBindIndexBuffer"); in loader_init_device_dispatch_table()
205 table->CmdDraw = (PFN_vkCmdDraw)gpa(dev, "vkCmdDraw"); in loader_init_device_dispatch_table()
206 table->CmdDrawIndexed = (PFN_vkCmdDrawIndexed)gpa(dev, "vkCmdDrawIndexed"); in loader_init_device_dispatch_table()
208 (PFN_vkCmdDrawIndirect)gpa(dev, "vkCmdDrawIndirect"); in loader_init_device_dispatch_table()
210 (PFN_vkCmdDrawIndexedIndirect)gpa(dev, "vkCmdDrawIndexedIndirect"); in loader_init_device_dispatch_table()
211 table->CmdDispatch = (PFN_vkCmdDispatch)gpa(dev, "vkCmdDispatch"); in loader_init_device_dispatch_table()
213 (PFN_vkCmdDispatchIndirect)gpa(dev, "vkCmdDispatchIndirect"); in loader_init_device_dispatch_table()
214 table->CmdCopyBuffer = (PFN_vkCmdCopyBuffer)gpa(dev, "vkCmdCopyBuffer"); in loader_init_device_dispatch_table()
215 table->CmdCopyImage = (PFN_vkCmdCopyImage)gpa(dev, "vkCmdCopyImage"); in loader_init_device_dispatch_table()
216 table->CmdBlitImage = (PFN_vkCmdBlitImage)gpa(dev, "vkCmdBlitImage"); in loader_init_device_dispatch_table()
218 (PFN_vkCmdCopyBufferToImage)gpa(dev, "vkCmdCopyBufferToImage"); in loader_init_device_dispatch_table()
220 (PFN_vkCmdCopyImageToBuffer)gpa(dev, "vkCmdCopyImageToBuffer"); in loader_init_device_dispatch_table()
222 (PFN_vkCmdUpdateBuffer)gpa(dev, "vkCmdUpdateBuffer"); in loader_init_device_dispatch_table()
223 table->CmdFillBuffer = (PFN_vkCmdFillBuffer)gpa(dev, "vkCmdFillBuffer"); in loader_init_device_dispatch_table()
225 (PFN_vkCmdClearColorImage)gpa(dev, "vkCmdClearColorImage"); in loader_init_device_dispatch_table()
227 dev, "vkCmdClearDepthStencilImage"); in loader_init_device_dispatch_table()
229 (PFN_vkCmdClearAttachments)gpa(dev, "vkCmdClearAttachments"); in loader_init_device_dispatch_table()
231 (PFN_vkCmdResolveImage)gpa(dev, "vkCmdResolveImage"); in loader_init_device_dispatch_table()
232 table->CmdSetEvent = (PFN_vkCmdSetEvent)gpa(dev, "vkCmdSetEvent"); in loader_init_device_dispatch_table()
233 table->CmdResetEvent = (PFN_vkCmdResetEvent)gpa(dev, "vkCmdResetEvent"); in loader_init_device_dispatch_table()
234 table->CmdWaitEvents = (PFN_vkCmdWaitEvents)gpa(dev, "vkCmdWaitEvents"); in loader_init_device_dispatch_table()
236 (PFN_vkCmdPipelineBarrier)gpa(dev, "vkCmdPipelineBarrier"); in loader_init_device_dispatch_table()
237 table->CmdBeginQuery = (PFN_vkCmdBeginQuery)gpa(dev, "vkCmdBeginQuery"); in loader_init_device_dispatch_table()
238 table->CmdEndQuery = (PFN_vkCmdEndQuery)gpa(dev, "vkCmdEndQuery"); in loader_init_device_dispatch_table()
240 (PFN_vkCmdResetQueryPool)gpa(dev, "vkCmdResetQueryPool"); in loader_init_device_dispatch_table()
242 (PFN_vkCmdWriteTimestamp)gpa(dev, "vkCmdWriteTimestamp"); in loader_init_device_dispatch_table()
244 (PFN_vkCmdCopyQueryPoolResults)gpa(dev, "vkCmdCopyQueryPoolResults"); in loader_init_device_dispatch_table()
246 (PFN_vkCmdPushConstants)gpa(dev, "vkCmdPushConstants"); in loader_init_device_dispatch_table()
248 (PFN_vkCmdBeginRenderPass)gpa(dev, "vkCmdBeginRenderPass"); in loader_init_device_dispatch_table()
249 table->CmdNextSubpass = (PFN_vkCmdNextSubpass)gpa(dev, "vkCmdNextSubpass"); in loader_init_device_dispatch_table()
251 (PFN_vkCmdEndRenderPass)gpa(dev, "vkCmdEndRenderPass"); in loader_init_device_dispatch_table()
253 (PFN_vkCmdExecuteCommands)gpa(dev, "vkCmdExecuteCommands"); in loader_init_device_dispatch_table()
258 VkDevice dev) { in loader_init_device_extension_dispatch_table() argument
261 (PFN_vkAcquireNextImageKHR)gpa(dev, "vkAcquireNextImageKHR"); in loader_init_device_extension_dispatch_table()
263 (PFN_vkCreateSwapchainKHR)gpa(dev, "vkCreateSwapchainKHR"); in loader_init_device_extension_dispatch_table()
265 (PFN_vkDestroySwapchainKHR)gpa(dev, "vkDestroySwapchainKHR"); in loader_init_device_extension_dispatch_table()
267 (PFN_vkGetSwapchainImagesKHR)gpa(dev, "vkGetSwapchainImagesKHR"); in loader_init_device_extension_dispatch_table()
269 (PFN_vkQueuePresentKHR)gpa(dev, "vkQueuePresentKHR"); in loader_init_device_extension_dispatch_table()
271 (PFN_vkCmdDrawIndirectCountAMD)gpa(dev, "vkCmdDrawIndirectCountAMD"); in loader_init_device_extension_dispatch_table()
274 dev, "vkCmdDrawIndexedIndirectCountAMD"); in loader_init_device_extension_dispatch_table()
277 (PFN_vkGetMemoryWin32HandleNV)gpa(dev, "vkGetMemoryWin32HandleNV"); in loader_init_device_extension_dispatch_table()
280 (PFN_vkCreateSharedSwapchainsKHR)gpa(dev, "vkCreateSharedSwapchainsKHR"); in loader_init_device_extension_dispatch_table()
282 (PFN_vkDebugMarkerSetObjectTagEXT)gpa(dev, "vkDebugMarkerSetObjectTagEXT"); in loader_init_device_extension_dispatch_table()
284 (PFN_vkDebugMarkerSetObjectNameEXT)gpa(dev, "vkDebugMarkerSetObjectNameEXT"); in loader_init_device_extension_dispatch_table()
286 (PFN_vkCmdDebugMarkerBeginEXT)gpa(dev, "vkCmdDebugMarkerBeginEXT"); in loader_init_device_extension_dispatch_table()
288 (PFN_vkCmdDebugMarkerEndEXT)gpa(dev, "vkCmdDebugMarkerEndEXT"); in loader_init_device_extension_dispatch_table()
290 (PFN_vkCmdDebugMarkerInsertEXT)gpa(dev, "vkCmdDebugMarkerInsertEXT"); in loader_init_device_extension_dispatch_table()