1 /* WARNING: This is auto-generated file. Do not modify, since changes will
2 * be lost! Modify the generating script instead.
4 VKAPI_ATTR VkResult VKAPI_CALL createInstance (const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkInstance* pInstance)
7 VK_NULL_RETURN((*pInstance = allocateHandle<Instance, VkInstance>(pCreateInfo, pAllocator)));
10 VKAPI_ATTR VkResult VKAPI_CALL createDevice (VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDevice* pDevice)
13 VK_NULL_RETURN((*pDevice = allocateHandle<Device, VkDevice>(physicalDevice, pCreateInfo, pAllocator)));
16 VKAPI_ATTR VkResult VKAPI_CALL allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory)
19 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator)));
22 VKAPI_ATTR VkResult VKAPI_CALL createFence (VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFence* pFence)
25 VK_NULL_RETURN((*pFence = allocateNonDispHandle<Fence, VkFence>(device, pCreateInfo, pAllocator)));
28 VKAPI_ATTR VkResult VKAPI_CALL createSemaphore (VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore)
31 VK_NULL_RETURN((*pSemaphore = allocateNonDispHandle<Semaphore, VkSemaphore>(device, pCreateInfo, pAllocator)));
34 VKAPI_ATTR VkResult VKAPI_CALL createEvent (VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkEvent* pEvent)
37 VK_NULL_RETURN((*pEvent = allocateNonDispHandle<Event, VkEvent>(device, pCreateInfo, pAllocator)));
40 VKAPI_ATTR VkResult VKAPI_CALL createQueryPool (VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool)
43 VK_NULL_RETURN((*pQueryPool = allocateNonDispHandle<QueryPool, VkQueryPool>(device, pCreateInfo, pAllocator)));
46 VKAPI_ATTR VkResult VKAPI_CALL createBuffer (VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer)
49 VK_NULL_RETURN((*pBuffer = allocateNonDispHandle<Buffer, VkBuffer>(device, pCreateInfo, pAllocator)));
52 VKAPI_ATTR VkResult VKAPI_CALL createBufferView (VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkBufferView* pView)
55 VK_NULL_RETURN((*pView = allocateNonDispHandle<BufferView, VkBufferView>(device, pCreateInfo, pAllocator)));
58 VKAPI_ATTR VkResult VKAPI_CALL createImage (VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImage* pImage)
61 VK_NULL_RETURN((*pImage = allocateNonDispHandle<Image, VkImage>(device, pCreateInfo, pAllocator)));
64 VKAPI_ATTR VkResult VKAPI_CALL createImageView (VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkImageView* pView)
67 VK_NULL_RETURN((*pView = allocateNonDispHandle<ImageView, VkImageView>(device, pCreateInfo, pAllocator)));
70 VKAPI_ATTR VkResult VKAPI_CALL createShaderModule (VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule)
73 VK_NULL_RETURN((*pShaderModule = allocateNonDispHandle<ShaderModule, VkShaderModule>(device, pCreateInfo, pAllocator)));
76 VKAPI_ATTR VkResult VKAPI_CALL createPipelineCache (VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache)
79 VK_NULL_RETURN((*pPipelineCache = allocateNonDispHandle<PipelineCache, VkPipelineCache>(device, pCreateInfo, pAllocator)));
82 VKAPI_ATTR VkResult VKAPI_CALL createPipelineLayout (VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout)
85 VK_NULL_RETURN((*pPipelineLayout = allocateNonDispHandle<PipelineLayout, VkPipelineLayout>(device, pCreateInfo, pAllocator)));
88 VKAPI_ATTR VkResult VKAPI_CALL createSampler (VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSampler* pSampler)
91 VK_NULL_RETURN((*pSampler = allocateNonDispHandle<Sampler, VkSampler>(device, pCreateInfo, pAllocator)));
94 VKAPI_ATTR VkResult VKAPI_CALL createDescriptorSetLayout (VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout)
97 VK_NULL_RETURN((*pSetLayout = allocateNonDispHandle<DescriptorSetLayout, VkDescriptorSetLayout>(device, pCreateInfo, pAllocator)));
100 VKAPI_ATTR VkResult VKAPI_CALL createDescriptorPool (VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool)
102 DE_UNREF(pAllocator);
103 VK_NULL_RETURN((*pDescriptorPool = allocateNonDispHandle<DescriptorPool, VkDescriptorPool>(device, pCreateInfo, pAllocator)));
106 VKAPI_ATTR VkResult VKAPI_CALL createFramebuffer (VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer)
108 DE_UNREF(pAllocator);
109 VK_NULL_RETURN((*pFramebuffer = allocateNonDispHandle<Framebuffer, VkFramebuffer>(device, pCreateInfo, pAllocator)));
112 VKAPI_ATTR VkResult VKAPI_CALL createRenderPass (VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass)
114 DE_UNREF(pAllocator);
115 VK_NULL_RETURN((*pRenderPass = allocateNonDispHandle<RenderPass, VkRenderPass>(device, pCreateInfo, pAllocator)));
118 VKAPI_ATTR VkResult VKAPI_CALL createCommandPool (VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool)
120 DE_UNREF(pAllocator);
121 VK_NULL_RETURN((*pCommandPool = allocateNonDispHandle<CommandPool, VkCommandPool>(device, pCreateInfo, pAllocator)));
124 VKAPI_ATTR VkResult VKAPI_CALL createSwapchainKHR (VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain)
126 DE_UNREF(pAllocator);
127 VK_NULL_RETURN((*pSwapchain = allocateNonDispHandle<SwapchainKHR, VkSwapchainKHR>(device, pCreateInfo, pAllocator)));
130 VKAPI_ATTR VkResult VKAPI_CALL createDisplayPlaneSurfaceKHR (VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
132 DE_UNREF(pAllocator);
133 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
136 VKAPI_ATTR VkResult VKAPI_CALL createXlibSurfaceKHR (VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
138 DE_UNREF(pAllocator);
139 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
142 VKAPI_ATTR VkResult VKAPI_CALL createXcbSurfaceKHR (VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
144 DE_UNREF(pAllocator);
145 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
148 VKAPI_ATTR VkResult VKAPI_CALL createWaylandSurfaceKHR (VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
150 DE_UNREF(pAllocator);
151 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
154 VKAPI_ATTR VkResult VKAPI_CALL createMirSurfaceKHR (VkInstance instance, const VkMirSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
156 DE_UNREF(pAllocator);
157 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
160 VKAPI_ATTR VkResult VKAPI_CALL createAndroidSurfaceKHR (VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
162 DE_UNREF(pAllocator);
163 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
166 VKAPI_ATTR VkResult VKAPI_CALL createWin32SurfaceKHR (VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface)
168 DE_UNREF(pAllocator);
169 VK_NULL_RETURN((*pSurface = allocateNonDispHandle<SurfaceKHR, VkSurfaceKHR>(instance, pCreateInfo, pAllocator)));
172 VKAPI_ATTR VkResult VKAPI_CALL createDebugReportCallbackEXT (VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback)
174 DE_UNREF(pAllocator);
175 VK_NULL_RETURN((*pCallback = allocateNonDispHandle<DebugReportCallbackEXT, VkDebugReportCallbackEXT>(instance, pCreateInfo, pAllocator)));
178 VKAPI_ATTR void VKAPI_CALL destroyInstance (VkInstance instance, const VkAllocationCallbacks* pAllocator)
180 freeHandle<Instance, VkInstance>(instance, pAllocator);
183 VKAPI_ATTR void VKAPI_CALL destroyDevice (VkDevice device, const VkAllocationCallbacks* pAllocator)
185 freeHandle<Device, VkDevice>(device, pAllocator);
188 VKAPI_ATTR void VKAPI_CALL freeMemory (VkDevice device, VkDeviceMemory memory, const VkAllocationCallbacks* pAllocator)
191 freeNonDispHandle<DeviceMemory, VkDeviceMemory>(memory, pAllocator);
194 VKAPI_ATTR void VKAPI_CALL destroyFence (VkDevice device, VkFence fence, const VkAllocationCallbacks* pAllocator)
197 freeNonDispHandle<Fence, VkFence>(fence, pAllocator);
200 VKAPI_ATTR void VKAPI_CALL destroySemaphore (VkDevice device, VkSemaphore semaphore, const VkAllocationCallbacks* pAllocator)
203 freeNonDispHandle<Semaphore, VkSemaphore>(semaphore, pAllocator);
206 VKAPI_ATTR void VKAPI_CALL destroyEvent (VkDevice device, VkEvent event, const VkAllocationCallbacks* pAllocator)
209 freeNonDispHandle<Event, VkEvent>(event, pAllocator);
212 VKAPI_ATTR void VKAPI_CALL destroyQueryPool (VkDevice device, VkQueryPool queryPool, const VkAllocationCallbacks* pAllocator)
215 freeNonDispHandle<QueryPool, VkQueryPool>(queryPool, pAllocator);
218 VKAPI_ATTR void VKAPI_CALL destroyBuffer (VkDevice device, VkBuffer buffer, const VkAllocationCallbacks* pAllocator)
221 freeNonDispHandle<Buffer, VkBuffer>(buffer, pAllocator);
224 VKAPI_ATTR void VKAPI_CALL destroyBufferView (VkDevice device, VkBufferView bufferView, const VkAllocationCallbacks* pAllocator)
227 freeNonDispHandle<BufferView, VkBufferView>(bufferView, pAllocator);
230 VKAPI_ATTR void VKAPI_CALL destroyImage (VkDevice device, VkImage image, const VkAllocationCallbacks* pAllocator)
233 freeNonDispHandle<Image, VkImage>(image, pAllocator);
236 VKAPI_ATTR void VKAPI_CALL destroyImageView (VkDevice device, VkImageView imageView, const VkAllocationCallbacks* pAllocator)
239 freeNonDispHandle<ImageView, VkImageView>(imageView, pAllocator);
242 VKAPI_ATTR void VKAPI_CALL destroyShaderModule (VkDevice device, VkShaderModule shaderModule, const VkAllocationCallbacks* pAllocator)
245 freeNonDispHandle<ShaderModule, VkShaderModule>(shaderModule, pAllocator);
248 VKAPI_ATTR void VKAPI_CALL destroyPipelineCache (VkDevice device, VkPipelineCache pipelineCache, const VkAllocationCallbacks* pAllocator)
251 freeNonDispHandle<PipelineCache, VkPipelineCache>(pipelineCache, pAllocator);
254 VKAPI_ATTR void VKAPI_CALL destroyPipeline (VkDevice device, VkPipeline pipeline, const VkAllocationCallbacks* pAllocator)
257 freeNonDispHandle<Pipeline, VkPipeline>(pipeline, pAllocator);
260 VKAPI_ATTR void VKAPI_CALL destroyPipelineLayout (VkDevice device, VkPipelineLayout pipelineLayout, const VkAllocationCallbacks* pAllocator)
263 freeNonDispHandle<PipelineLayout, VkPipelineLayout>(pipelineLayout, pAllocator);
266 VKAPI_ATTR void VKAPI_CALL destroySampler (VkDevice device, VkSampler sampler, const VkAllocationCallbacks* pAllocator)
269 freeNonDispHandle<Sampler, VkSampler>(sampler, pAllocator);
272 VKAPI_ATTR void VKAPI_CALL destroyDescriptorSetLayout (VkDevice device, VkDescriptorSetLayout descriptorSetLayout, const VkAllocationCallbacks* pAllocator)
275 freeNonDispHandle<DescriptorSetLayout, VkDescriptorSetLayout>(descriptorSetLayout, pAllocator);
278 VKAPI_ATTR void VKAPI_CALL destroyDescriptorPool (VkDevice device, VkDescriptorPool descriptorPool, const VkAllocationCallbacks* pAllocator)
281 freeNonDispHandle<DescriptorPool, VkDescriptorPool>(descriptorPool, pAllocator);
284 VKAPI_ATTR void VKAPI_CALL destroyFramebuffer (VkDevice device, VkFramebuffer framebuffer, const VkAllocationCallbacks* pAllocator)
287 freeNonDispHandle<Framebuffer, VkFramebuffer>(framebuffer, pAllocator);
290 VKAPI_ATTR void VKAPI_CALL destroyRenderPass (VkDevice device, VkRenderPass renderPass, const VkAllocationCallbacks* pAllocator)
293 freeNonDispHandle<RenderPass, VkRenderPass>(renderPass, pAllocator);
296 VKAPI_ATTR void VKAPI_CALL destroyCommandPool (VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks* pAllocator)
299 freeNonDispHandle<CommandPool, VkCommandPool>(commandPool, pAllocator);
302 VKAPI_ATTR void VKAPI_CALL destroySurfaceKHR (VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator)
305 freeNonDispHandle<SurfaceKHR, VkSurfaceKHR>(surface, pAllocator);
308 VKAPI_ATTR void VKAPI_CALL destroySwapchainKHR (VkDevice device, VkSwapchainKHR swapchain, const VkAllocationCallbacks* pAllocator)
311 freeNonDispHandle<SwapchainKHR, VkSwapchainKHR>(swapchain, pAllocator);
314 VKAPI_ATTR void VKAPI_CALL destroyDebugReportCallbackEXT (VkInstance instance, VkDebugReportCallbackEXT callback, const VkAllocationCallbacks* pAllocator)
317 freeNonDispHandle<DebugReportCallbackEXT, VkDebugReportCallbackEXT>(callback, pAllocator);
320 VKAPI_ATTR void VKAPI_CALL getPhysicalDeviceFeatures (VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures)
322 DE_UNREF(physicalDevice);
326 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceImageFormatProperties (VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties)
328 DE_UNREF(physicalDevice);
334 DE_UNREF(pImageFormatProperties);
338 VKAPI_ATTR VkResult VKAPI_CALL enumerateInstanceExtensionProperties (const char* pLayerName, deUint32* pPropertyCount, VkExtensionProperties* pProperties)
340 DE_UNREF(pLayerName);
341 DE_UNREF(pPropertyCount);
342 DE_UNREF(pProperties);
346 VKAPI_ATTR VkResult VKAPI_CALL enumerateDeviceExtensionProperties (VkPhysicalDevice physicalDevice, const char* pLayerName, deUint32* pPropertyCount, VkExtensionProperties* pProperties)
348 DE_UNREF(physicalDevice);
349 DE_UNREF(pLayerName);
350 DE_UNREF(pPropertyCount);
351 DE_UNREF(pProperties);
355 VKAPI_ATTR VkResult VKAPI_CALL enumerateInstanceLayerProperties (deUint32* pPropertyCount, VkLayerProperties* pProperties)
357 DE_UNREF(pPropertyCount);
358 DE_UNREF(pProperties);
362 VKAPI_ATTR VkResult VKAPI_CALL enumerateDeviceLayerProperties (VkPhysicalDevice physicalDevice, deUint32* pPropertyCount, VkLayerProperties* pProperties)
364 DE_UNREF(physicalDevice);
365 DE_UNREF(pPropertyCount);
366 DE_UNREF(pProperties);
370 VKAPI_ATTR void VKAPI_CALL getDeviceQueue (VkDevice device, deUint32 queueFamilyIndex, deUint32 queueIndex, VkQueue* pQueue)
373 DE_UNREF(queueFamilyIndex);
374 DE_UNREF(queueIndex);
378 VKAPI_ATTR VkResult VKAPI_CALL queueSubmit (VkQueue queue, deUint32 submitCount, const VkSubmitInfo* pSubmits, VkFence fence)
381 DE_UNREF(submitCount);
387 VKAPI_ATTR VkResult VKAPI_CALL queueWaitIdle (VkQueue queue)
393 VKAPI_ATTR VkResult VKAPI_CALL deviceWaitIdle (VkDevice device)
399 VKAPI_ATTR void VKAPI_CALL unmapMemory (VkDevice device, VkDeviceMemory memory)
405 VKAPI_ATTR VkResult VKAPI_CALL flushMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges)
408 DE_UNREF(memoryRangeCount);
409 DE_UNREF(pMemoryRanges);
413 VKAPI_ATTR VkResult VKAPI_CALL invalidateMappedMemoryRanges (VkDevice device, deUint32 memoryRangeCount, const VkMappedMemoryRange* pMemoryRanges)
416 DE_UNREF(memoryRangeCount);
417 DE_UNREF(pMemoryRanges);
421 VKAPI_ATTR void VKAPI_CALL getDeviceMemoryCommitment (VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes)
425 DE_UNREF(pCommittedMemoryInBytes);
428 VKAPI_ATTR VkResult VKAPI_CALL bindBufferMemory (VkDevice device, VkBuffer buffer, VkDeviceMemory memory, VkDeviceSize memoryOffset)
433 DE_UNREF(memoryOffset);
437 VKAPI_ATTR VkResult VKAPI_CALL bindImageMemory (VkDevice device, VkImage image, VkDeviceMemory memory, VkDeviceSize memoryOffset)
442 DE_UNREF(memoryOffset);
446 VKAPI_ATTR void VKAPI_CALL getImageSparseMemoryRequirements (VkDevice device, VkImage image, deUint32* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements)
450 DE_UNREF(pSparseMemoryRequirementCount);
451 DE_UNREF(pSparseMemoryRequirements);
454 VKAPI_ATTR void VKAPI_CALL getPhysicalDeviceSparseImageFormatProperties (VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, deUint32* pPropertyCount, VkSparseImageFormatProperties* pProperties)
456 DE_UNREF(physicalDevice);
462 DE_UNREF(pPropertyCount);
463 DE_UNREF(pProperties);
466 VKAPI_ATTR VkResult VKAPI_CALL queueBindSparse (VkQueue queue, deUint32 bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence)
469 DE_UNREF(bindInfoCount);
475 VKAPI_ATTR VkResult VKAPI_CALL resetFences (VkDevice device, deUint32 fenceCount, const VkFence* pFences)
478 DE_UNREF(fenceCount);
483 VKAPI_ATTR VkResult VKAPI_CALL getFenceStatus (VkDevice device, VkFence fence)
490 VKAPI_ATTR VkResult VKAPI_CALL waitForFences (VkDevice device, deUint32 fenceCount, const VkFence* pFences, VkBool32 waitAll, deUint64 timeout)
493 DE_UNREF(fenceCount);
500 VKAPI_ATTR VkResult VKAPI_CALL getEventStatus (VkDevice device, VkEvent event)
507 VKAPI_ATTR VkResult VKAPI_CALL setEvent (VkDevice device, VkEvent event)
514 VKAPI_ATTR VkResult VKAPI_CALL resetEvent (VkDevice device, VkEvent event)
521 VKAPI_ATTR VkResult VKAPI_CALL getQueryPoolResults (VkDevice device, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, deUintptr dataSize, void* pData, VkDeviceSize stride, VkQueryResultFlags flags)
525 DE_UNREF(firstQuery);
526 DE_UNREF(queryCount);
534 VKAPI_ATTR void VKAPI_CALL getImageSubresourceLayout (VkDevice device, VkImage image, const VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout)
538 DE_UNREF(pSubresource);
542 VKAPI_ATTR VkResult VKAPI_CALL getPipelineCacheData (VkDevice device, VkPipelineCache pipelineCache, deUintptr* pDataSize, void* pData)
545 DE_UNREF(pipelineCache);
551 VKAPI_ATTR VkResult VKAPI_CALL mergePipelineCaches (VkDevice device, VkPipelineCache dstCache, deUint32 srcCacheCount, const VkPipelineCache* pSrcCaches)
555 DE_UNREF(srcCacheCount);
556 DE_UNREF(pSrcCaches);
560 VKAPI_ATTR void VKAPI_CALL updateDescriptorSets (VkDevice device, deUint32 descriptorWriteCount, const VkWriteDescriptorSet* pDescriptorWrites, deUint32 descriptorCopyCount, const VkCopyDescriptorSet* pDescriptorCopies)
563 DE_UNREF(descriptorWriteCount);
564 DE_UNREF(pDescriptorWrites);
565 DE_UNREF(descriptorCopyCount);
566 DE_UNREF(pDescriptorCopies);
569 VKAPI_ATTR void VKAPI_CALL getRenderAreaGranularity (VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity)
572 DE_UNREF(renderPass);
573 DE_UNREF(pGranularity);
576 VKAPI_ATTR VkResult VKAPI_CALL resetCommandPool (VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags)
579 DE_UNREF(commandPool);
584 VKAPI_ATTR VkResult VKAPI_CALL beginCommandBuffer (VkCommandBuffer commandBuffer, const VkCommandBufferBeginInfo* pBeginInfo)
586 DE_UNREF(commandBuffer);
587 DE_UNREF(pBeginInfo);
591 VKAPI_ATTR VkResult VKAPI_CALL endCommandBuffer (VkCommandBuffer commandBuffer)
593 DE_UNREF(commandBuffer);
597 VKAPI_ATTR VkResult VKAPI_CALL resetCommandBuffer (VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags)
599 DE_UNREF(commandBuffer);
604 VKAPI_ATTR void VKAPI_CALL cmdBindPipeline (VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline)
606 DE_UNREF(commandBuffer);
607 DE_UNREF(pipelineBindPoint);
611 VKAPI_ATTR void VKAPI_CALL cmdSetViewport (VkCommandBuffer commandBuffer, deUint32 firstViewport, deUint32 viewportCount, const VkViewport* pViewports)
613 DE_UNREF(commandBuffer);
614 DE_UNREF(firstViewport);
615 DE_UNREF(viewportCount);
616 DE_UNREF(pViewports);
619 VKAPI_ATTR void VKAPI_CALL cmdSetScissor (VkCommandBuffer commandBuffer, deUint32 firstScissor, deUint32 scissorCount, const VkRect2D* pScissors)
621 DE_UNREF(commandBuffer);
622 DE_UNREF(firstScissor);
623 DE_UNREF(scissorCount);
627 VKAPI_ATTR void VKAPI_CALL cmdSetLineWidth (VkCommandBuffer commandBuffer, float lineWidth)
629 DE_UNREF(commandBuffer);
633 VKAPI_ATTR void VKAPI_CALL cmdSetDepthBias (VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor)
635 DE_UNREF(commandBuffer);
636 DE_UNREF(depthBiasConstantFactor);
637 DE_UNREF(depthBiasClamp);
638 DE_UNREF(depthBiasSlopeFactor);
641 VKAPI_ATTR void VKAPI_CALL cmdSetBlendConstants (VkCommandBuffer commandBuffer, const float blendConstants[4])
643 DE_UNREF(commandBuffer);
644 DE_UNREF(blendConstants);
647 VKAPI_ATTR void VKAPI_CALL cmdSetDepthBounds (VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds)
649 DE_UNREF(commandBuffer);
650 DE_UNREF(minDepthBounds);
651 DE_UNREF(maxDepthBounds);
654 VKAPI_ATTR void VKAPI_CALL cmdSetStencilCompareMask (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 compareMask)
656 DE_UNREF(commandBuffer);
658 DE_UNREF(compareMask);
661 VKAPI_ATTR void VKAPI_CALL cmdSetStencilWriteMask (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 writeMask)
663 DE_UNREF(commandBuffer);
668 VKAPI_ATTR void VKAPI_CALL cmdSetStencilReference (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 reference)
670 DE_UNREF(commandBuffer);
675 VKAPI_ATTR void VKAPI_CALL cmdBindDescriptorSets (VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, deUint32 firstSet, deUint32 descriptorSetCount, const VkDescriptorSet* pDescriptorSets, deUint32 dynamicOffsetCount, const deUint32* pDynamicOffsets)
677 DE_UNREF(commandBuffer);
678 DE_UNREF(pipelineBindPoint);
681 DE_UNREF(descriptorSetCount);
682 DE_UNREF(pDescriptorSets);
683 DE_UNREF(dynamicOffsetCount);
684 DE_UNREF(pDynamicOffsets);
687 VKAPI_ATTR void VKAPI_CALL cmdBindIndexBuffer (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkIndexType indexType)
689 DE_UNREF(commandBuffer);
695 VKAPI_ATTR void VKAPI_CALL cmdBindVertexBuffers (VkCommandBuffer commandBuffer, deUint32 firstBinding, deUint32 bindingCount, const VkBuffer* pBuffers, const VkDeviceSize* pOffsets)
697 DE_UNREF(commandBuffer);
698 DE_UNREF(firstBinding);
699 DE_UNREF(bindingCount);
704 VKAPI_ATTR void VKAPI_CALL cmdDraw (VkCommandBuffer commandBuffer, deUint32 vertexCount, deUint32 instanceCount, deUint32 firstVertex, deUint32 firstInstance)
706 DE_UNREF(commandBuffer);
707 DE_UNREF(vertexCount);
708 DE_UNREF(instanceCount);
709 DE_UNREF(firstVertex);
710 DE_UNREF(firstInstance);
713 VKAPI_ATTR void VKAPI_CALL cmdDrawIndexed (VkCommandBuffer commandBuffer, deUint32 indexCount, deUint32 instanceCount, deUint32 firstIndex, deInt32 vertexOffset, deUint32 firstInstance)
715 DE_UNREF(commandBuffer);
716 DE_UNREF(indexCount);
717 DE_UNREF(instanceCount);
718 DE_UNREF(firstIndex);
719 DE_UNREF(vertexOffset);
720 DE_UNREF(firstInstance);
723 VKAPI_ATTR void VKAPI_CALL cmdDrawIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint32 drawCount, deUint32 stride)
725 DE_UNREF(commandBuffer);
732 VKAPI_ATTR void VKAPI_CALL cmdDrawIndexedIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, deUint32 drawCount, deUint32 stride)
734 DE_UNREF(commandBuffer);
741 VKAPI_ATTR void VKAPI_CALL cmdDispatch (VkCommandBuffer commandBuffer, deUint32 x, deUint32 y, deUint32 z)
743 DE_UNREF(commandBuffer);
749 VKAPI_ATTR void VKAPI_CALL cmdDispatchIndirect (VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset)
751 DE_UNREF(commandBuffer);
756 VKAPI_ATTR void VKAPI_CALL cmdCopyBuffer (VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferCopy* pRegions)
758 DE_UNREF(commandBuffer);
761 DE_UNREF(regionCount);
765 VKAPI_ATTR void VKAPI_CALL cmdCopyImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageCopy* pRegions)
767 DE_UNREF(commandBuffer);
769 DE_UNREF(srcImageLayout);
771 DE_UNREF(dstImageLayout);
772 DE_UNREF(regionCount);
776 VKAPI_ATTR void VKAPI_CALL cmdBlitImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageBlit* pRegions, VkFilter filter)
778 DE_UNREF(commandBuffer);
780 DE_UNREF(srcImageLayout);
782 DE_UNREF(dstImageLayout);
783 DE_UNREF(regionCount);
788 VKAPI_ATTR void VKAPI_CALL cmdCopyBufferToImage (VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkBufferImageCopy* pRegions)
790 DE_UNREF(commandBuffer);
793 DE_UNREF(dstImageLayout);
794 DE_UNREF(regionCount);
798 VKAPI_ATTR void VKAPI_CALL cmdCopyImageToBuffer (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, deUint32 regionCount, const VkBufferImageCopy* pRegions)
800 DE_UNREF(commandBuffer);
802 DE_UNREF(srcImageLayout);
804 DE_UNREF(regionCount);
808 VKAPI_ATTR void VKAPI_CALL cmdUpdateBuffer (VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize dataSize, const void* pData)
810 DE_UNREF(commandBuffer);
817 VKAPI_ATTR void VKAPI_CALL cmdFillBuffer (VkCommandBuffer commandBuffer, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize size, deUint32 data)
819 DE_UNREF(commandBuffer);
826 VKAPI_ATTR void VKAPI_CALL cmdClearColorImage (VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearColorValue* pColor, deUint32 rangeCount, const VkImageSubresourceRange* pRanges)
828 DE_UNREF(commandBuffer);
830 DE_UNREF(imageLayout);
832 DE_UNREF(rangeCount);
836 VKAPI_ATTR void VKAPI_CALL cmdClearDepthStencilImage (VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, const VkClearDepthStencilValue* pDepthStencil, deUint32 rangeCount, const VkImageSubresourceRange* pRanges)
838 DE_UNREF(commandBuffer);
840 DE_UNREF(imageLayout);
841 DE_UNREF(pDepthStencil);
842 DE_UNREF(rangeCount);
846 VKAPI_ATTR void VKAPI_CALL cmdClearAttachments (VkCommandBuffer commandBuffer, deUint32 attachmentCount, const VkClearAttachment* pAttachments, deUint32 rectCount, const VkClearRect* pRects)
848 DE_UNREF(commandBuffer);
849 DE_UNREF(attachmentCount);
850 DE_UNREF(pAttachments);
855 VKAPI_ATTR void VKAPI_CALL cmdResolveImage (VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, deUint32 regionCount, const VkImageResolve* pRegions)
857 DE_UNREF(commandBuffer);
859 DE_UNREF(srcImageLayout);
861 DE_UNREF(dstImageLayout);
862 DE_UNREF(regionCount);
866 VKAPI_ATTR void VKAPI_CALL cmdSetEvent (VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
868 DE_UNREF(commandBuffer);
873 VKAPI_ATTR void VKAPI_CALL cmdResetEvent (VkCommandBuffer commandBuffer, VkEvent event, VkPipelineStageFlags stageMask)
875 DE_UNREF(commandBuffer);
880 VKAPI_ATTR void VKAPI_CALL cmdWaitEvents (VkCommandBuffer commandBuffer, deUint32 eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, deUint32 memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, deUint32 bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, deUint32 imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers)
882 DE_UNREF(commandBuffer);
883 DE_UNREF(eventCount);
885 DE_UNREF(srcStageMask);
886 DE_UNREF(dstStageMask);
887 DE_UNREF(memoryBarrierCount);
888 DE_UNREF(pMemoryBarriers);
889 DE_UNREF(bufferMemoryBarrierCount);
890 DE_UNREF(pBufferMemoryBarriers);
891 DE_UNREF(imageMemoryBarrierCount);
892 DE_UNREF(pImageMemoryBarriers);
895 VKAPI_ATTR void VKAPI_CALL cmdPipelineBarrier (VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, deUint32 memoryBarrierCount, const VkMemoryBarrier* pMemoryBarriers, deUint32 bufferMemoryBarrierCount, const VkBufferMemoryBarrier* pBufferMemoryBarriers, deUint32 imageMemoryBarrierCount, const VkImageMemoryBarrier* pImageMemoryBarriers)
897 DE_UNREF(commandBuffer);
898 DE_UNREF(srcStageMask);
899 DE_UNREF(dstStageMask);
900 DE_UNREF(dependencyFlags);
901 DE_UNREF(memoryBarrierCount);
902 DE_UNREF(pMemoryBarriers);
903 DE_UNREF(bufferMemoryBarrierCount);
904 DE_UNREF(pBufferMemoryBarriers);
905 DE_UNREF(imageMemoryBarrierCount);
906 DE_UNREF(pImageMemoryBarriers);
909 VKAPI_ATTR void VKAPI_CALL cmdBeginQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 query, VkQueryControlFlags flags)
911 DE_UNREF(commandBuffer);
917 VKAPI_ATTR void VKAPI_CALL cmdEndQuery (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 query)
919 DE_UNREF(commandBuffer);
924 VKAPI_ATTR void VKAPI_CALL cmdResetQueryPool (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount)
926 DE_UNREF(commandBuffer);
928 DE_UNREF(firstQuery);
929 DE_UNREF(queryCount);
932 VKAPI_ATTR void VKAPI_CALL cmdWriteTimestamp (VkCommandBuffer commandBuffer, VkPipelineStageFlagBits pipelineStage, VkQueryPool queryPool, deUint32 query)
934 DE_UNREF(commandBuffer);
935 DE_UNREF(pipelineStage);
940 VKAPI_ATTR void VKAPI_CALL cmdCopyQueryPoolResults (VkCommandBuffer commandBuffer, VkQueryPool queryPool, deUint32 firstQuery, deUint32 queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags)
942 DE_UNREF(commandBuffer);
944 DE_UNREF(firstQuery);
945 DE_UNREF(queryCount);
952 VKAPI_ATTR void VKAPI_CALL cmdPushConstants (VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, deUint32 offset, deUint32 size, const void* pValues)
954 DE_UNREF(commandBuffer);
956 DE_UNREF(stageFlags);
962 VKAPI_ATTR void VKAPI_CALL cmdBeginRenderPass (VkCommandBuffer commandBuffer, const VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents)
964 DE_UNREF(commandBuffer);
965 DE_UNREF(pRenderPassBegin);
969 VKAPI_ATTR void VKAPI_CALL cmdNextSubpass (VkCommandBuffer commandBuffer, VkSubpassContents contents)
971 DE_UNREF(commandBuffer);
975 VKAPI_ATTR void VKAPI_CALL cmdEndRenderPass (VkCommandBuffer commandBuffer)
977 DE_UNREF(commandBuffer);
980 VKAPI_ATTR void VKAPI_CALL cmdExecuteCommands (VkCommandBuffer commandBuffer, deUint32 commandBufferCount, const VkCommandBuffer* pCommandBuffers)
982 DE_UNREF(commandBuffer);
983 DE_UNREF(commandBufferCount);
984 DE_UNREF(pCommandBuffers);
987 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceSurfaceSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported)
989 DE_UNREF(physicalDevice);
990 DE_UNREF(queueFamilyIndex);
992 DE_UNREF(pSupported);
996 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceSurfaceCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities)
998 DE_UNREF(physicalDevice);
1000 DE_UNREF(pSurfaceCapabilities);
1004 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceSurfaceFormatsKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats)
1006 DE_UNREF(physicalDevice);
1008 DE_UNREF(pSurfaceFormatCount);
1009 DE_UNREF(pSurfaceFormats);
1013 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceSurfacePresentModesKHR (VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, deUint32* pPresentModeCount, VkPresentModeKHR* pPresentModes)
1015 DE_UNREF(physicalDevice);
1017 DE_UNREF(pPresentModeCount);
1018 DE_UNREF(pPresentModes);
1022 VKAPI_ATTR VkResult VKAPI_CALL getSwapchainImagesKHR (VkDevice device, VkSwapchainKHR swapchain, deUint32* pSwapchainImageCount, VkImage* pSwapchainImages)
1025 DE_UNREF(swapchain);
1026 DE_UNREF(pSwapchainImageCount);
1027 DE_UNREF(pSwapchainImages);
1031 VKAPI_ATTR VkResult VKAPI_CALL acquireNextImageKHR (VkDevice device, VkSwapchainKHR swapchain, deUint64 timeout, VkSemaphore semaphore, VkFence fence, deUint32* pImageIndex)
1034 DE_UNREF(swapchain);
1036 DE_UNREF(semaphore);
1038 DE_UNREF(pImageIndex);
1042 VKAPI_ATTR VkResult VKAPI_CALL queuePresentKHR (VkQueue queue, const VkPresentInfoKHR* pPresentInfo)
1045 DE_UNREF(pPresentInfo);
1049 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceDisplayPropertiesKHR (VkPhysicalDevice physicalDevice, deUint32* pPropertyCount, VkDisplayPropertiesKHR* pProperties)
1051 DE_UNREF(physicalDevice);
1052 DE_UNREF(pPropertyCount);
1053 DE_UNREF(pProperties);
1057 VKAPI_ATTR VkResult VKAPI_CALL getPhysicalDeviceDisplayPlanePropertiesKHR (VkPhysicalDevice physicalDevice, deUint32* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties)
1059 DE_UNREF(physicalDevice);
1060 DE_UNREF(pPropertyCount);
1061 DE_UNREF(pProperties);
1065 VKAPI_ATTR VkResult VKAPI_CALL getDisplayPlaneSupportedDisplaysKHR (VkPhysicalDevice physicalDevice, deUint32 planeIndex, deUint32* pDisplayCount, VkDisplayKHR* pDisplays)
1067 DE_UNREF(physicalDevice);
1068 DE_UNREF(planeIndex);
1069 DE_UNREF(pDisplayCount);
1070 DE_UNREF(pDisplays);
1074 VKAPI_ATTR VkResult VKAPI_CALL getDisplayModePropertiesKHR (VkPhysicalDevice physicalDevice, VkDisplayKHR display, deUint32* pPropertyCount, VkDisplayModePropertiesKHR* pProperties)
1076 DE_UNREF(physicalDevice);
1078 DE_UNREF(pPropertyCount);
1079 DE_UNREF(pProperties);
1083 VKAPI_ATTR VkResult VKAPI_CALL getDisplayPlaneCapabilitiesKHR (VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, deUint32 planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities)
1085 DE_UNREF(physicalDevice);
1087 DE_UNREF(planeIndex);
1088 DE_UNREF(pCapabilities);
1092 VKAPI_ATTR VkBool32 VKAPI_CALL getPhysicalDeviceXlibPresentationSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, pt::XlibDisplayPtr dpy, pt::XlibVisualID visualID)
1094 DE_UNREF(physicalDevice);
1095 DE_UNREF(queueFamilyIndex);
1101 VKAPI_ATTR VkBool32 VKAPI_CALL getPhysicalDeviceXcbPresentationSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, pt::XcbConnectionPtr connection, pt::XcbVisualid visual_id)
1103 DE_UNREF(physicalDevice);
1104 DE_UNREF(queueFamilyIndex);
1105 DE_UNREF(connection);
1106 DE_UNREF(visual_id);
1110 VKAPI_ATTR VkBool32 VKAPI_CALL getPhysicalDeviceWaylandPresentationSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, pt::WaylandDisplayPtr display)
1112 DE_UNREF(physicalDevice);
1113 DE_UNREF(queueFamilyIndex);
1118 VKAPI_ATTR VkBool32 VKAPI_CALL getPhysicalDeviceMirPresentationSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex, pt::MirConnectionPtr connection)
1120 DE_UNREF(physicalDevice);
1121 DE_UNREF(queueFamilyIndex);
1122 DE_UNREF(connection);
1126 VKAPI_ATTR VkBool32 VKAPI_CALL getPhysicalDeviceWin32PresentationSupportKHR (VkPhysicalDevice physicalDevice, deUint32 queueFamilyIndex)
1128 DE_UNREF(physicalDevice);
1129 DE_UNREF(queueFamilyIndex);
1133 VKAPI_ATTR void VKAPI_CALL debugReportMessageEXT (VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, deUint64 object, deUintptr location, deInt32 messageCode, const char* pLayerPrefix, const char* pMessage)
1137 DE_UNREF(objectType);
1140 DE_UNREF(messageCode);
1141 DE_UNREF(pLayerPrefix);
1145 VKAPI_ATTR VkResult VKAPI_CALL debugMarkerSetObjectTagEXT (VkDevice device, VkDebugMarkerObjectTagInfoEXT* pTagInfo)
1152 VKAPI_ATTR VkResult VKAPI_CALL debugMarkerSetObjectNameEXT (VkDevice device, VkDebugMarkerObjectNameInfoEXT* pNameInfo)
1155 DE_UNREF(pNameInfo);
1159 VKAPI_ATTR void VKAPI_CALL cmdDebugMarkerBeginEXT (VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo)
1161 DE_UNREF(commandBuffer);
1162 DE_UNREF(pMarkerInfo);
1165 VKAPI_ATTR void VKAPI_CALL cmdDebugMarkerEndEXT (VkCommandBuffer commandBuffer)
1167 DE_UNREF(commandBuffer);
1170 VKAPI_ATTR void VKAPI_CALL cmdDebugMarkerInsertEXT (VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo)
1172 DE_UNREF(commandBuffer);
1173 DE_UNREF(pMarkerInfo);
1176 static const tcu::StaticFunctionLibrary::Entry s_platformFunctions[] =
1178 VK_NULL_FUNC_ENTRY(vkCreateInstance, createInstance),
1179 VK_NULL_FUNC_ENTRY(vkGetInstanceProcAddr, getInstanceProcAddr),
1180 VK_NULL_FUNC_ENTRY(vkEnumerateInstanceExtensionProperties, enumerateInstanceExtensionProperties),
1181 VK_NULL_FUNC_ENTRY(vkEnumerateInstanceLayerProperties, enumerateInstanceLayerProperties),
1184 static const tcu::StaticFunctionLibrary::Entry s_instanceFunctions[] =
1186 VK_NULL_FUNC_ENTRY(vkDestroyInstance, destroyInstance),
1187 VK_NULL_FUNC_ENTRY(vkEnumeratePhysicalDevices, enumeratePhysicalDevices),
1188 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceFeatures, getPhysicalDeviceFeatures),
1189 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceFormatProperties, getPhysicalDeviceFormatProperties),
1190 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceImageFormatProperties, getPhysicalDeviceImageFormatProperties),
1191 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceProperties, getPhysicalDeviceProperties),
1192 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceQueueFamilyProperties, getPhysicalDeviceQueueFamilyProperties),
1193 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceMemoryProperties, getPhysicalDeviceMemoryProperties),
1194 VK_NULL_FUNC_ENTRY(vkGetDeviceProcAddr, getDeviceProcAddr),
1195 VK_NULL_FUNC_ENTRY(vkCreateDevice, createDevice),
1196 VK_NULL_FUNC_ENTRY(vkEnumerateDeviceExtensionProperties, enumerateDeviceExtensionProperties),
1197 VK_NULL_FUNC_ENTRY(vkEnumerateDeviceLayerProperties, enumerateDeviceLayerProperties),
1198 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceSparseImageFormatProperties, getPhysicalDeviceSparseImageFormatProperties),
1199 VK_NULL_FUNC_ENTRY(vkDestroySurfaceKHR, destroySurfaceKHR),
1200 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceSurfaceSupportKHR, getPhysicalDeviceSurfaceSupportKHR),
1201 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceSurfaceCapabilitiesKHR, getPhysicalDeviceSurfaceCapabilitiesKHR),
1202 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceSurfaceFormatsKHR, getPhysicalDeviceSurfaceFormatsKHR),
1203 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceSurfacePresentModesKHR, getPhysicalDeviceSurfacePresentModesKHR),
1204 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceDisplayPropertiesKHR, getPhysicalDeviceDisplayPropertiesKHR),
1205 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceDisplayPlanePropertiesKHR, getPhysicalDeviceDisplayPlanePropertiesKHR),
1206 VK_NULL_FUNC_ENTRY(vkGetDisplayPlaneSupportedDisplaysKHR, getDisplayPlaneSupportedDisplaysKHR),
1207 VK_NULL_FUNC_ENTRY(vkGetDisplayModePropertiesKHR, getDisplayModePropertiesKHR),
1208 VK_NULL_FUNC_ENTRY(vkCreateDisplayModeKHR, createDisplayModeKHR),
1209 VK_NULL_FUNC_ENTRY(vkGetDisplayPlaneCapabilitiesKHR, getDisplayPlaneCapabilitiesKHR),
1210 VK_NULL_FUNC_ENTRY(vkCreateDisplayPlaneSurfaceKHR, createDisplayPlaneSurfaceKHR),
1211 VK_NULL_FUNC_ENTRY(vkCreateXlibSurfaceKHR, createXlibSurfaceKHR),
1212 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceXlibPresentationSupportKHR, getPhysicalDeviceXlibPresentationSupportKHR),
1213 VK_NULL_FUNC_ENTRY(vkCreateXcbSurfaceKHR, createXcbSurfaceKHR),
1214 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceXcbPresentationSupportKHR, getPhysicalDeviceXcbPresentationSupportKHR),
1215 VK_NULL_FUNC_ENTRY(vkCreateWaylandSurfaceKHR, createWaylandSurfaceKHR),
1216 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceWaylandPresentationSupportKHR, getPhysicalDeviceWaylandPresentationSupportKHR),
1217 VK_NULL_FUNC_ENTRY(vkCreateMirSurfaceKHR, createMirSurfaceKHR),
1218 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceMirPresentationSupportKHR, getPhysicalDeviceMirPresentationSupportKHR),
1219 VK_NULL_FUNC_ENTRY(vkCreateAndroidSurfaceKHR, createAndroidSurfaceKHR),
1220 VK_NULL_FUNC_ENTRY(vkCreateWin32SurfaceKHR, createWin32SurfaceKHR),
1221 VK_NULL_FUNC_ENTRY(vkGetPhysicalDeviceWin32PresentationSupportKHR, getPhysicalDeviceWin32PresentationSupportKHR),
1222 VK_NULL_FUNC_ENTRY(vkCreateDebugReportCallbackEXT, createDebugReportCallbackEXT),
1223 VK_NULL_FUNC_ENTRY(vkDestroyDebugReportCallbackEXT, destroyDebugReportCallbackEXT),
1224 VK_NULL_FUNC_ENTRY(vkDebugReportMessageEXT, debugReportMessageEXT),
1227 static const tcu::StaticFunctionLibrary::Entry s_deviceFunctions[] =
1229 VK_NULL_FUNC_ENTRY(vkDestroyDevice, destroyDevice),
1230 VK_NULL_FUNC_ENTRY(vkGetDeviceQueue, getDeviceQueue),
1231 VK_NULL_FUNC_ENTRY(vkQueueSubmit, queueSubmit),
1232 VK_NULL_FUNC_ENTRY(vkQueueWaitIdle, queueWaitIdle),
1233 VK_NULL_FUNC_ENTRY(vkDeviceWaitIdle, deviceWaitIdle),
1234 VK_NULL_FUNC_ENTRY(vkAllocateMemory, allocateMemory),
1235 VK_NULL_FUNC_ENTRY(vkFreeMemory, freeMemory),
1236 VK_NULL_FUNC_ENTRY(vkMapMemory, mapMemory),
1237 VK_NULL_FUNC_ENTRY(vkUnmapMemory, unmapMemory),
1238 VK_NULL_FUNC_ENTRY(vkFlushMappedMemoryRanges, flushMappedMemoryRanges),
1239 VK_NULL_FUNC_ENTRY(vkInvalidateMappedMemoryRanges, invalidateMappedMemoryRanges),
1240 VK_NULL_FUNC_ENTRY(vkGetDeviceMemoryCommitment, getDeviceMemoryCommitment),
1241 VK_NULL_FUNC_ENTRY(vkBindBufferMemory, bindBufferMemory),
1242 VK_NULL_FUNC_ENTRY(vkBindImageMemory, bindImageMemory),
1243 VK_NULL_FUNC_ENTRY(vkGetBufferMemoryRequirements, getBufferMemoryRequirements),
1244 VK_NULL_FUNC_ENTRY(vkGetImageMemoryRequirements, getImageMemoryRequirements),
1245 VK_NULL_FUNC_ENTRY(vkGetImageSparseMemoryRequirements, getImageSparseMemoryRequirements),
1246 VK_NULL_FUNC_ENTRY(vkQueueBindSparse, queueBindSparse),
1247 VK_NULL_FUNC_ENTRY(vkCreateFence, createFence),
1248 VK_NULL_FUNC_ENTRY(vkDestroyFence, destroyFence),
1249 VK_NULL_FUNC_ENTRY(vkResetFences, resetFences),
1250 VK_NULL_FUNC_ENTRY(vkGetFenceStatus, getFenceStatus),
1251 VK_NULL_FUNC_ENTRY(vkWaitForFences, waitForFences),
1252 VK_NULL_FUNC_ENTRY(vkCreateSemaphore, createSemaphore),
1253 VK_NULL_FUNC_ENTRY(vkDestroySemaphore, destroySemaphore),
1254 VK_NULL_FUNC_ENTRY(vkCreateEvent, createEvent),
1255 VK_NULL_FUNC_ENTRY(vkDestroyEvent, destroyEvent),
1256 VK_NULL_FUNC_ENTRY(vkGetEventStatus, getEventStatus),
1257 VK_NULL_FUNC_ENTRY(vkSetEvent, setEvent),
1258 VK_NULL_FUNC_ENTRY(vkResetEvent, resetEvent),
1259 VK_NULL_FUNC_ENTRY(vkCreateQueryPool, createQueryPool),
1260 VK_NULL_FUNC_ENTRY(vkDestroyQueryPool, destroyQueryPool),
1261 VK_NULL_FUNC_ENTRY(vkGetQueryPoolResults, getQueryPoolResults),
1262 VK_NULL_FUNC_ENTRY(vkCreateBuffer, createBuffer),
1263 VK_NULL_FUNC_ENTRY(vkDestroyBuffer, destroyBuffer),
1264 VK_NULL_FUNC_ENTRY(vkCreateBufferView, createBufferView),
1265 VK_NULL_FUNC_ENTRY(vkDestroyBufferView, destroyBufferView),
1266 VK_NULL_FUNC_ENTRY(vkCreateImage, createImage),
1267 VK_NULL_FUNC_ENTRY(vkDestroyImage, destroyImage),
1268 VK_NULL_FUNC_ENTRY(vkGetImageSubresourceLayout, getImageSubresourceLayout),
1269 VK_NULL_FUNC_ENTRY(vkCreateImageView, createImageView),
1270 VK_NULL_FUNC_ENTRY(vkDestroyImageView, destroyImageView),
1271 VK_NULL_FUNC_ENTRY(vkCreateShaderModule, createShaderModule),
1272 VK_NULL_FUNC_ENTRY(vkDestroyShaderModule, destroyShaderModule),
1273 VK_NULL_FUNC_ENTRY(vkCreatePipelineCache, createPipelineCache),
1274 VK_NULL_FUNC_ENTRY(vkDestroyPipelineCache, destroyPipelineCache),
1275 VK_NULL_FUNC_ENTRY(vkGetPipelineCacheData, getPipelineCacheData),
1276 VK_NULL_FUNC_ENTRY(vkMergePipelineCaches, mergePipelineCaches),
1277 VK_NULL_FUNC_ENTRY(vkCreateGraphicsPipelines, createGraphicsPipelines),
1278 VK_NULL_FUNC_ENTRY(vkCreateComputePipelines, createComputePipelines),
1279 VK_NULL_FUNC_ENTRY(vkDestroyPipeline, destroyPipeline),
1280 VK_NULL_FUNC_ENTRY(vkCreatePipelineLayout, createPipelineLayout),
1281 VK_NULL_FUNC_ENTRY(vkDestroyPipelineLayout, destroyPipelineLayout),
1282 VK_NULL_FUNC_ENTRY(vkCreateSampler, createSampler),
1283 VK_NULL_FUNC_ENTRY(vkDestroySampler, destroySampler),
1284 VK_NULL_FUNC_ENTRY(vkCreateDescriptorSetLayout, createDescriptorSetLayout),
1285 VK_NULL_FUNC_ENTRY(vkDestroyDescriptorSetLayout, destroyDescriptorSetLayout),
1286 VK_NULL_FUNC_ENTRY(vkCreateDescriptorPool, createDescriptorPool),
1287 VK_NULL_FUNC_ENTRY(vkDestroyDescriptorPool, destroyDescriptorPool),
1288 VK_NULL_FUNC_ENTRY(vkResetDescriptorPool, resetDescriptorPool),
1289 VK_NULL_FUNC_ENTRY(vkAllocateDescriptorSets, allocateDescriptorSets),
1290 VK_NULL_FUNC_ENTRY(vkFreeDescriptorSets, freeDescriptorSets),
1291 VK_NULL_FUNC_ENTRY(vkUpdateDescriptorSets, updateDescriptorSets),
1292 VK_NULL_FUNC_ENTRY(vkCreateFramebuffer, createFramebuffer),
1293 VK_NULL_FUNC_ENTRY(vkDestroyFramebuffer, destroyFramebuffer),
1294 VK_NULL_FUNC_ENTRY(vkCreateRenderPass, createRenderPass),
1295 VK_NULL_FUNC_ENTRY(vkDestroyRenderPass, destroyRenderPass),
1296 VK_NULL_FUNC_ENTRY(vkGetRenderAreaGranularity, getRenderAreaGranularity),
1297 VK_NULL_FUNC_ENTRY(vkCreateCommandPool, createCommandPool),
1298 VK_NULL_FUNC_ENTRY(vkDestroyCommandPool, destroyCommandPool),
1299 VK_NULL_FUNC_ENTRY(vkResetCommandPool, resetCommandPool),
1300 VK_NULL_FUNC_ENTRY(vkAllocateCommandBuffers, allocateCommandBuffers),
1301 VK_NULL_FUNC_ENTRY(vkFreeCommandBuffers, freeCommandBuffers),
1302 VK_NULL_FUNC_ENTRY(vkBeginCommandBuffer, beginCommandBuffer),
1303 VK_NULL_FUNC_ENTRY(vkEndCommandBuffer, endCommandBuffer),
1304 VK_NULL_FUNC_ENTRY(vkResetCommandBuffer, resetCommandBuffer),
1305 VK_NULL_FUNC_ENTRY(vkCmdBindPipeline, cmdBindPipeline),
1306 VK_NULL_FUNC_ENTRY(vkCmdSetViewport, cmdSetViewport),
1307 VK_NULL_FUNC_ENTRY(vkCmdSetScissor, cmdSetScissor),
1308 VK_NULL_FUNC_ENTRY(vkCmdSetLineWidth, cmdSetLineWidth),
1309 VK_NULL_FUNC_ENTRY(vkCmdSetDepthBias, cmdSetDepthBias),
1310 VK_NULL_FUNC_ENTRY(vkCmdSetBlendConstants, cmdSetBlendConstants),
1311 VK_NULL_FUNC_ENTRY(vkCmdSetDepthBounds, cmdSetDepthBounds),
1312 VK_NULL_FUNC_ENTRY(vkCmdSetStencilCompareMask, cmdSetStencilCompareMask),
1313 VK_NULL_FUNC_ENTRY(vkCmdSetStencilWriteMask, cmdSetStencilWriteMask),
1314 VK_NULL_FUNC_ENTRY(vkCmdSetStencilReference, cmdSetStencilReference),
1315 VK_NULL_FUNC_ENTRY(vkCmdBindDescriptorSets, cmdBindDescriptorSets),
1316 VK_NULL_FUNC_ENTRY(vkCmdBindIndexBuffer, cmdBindIndexBuffer),
1317 VK_NULL_FUNC_ENTRY(vkCmdBindVertexBuffers, cmdBindVertexBuffers),
1318 VK_NULL_FUNC_ENTRY(vkCmdDraw, cmdDraw),
1319 VK_NULL_FUNC_ENTRY(vkCmdDrawIndexed, cmdDrawIndexed),
1320 VK_NULL_FUNC_ENTRY(vkCmdDrawIndirect, cmdDrawIndirect),
1321 VK_NULL_FUNC_ENTRY(vkCmdDrawIndexedIndirect, cmdDrawIndexedIndirect),
1322 VK_NULL_FUNC_ENTRY(vkCmdDispatch, cmdDispatch),
1323 VK_NULL_FUNC_ENTRY(vkCmdDispatchIndirect, cmdDispatchIndirect),
1324 VK_NULL_FUNC_ENTRY(vkCmdCopyBuffer, cmdCopyBuffer),
1325 VK_NULL_FUNC_ENTRY(vkCmdCopyImage, cmdCopyImage),
1326 VK_NULL_FUNC_ENTRY(vkCmdBlitImage, cmdBlitImage),
1327 VK_NULL_FUNC_ENTRY(vkCmdCopyBufferToImage, cmdCopyBufferToImage),
1328 VK_NULL_FUNC_ENTRY(vkCmdCopyImageToBuffer, cmdCopyImageToBuffer),
1329 VK_NULL_FUNC_ENTRY(vkCmdUpdateBuffer, cmdUpdateBuffer),
1330 VK_NULL_FUNC_ENTRY(vkCmdFillBuffer, cmdFillBuffer),
1331 VK_NULL_FUNC_ENTRY(vkCmdClearColorImage, cmdClearColorImage),
1332 VK_NULL_FUNC_ENTRY(vkCmdClearDepthStencilImage, cmdClearDepthStencilImage),
1333 VK_NULL_FUNC_ENTRY(vkCmdClearAttachments, cmdClearAttachments),
1334 VK_NULL_FUNC_ENTRY(vkCmdResolveImage, cmdResolveImage),
1335 VK_NULL_FUNC_ENTRY(vkCmdSetEvent, cmdSetEvent),
1336 VK_NULL_FUNC_ENTRY(vkCmdResetEvent, cmdResetEvent),
1337 VK_NULL_FUNC_ENTRY(vkCmdWaitEvents, cmdWaitEvents),
1338 VK_NULL_FUNC_ENTRY(vkCmdPipelineBarrier, cmdPipelineBarrier),
1339 VK_NULL_FUNC_ENTRY(vkCmdBeginQuery, cmdBeginQuery),
1340 VK_NULL_FUNC_ENTRY(vkCmdEndQuery, cmdEndQuery),
1341 VK_NULL_FUNC_ENTRY(vkCmdResetQueryPool, cmdResetQueryPool),
1342 VK_NULL_FUNC_ENTRY(vkCmdWriteTimestamp, cmdWriteTimestamp),
1343 VK_NULL_FUNC_ENTRY(vkCmdCopyQueryPoolResults, cmdCopyQueryPoolResults),
1344 VK_NULL_FUNC_ENTRY(vkCmdPushConstants, cmdPushConstants),
1345 VK_NULL_FUNC_ENTRY(vkCmdBeginRenderPass, cmdBeginRenderPass),
1346 VK_NULL_FUNC_ENTRY(vkCmdNextSubpass, cmdNextSubpass),
1347 VK_NULL_FUNC_ENTRY(vkCmdEndRenderPass, cmdEndRenderPass),
1348 VK_NULL_FUNC_ENTRY(vkCmdExecuteCommands, cmdExecuteCommands),
1349 VK_NULL_FUNC_ENTRY(vkCreateSwapchainKHR, createSwapchainKHR),
1350 VK_NULL_FUNC_ENTRY(vkDestroySwapchainKHR, destroySwapchainKHR),
1351 VK_NULL_FUNC_ENTRY(vkGetSwapchainImagesKHR, getSwapchainImagesKHR),
1352 VK_NULL_FUNC_ENTRY(vkAcquireNextImageKHR, acquireNextImageKHR),
1353 VK_NULL_FUNC_ENTRY(vkQueuePresentKHR, queuePresentKHR),
1354 VK_NULL_FUNC_ENTRY(vkCreateSharedSwapchainsKHR, createSharedSwapchainsKHR),
1355 VK_NULL_FUNC_ENTRY(vkDebugMarkerSetObjectTagEXT, debugMarkerSetObjectTagEXT),
1356 VK_NULL_FUNC_ENTRY(vkDebugMarkerSetObjectNameEXT, debugMarkerSetObjectNameEXT),
1357 VK_NULL_FUNC_ENTRY(vkCmdDebugMarkerBeginEXT, cmdDebugMarkerBeginEXT),
1358 VK_NULL_FUNC_ENTRY(vkCmdDebugMarkerEndEXT, cmdDebugMarkerEndEXT),
1359 VK_NULL_FUNC_ENTRY(vkCmdDebugMarkerInsertEXT, cmdDebugMarkerInsertEXT),