2018-06-06 12:15:33 +02:00
|
|
|
/* Automatically generated from Vulkan vk.xml; DO NOT EDIT!
|
|
|
|
*
|
|
|
|
* This file is generated from Vulkan vk.xml file covered
|
|
|
|
* by the following copyright and permission notice:
|
|
|
|
*
|
2019-03-19 15:59:31 +01:00
|
|
|
* Copyright (c) 2015-2019 The Khronos Group Inc.
|
2018-06-06 12:15:33 +02:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*
|
|
|
|
* ---- Exceptions to the Apache 2.0 License: ----
|
|
|
|
*
|
|
|
|
* As an exception, if you use this Software to generate code and portions of
|
|
|
|
* this Software are embedded into the generated code as a result, you may
|
|
|
|
* redistribute such product without providing attribution as would otherwise
|
|
|
|
* be required by Sections 4(a), 4(b) and 4(d) of the License.
|
|
|
|
*
|
|
|
|
* In addition, if you combine or link code generated by this Software with
|
|
|
|
* software that is licensed under the GPLv2 or the LGPL v2.0 or 2.1
|
|
|
|
* ("`Combined Software`") and if a court of competent jurisdiction determines
|
|
|
|
* that the patent provision (Section 3), the indemnity provision (Section 9)
|
|
|
|
* or other Section of the License conflicts with the conditions of the
|
|
|
|
* applicable GPL or LGPL license, you may retroactively and prospectively
|
|
|
|
* choose to deem waived or otherwise exclude such Section(s) of the License,
|
|
|
|
* but only in their entirety and only with respect to the Combined Software.
|
|
|
|
*
|
|
|
|
*/
|
2018-03-01 16:37:04 +01:00
|
|
|
|
|
|
|
#ifndef __WINE_VULKAN_THUNKS_H
|
|
|
|
#define __WINE_VULKAN_THUNKS_H
|
|
|
|
|
2019-03-20 13:11:37 +01:00
|
|
|
#define WINE_VK_VERSION VK_API_VERSION_1_1
|
2018-07-13 10:55:37 +02:00
|
|
|
|
2018-03-01 16:37:05 +01:00
|
|
|
/* Functions for which we have custom implementations outside of the thunks. */
|
2018-03-28 09:20:49 +02:00
|
|
|
VkResult WINAPI wine_vkAllocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo *pAllocateInfo, VkCommandBuffer *pCommandBuffers);
|
|
|
|
void WINAPI wine_vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers);
|
2018-08-30 12:22:31 +02:00
|
|
|
VkResult WINAPI wine_vkCreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkCommandPool *pCommandPool);
|
2018-03-28 09:20:49 +02:00
|
|
|
VkResult WINAPI wine_vkCreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDevice *pDevice);
|
2018-08-30 12:22:31 +02:00
|
|
|
void WINAPI wine_vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, const VkAllocationCallbacks *pAllocator);
|
2018-03-28 09:20:49 +02:00
|
|
|
void WINAPI wine_vkDestroyDevice(VkDevice device, const VkAllocationCallbacks *pAllocator);
|
|
|
|
void WINAPI wine_vkDestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator);
|
|
|
|
VkResult WINAPI wine_vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, const char *pLayerName, uint32_t *pPropertyCount, VkExtensionProperties *pProperties);
|
2018-07-12 11:39:43 +02:00
|
|
|
VkResult WINAPI wine_vkEnumeratePhysicalDeviceGroups(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties);
|
|
|
|
VkResult WINAPI wine_vkEnumeratePhysicalDeviceGroupsKHR(VkInstance instance, uint32_t *pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupProperties *pPhysicalDeviceGroupProperties) DECLSPEC_HIDDEN;
|
2018-03-28 09:20:49 +02:00
|
|
|
VkResult WINAPI wine_vkEnumeratePhysicalDevices(VkInstance instance, uint32_t *pPhysicalDeviceCount, VkPhysicalDevice *pPhysicalDevices);
|
|
|
|
void WINAPI wine_vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint32_t commandBufferCount, const VkCommandBuffer *pCommandBuffers);
|
|
|
|
PFN_vkVoidFunction WINAPI wine_vkGetDeviceProcAddr(VkDevice device, const char *pName);
|
|
|
|
void WINAPI wine_vkGetDeviceQueue(VkDevice device, uint32_t queueFamilyIndex, uint32_t queueIndex, VkQueue *pQueue);
|
2018-07-16 15:18:19 +02:00
|
|
|
void WINAPI wine_vkGetDeviceQueue2(VkDevice device, const VkDeviceQueueInfo2 *pQueueInfo, VkQueue *pQueue);
|
2019-03-20 13:11:34 +01:00
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalBufferProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties);
|
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalBufferInfo *pExternalBufferInfo, VkExternalBufferProperties *pExternalBufferProperties) DECLSPEC_HIDDEN;
|
2019-03-20 13:11:33 +01:00
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalFenceProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties);
|
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalFenceInfo *pExternalFenceInfo, VkExternalFenceProperties *pExternalFenceProperties) DECLSPEC_HIDDEN;
|
2019-03-20 13:11:35 +01:00
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalSemaphoreProperties(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties);
|
|
|
|
void WINAPI wine_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalSemaphoreInfo *pExternalSemaphoreInfo, VkExternalSemaphoreProperties *pExternalSemaphoreProperties) DECLSPEC_HIDDEN;
|
2019-03-20 13:11:34 +01:00
|
|
|
VkResult WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties);
|
|
|
|
VkResult WINAPI wine_vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties) DECLSPEC_HIDDEN;
|
2018-03-28 09:20:49 +02:00
|
|
|
VkResult WINAPI wine_vkQueueSubmit(VkQueue queue, uint32_t submitCount, const VkSubmitInfo *pSubmits, VkFence fence);
|
2018-03-12 15:37:53 +01:00
|
|
|
|
2019-03-20 13:11:34 +01:00
|
|
|
/* Private thunks */
|
|
|
|
VkResult thunk_vkGetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties) DECLSPEC_HIDDEN;
|
|
|
|
VkResult thunk_vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceImageFormatInfo2 *pImageFormatInfo, VkImageFormatProperties2 *pImageFormatProperties) DECLSPEC_HIDDEN;
|
|
|
|
|
2018-07-13 10:55:36 +02:00
|
|
|
typedef struct VkAcquireNextImageInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkSwapchainKHR swapchain;
|
|
|
|
uint64_t timeout;
|
|
|
|
VkSemaphore semaphore;
|
|
|
|
VkFence fence;
|
|
|
|
uint32_t deviceMask;
|
|
|
|
} VkAcquireNextImageInfoKHR_host;
|
|
|
|
|
2020-01-07 22:54:06 +01:00
|
|
|
typedef struct VkAcquireProfilingLockInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAcquireProfilingLockFlagsKHR flags;
|
|
|
|
uint64_t timeout;
|
|
|
|
} VkAcquireProfilingLockInfoKHR_host;
|
|
|
|
|
2018-03-14 13:11:54 +01:00
|
|
|
typedef struct VkCommandBufferAllocateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkCommandPool commandPool;
|
|
|
|
VkCommandBufferLevel level;
|
|
|
|
uint32_t commandBufferCount;
|
|
|
|
} VkCommandBufferAllocateInfo_host;
|
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkDescriptorSetAllocateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDescriptorPool descriptorPool;
|
|
|
|
uint32_t descriptorSetCount;
|
|
|
|
const VkDescriptorSetLayout *pSetLayouts;
|
|
|
|
} VkDescriptorSetAllocateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkMemoryAllocateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDeviceSize allocationSize;
|
|
|
|
uint32_t memoryTypeIndex;
|
|
|
|
} VkMemoryAllocateInfo_host;
|
|
|
|
|
2018-03-14 13:11:56 +01:00
|
|
|
typedef struct VkCommandBufferInheritanceInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkRenderPass renderPass;
|
|
|
|
uint32_t subpass;
|
|
|
|
VkFramebuffer framebuffer;
|
|
|
|
VkBool32 occlusionQueryEnable;
|
|
|
|
VkQueryControlFlags queryFlags;
|
|
|
|
VkQueryPipelineStatisticFlags pipelineStatistics;
|
|
|
|
} VkCommandBufferInheritanceInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkCommandBufferBeginInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkCommandBufferUsageFlags flags;
|
|
|
|
const VkCommandBufferInheritanceInfo_host *pInheritanceInfo;
|
|
|
|
} VkCommandBufferBeginInfo_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkBindAccelerationStructureMemoryInfoNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAccelerationStructureNV accelerationStructure;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize memoryOffset;
|
|
|
|
uint32_t deviceIndexCount;
|
|
|
|
const uint32_t *pDeviceIndices;
|
|
|
|
} VkBindAccelerationStructureMemoryInfoNV_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkBindBufferMemoryInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer buffer;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize memoryOffset;
|
|
|
|
} VkBindBufferMemoryInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkBindImageMemoryInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkImage image;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize memoryOffset;
|
|
|
|
} VkBindImageMemoryInfo_host;
|
|
|
|
|
2018-10-05 16:55:20 +02:00
|
|
|
typedef struct VkConditionalRenderingBeginInfoEXT_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer buffer;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkConditionalRenderingFlagsEXT flags;
|
|
|
|
} VkConditionalRenderingBeginInfoEXT_host;
|
|
|
|
|
2018-03-14 13:11:56 +01:00
|
|
|
typedef struct VkRenderPassBeginInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkRenderPass renderPass;
|
|
|
|
VkFramebuffer framebuffer;
|
|
|
|
VkRect2D renderArea;
|
|
|
|
uint32_t clearValueCount;
|
|
|
|
const VkClearValue *pClearValues;
|
|
|
|
} VkRenderPassBeginInfo_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkGeometryTrianglesNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer vertexData;
|
|
|
|
VkDeviceSize vertexOffset;
|
|
|
|
uint32_t vertexCount;
|
|
|
|
VkDeviceSize vertexStride;
|
|
|
|
VkFormat vertexFormat;
|
|
|
|
VkBuffer indexData;
|
|
|
|
VkDeviceSize indexOffset;
|
|
|
|
uint32_t indexCount;
|
|
|
|
VkIndexType indexType;
|
|
|
|
VkBuffer transformData;
|
|
|
|
VkDeviceSize transformOffset;
|
|
|
|
} VkGeometryTrianglesNV_host;
|
|
|
|
|
|
|
|
typedef struct VkGeometryAABBNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer aabbData;
|
|
|
|
uint32_t numAABBs;
|
|
|
|
uint32_t stride;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
} VkGeometryAABBNV_host;
|
|
|
|
|
|
|
|
typedef struct VkGeometryDataNV_host
|
|
|
|
{
|
|
|
|
VkGeometryTrianglesNV_host triangles;
|
|
|
|
VkGeometryAABBNV_host aabbs;
|
|
|
|
} VkGeometryDataNV_host;
|
|
|
|
|
|
|
|
typedef struct VkGeometryNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkGeometryTypeNV geometryType;
|
|
|
|
VkGeometryDataNV_host geometry;
|
|
|
|
VkGeometryFlagsNV flags;
|
|
|
|
} VkGeometryNV_host;
|
|
|
|
|
|
|
|
typedef struct VkAccelerationStructureInfoNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAccelerationStructureTypeNV type;
|
|
|
|
VkBuildAccelerationStructureFlagsNV flags;
|
|
|
|
uint32_t instanceCount;
|
|
|
|
uint32_t geometryCount;
|
|
|
|
const VkGeometryNV_host *pGeometries;
|
|
|
|
} VkAccelerationStructureInfoNV_host;
|
|
|
|
|
2018-03-14 13:11:56 +01:00
|
|
|
typedef struct VkBufferCopy_host
|
|
|
|
{
|
|
|
|
VkDeviceSize srcOffset;
|
|
|
|
VkDeviceSize dstOffset;
|
|
|
|
VkDeviceSize size;
|
|
|
|
} VkBufferCopy_host;
|
|
|
|
|
|
|
|
typedef struct VkBufferImageCopy_host
|
|
|
|
{
|
|
|
|
VkDeviceSize bufferOffset;
|
|
|
|
uint32_t bufferRowLength;
|
|
|
|
uint32_t bufferImageHeight;
|
|
|
|
VkImageSubresourceLayers imageSubresource;
|
|
|
|
VkOffset3D imageOffset;
|
|
|
|
VkExtent3D imageExtent;
|
|
|
|
} VkBufferImageCopy_host;
|
|
|
|
|
|
|
|
typedef struct VkBufferMemoryBarrier_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAccessFlags srcAccessMask;
|
|
|
|
VkAccessFlags dstAccessMask;
|
|
|
|
uint32_t srcQueueFamilyIndex;
|
|
|
|
uint32_t dstQueueFamilyIndex;
|
|
|
|
VkBuffer buffer;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkDeviceSize size;
|
|
|
|
} VkBufferMemoryBarrier_host;
|
|
|
|
|
|
|
|
typedef struct VkImageMemoryBarrier_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAccessFlags srcAccessMask;
|
|
|
|
VkAccessFlags dstAccessMask;
|
|
|
|
VkImageLayout oldLayout;
|
|
|
|
VkImageLayout newLayout;
|
|
|
|
uint32_t srcQueueFamilyIndex;
|
|
|
|
uint32_t dstQueueFamilyIndex;
|
|
|
|
VkImage image;
|
|
|
|
VkImageSubresourceRange subresourceRange;
|
|
|
|
} VkImageMemoryBarrier_host;
|
|
|
|
|
2018-03-15 07:39:40 +01:00
|
|
|
typedef struct VkDescriptorImageInfo_host
|
|
|
|
{
|
|
|
|
VkSampler sampler;
|
|
|
|
VkImageView imageView;
|
|
|
|
VkImageLayout imageLayout;
|
|
|
|
} VkDescriptorImageInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkDescriptorBufferInfo_host
|
|
|
|
{
|
|
|
|
VkBuffer buffer;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkDeviceSize range;
|
|
|
|
} VkDescriptorBufferInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkWriteDescriptorSet_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDescriptorSet dstSet;
|
|
|
|
uint32_t dstBinding;
|
|
|
|
uint32_t dstArrayElement;
|
|
|
|
uint32_t descriptorCount;
|
|
|
|
VkDescriptorType descriptorType;
|
|
|
|
const VkDescriptorImageInfo_host *pImageInfo;
|
|
|
|
const VkDescriptorBufferInfo_host *pBufferInfo;
|
|
|
|
const VkBufferView *pTexelBufferView;
|
|
|
|
} VkWriteDescriptorSet_host;
|
|
|
|
|
2019-10-30 21:00:01 +01:00
|
|
|
typedef struct VkPerformanceMarkerInfoINTEL_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
uint64_t marker;
|
|
|
|
} VkPerformanceMarkerInfoINTEL_host;
|
|
|
|
|
|
|
|
typedef struct VkPerformanceOverrideInfoINTEL_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPerformanceOverrideTypeINTEL type;
|
|
|
|
VkBool32 enable;
|
|
|
|
uint64_t parameter;
|
|
|
|
} VkPerformanceOverrideInfoINTEL_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkAccelerationStructureCreateInfoNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDeviceSize compactedSize;
|
|
|
|
VkAccelerationStructureInfoNV_host info;
|
|
|
|
} VkAccelerationStructureCreateInfoNV_host;
|
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkBufferCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBufferCreateFlags flags;
|
|
|
|
VkDeviceSize size;
|
|
|
|
VkBufferUsageFlags usage;
|
|
|
|
VkSharingMode sharingMode;
|
|
|
|
uint32_t queueFamilyIndexCount;
|
|
|
|
const uint32_t *pQueueFamilyIndices;
|
|
|
|
} VkBufferCreateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkBufferViewCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBufferViewCreateFlags flags;
|
|
|
|
VkBuffer buffer;
|
|
|
|
VkFormat format;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkDeviceSize range;
|
|
|
|
} VkBufferViewCreateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkPipelineShaderStageCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipelineShaderStageCreateFlags flags;
|
|
|
|
VkShaderStageFlagBits stage;
|
|
|
|
VkShaderModule module;
|
|
|
|
const char *pName;
|
|
|
|
const VkSpecializationInfo *pSpecializationInfo;
|
|
|
|
} VkPipelineShaderStageCreateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkComputePipelineCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipelineCreateFlags flags;
|
|
|
|
VkPipelineShaderStageCreateInfo_host stage;
|
|
|
|
VkPipelineLayout layout;
|
|
|
|
VkPipeline basePipelineHandle;
|
|
|
|
int32_t basePipelineIndex;
|
|
|
|
} VkComputePipelineCreateInfo_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkDescriptorUpdateTemplateCreateInfo_host
|
2018-03-15 07:39:40 +01:00
|
|
|
{
|
|
|
|
VkStructureType sType;
|
2018-11-26 12:13:45 +01:00
|
|
|
const void *pNext;
|
2018-06-06 11:11:53 +02:00
|
|
|
VkDescriptorUpdateTemplateCreateFlags flags;
|
2018-03-15 07:39:40 +01:00
|
|
|
uint32_t descriptorUpdateEntryCount;
|
2018-06-06 11:11:53 +02:00
|
|
|
const VkDescriptorUpdateTemplateEntry *pDescriptorUpdateEntries;
|
|
|
|
VkDescriptorUpdateTemplateType templateType;
|
2018-03-15 07:39:40 +01:00
|
|
|
VkDescriptorSetLayout descriptorSetLayout;
|
|
|
|
VkPipelineBindPoint pipelineBindPoint;
|
|
|
|
VkPipelineLayout pipelineLayout;
|
|
|
|
uint32_t set;
|
2018-06-06 11:11:53 +02:00
|
|
|
} VkDescriptorUpdateTemplateCreateInfo_host;
|
2018-03-15 07:39:40 +01:00
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkFramebufferCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkFramebufferCreateFlags flags;
|
|
|
|
VkRenderPass renderPass;
|
|
|
|
uint32_t attachmentCount;
|
|
|
|
const VkImageView *pAttachments;
|
|
|
|
uint32_t width;
|
|
|
|
uint32_t height;
|
|
|
|
uint32_t layers;
|
|
|
|
} VkFramebufferCreateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkGraphicsPipelineCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipelineCreateFlags flags;
|
|
|
|
uint32_t stageCount;
|
|
|
|
const VkPipelineShaderStageCreateInfo_host *pStages;
|
|
|
|
const VkPipelineVertexInputStateCreateInfo *pVertexInputState;
|
|
|
|
const VkPipelineInputAssemblyStateCreateInfo *pInputAssemblyState;
|
|
|
|
const VkPipelineTessellationStateCreateInfo *pTessellationState;
|
|
|
|
const VkPipelineViewportStateCreateInfo *pViewportState;
|
|
|
|
const VkPipelineRasterizationStateCreateInfo *pRasterizationState;
|
|
|
|
const VkPipelineMultisampleStateCreateInfo *pMultisampleState;
|
|
|
|
const VkPipelineDepthStencilStateCreateInfo *pDepthStencilState;
|
|
|
|
const VkPipelineColorBlendStateCreateInfo *pColorBlendState;
|
|
|
|
const VkPipelineDynamicStateCreateInfo *pDynamicState;
|
|
|
|
VkPipelineLayout layout;
|
|
|
|
VkRenderPass renderPass;
|
|
|
|
uint32_t subpass;
|
|
|
|
VkPipeline basePipelineHandle;
|
|
|
|
int32_t basePipelineIndex;
|
|
|
|
} VkGraphicsPipelineCreateInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkImageViewCreateInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkImageViewCreateFlags flags;
|
|
|
|
VkImage image;
|
|
|
|
VkImageViewType viewType;
|
|
|
|
VkFormat format;
|
|
|
|
VkComponentMapping components;
|
|
|
|
VkImageSubresourceRange subresourceRange;
|
|
|
|
} VkImageViewCreateInfo_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkRayTracingPipelineCreateInfoNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipelineCreateFlags flags;
|
|
|
|
uint32_t stageCount;
|
|
|
|
const VkPipelineShaderStageCreateInfo_host *pStages;
|
|
|
|
uint32_t groupCount;
|
|
|
|
const VkRayTracingShaderGroupCreateInfoNV *pGroups;
|
|
|
|
uint32_t maxRecursionDepth;
|
|
|
|
VkPipelineLayout layout;
|
|
|
|
VkPipeline basePipelineHandle;
|
|
|
|
int32_t basePipelineIndex;
|
|
|
|
} VkRayTracingPipelineCreateInfoNV_host;
|
|
|
|
|
2018-03-12 15:37:53 +01:00
|
|
|
typedef struct VkSwapchainCreateInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkSwapchainCreateFlagsKHR flags;
|
|
|
|
VkSurfaceKHR surface;
|
|
|
|
uint32_t minImageCount;
|
|
|
|
VkFormat imageFormat;
|
|
|
|
VkColorSpaceKHR imageColorSpace;
|
|
|
|
VkExtent2D imageExtent;
|
|
|
|
uint32_t imageArrayLayers;
|
|
|
|
VkImageUsageFlags imageUsage;
|
|
|
|
VkSharingMode imageSharingMode;
|
|
|
|
uint32_t queueFamilyIndexCount;
|
|
|
|
const uint32_t *pQueueFamilyIndices;
|
|
|
|
VkSurfaceTransformFlagBitsKHR preTransform;
|
|
|
|
VkCompositeAlphaFlagBitsKHR compositeAlpha;
|
|
|
|
VkPresentModeKHR presentMode;
|
|
|
|
VkBool32 clipped;
|
|
|
|
VkSwapchainKHR oldSwapchain;
|
|
|
|
} VkSwapchainCreateInfoKHR_host;
|
2018-03-01 16:37:05 +01:00
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkMappedMemoryRange_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkDeviceSize size;
|
|
|
|
} VkMappedMemoryRange_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkAccelerationStructureMemoryRequirementsInfoNV_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkAccelerationStructureMemoryRequirementsTypeNV type;
|
|
|
|
VkAccelerationStructureNV accelerationStructure;
|
|
|
|
} VkAccelerationStructureMemoryRequirementsInfoNV_host;
|
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkMemoryRequirements_host
|
|
|
|
{
|
|
|
|
VkDeviceSize size;
|
|
|
|
VkDeviceSize alignment;
|
|
|
|
uint32_t memoryTypeBits;
|
|
|
|
} VkMemoryRequirements_host;
|
|
|
|
|
2018-11-26 12:13:45 +01:00
|
|
|
typedef struct VkMemoryRequirements2KHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
void *pNext;
|
|
|
|
VkMemoryRequirements_host memoryRequirements;
|
|
|
|
} VkMemoryRequirements2KHR_host;
|
|
|
|
|
2020-01-07 22:54:06 +01:00
|
|
|
typedef struct VkBufferDeviceAddressInfoKHR_host
|
2019-03-19 15:59:31 +01:00
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer buffer;
|
2020-01-07 22:54:06 +01:00
|
|
|
} VkBufferDeviceAddressInfoKHR_host;
|
2019-03-19 15:59:31 +01:00
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkBufferMemoryRequirementsInfo2_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkBuffer buffer;
|
|
|
|
} VkBufferMemoryRequirementsInfo2_host;
|
|
|
|
|
|
|
|
typedef struct VkMemoryRequirements2_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
void *pNext;
|
|
|
|
VkMemoryRequirements_host memoryRequirements;
|
|
|
|
} VkMemoryRequirements2_host;
|
|
|
|
|
2020-01-07 22:54:06 +01:00
|
|
|
typedef struct VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
} VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkImageMemoryRequirementsInfo2_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkImage image;
|
|
|
|
} VkImageMemoryRequirementsInfo2_host;
|
|
|
|
|
|
|
|
typedef struct VkImageSparseMemoryRequirementsInfo2_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkImage image;
|
|
|
|
} VkImageSparseMemoryRequirementsInfo2_host;
|
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkSubresourceLayout_host
|
|
|
|
{
|
|
|
|
VkDeviceSize offset;
|
|
|
|
VkDeviceSize size;
|
|
|
|
VkDeviceSize rowPitch;
|
|
|
|
VkDeviceSize arrayPitch;
|
|
|
|
VkDeviceSize depthPitch;
|
|
|
|
} VkSubresourceLayout_host;
|
|
|
|
|
2018-03-09 17:48:46 +01:00
|
|
|
typedef struct VkImageFormatProperties_host
|
|
|
|
{
|
|
|
|
VkExtent3D maxExtent;
|
|
|
|
uint32_t maxMipLevels;
|
|
|
|
uint32_t maxArrayLayers;
|
|
|
|
VkSampleCountFlags sampleCounts;
|
|
|
|
VkDeviceSize maxResourceSize;
|
|
|
|
} VkImageFormatProperties_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkImageFormatProperties2_host
|
2018-03-15 07:39:38 +01:00
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
void *pNext;
|
|
|
|
VkImageFormatProperties_host imageFormatProperties;
|
2018-06-06 11:11:53 +02:00
|
|
|
} VkImageFormatProperties2_host;
|
2018-03-15 07:39:38 +01:00
|
|
|
|
2018-03-09 17:48:46 +01:00
|
|
|
typedef struct VkMemoryHeap_host
|
|
|
|
{
|
|
|
|
VkDeviceSize size;
|
|
|
|
VkMemoryHeapFlags flags;
|
|
|
|
} VkMemoryHeap_host;
|
|
|
|
|
|
|
|
typedef struct VkPhysicalDeviceMemoryProperties_host
|
|
|
|
{
|
|
|
|
uint32_t memoryTypeCount;
|
|
|
|
VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES];
|
|
|
|
uint32_t memoryHeapCount;
|
|
|
|
VkMemoryHeap_host memoryHeaps[VK_MAX_MEMORY_HEAPS];
|
|
|
|
} VkPhysicalDeviceMemoryProperties_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkPhysicalDeviceMemoryProperties2_host
|
2018-03-15 07:39:38 +01:00
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
void *pNext;
|
|
|
|
VkPhysicalDeviceMemoryProperties_host memoryProperties;
|
2018-06-06 11:11:53 +02:00
|
|
|
} VkPhysicalDeviceMemoryProperties2_host;
|
2018-03-15 07:39:38 +01:00
|
|
|
|
2018-03-09 17:48:46 +01:00
|
|
|
typedef struct VkPhysicalDeviceLimits_host
|
|
|
|
{
|
|
|
|
uint32_t maxImageDimension1D;
|
|
|
|
uint32_t maxImageDimension2D;
|
|
|
|
uint32_t maxImageDimension3D;
|
|
|
|
uint32_t maxImageDimensionCube;
|
|
|
|
uint32_t maxImageArrayLayers;
|
|
|
|
uint32_t maxTexelBufferElements;
|
|
|
|
uint32_t maxUniformBufferRange;
|
|
|
|
uint32_t maxStorageBufferRange;
|
|
|
|
uint32_t maxPushConstantsSize;
|
|
|
|
uint32_t maxMemoryAllocationCount;
|
|
|
|
uint32_t maxSamplerAllocationCount;
|
|
|
|
VkDeviceSize bufferImageGranularity;
|
|
|
|
VkDeviceSize sparseAddressSpaceSize;
|
|
|
|
uint32_t maxBoundDescriptorSets;
|
|
|
|
uint32_t maxPerStageDescriptorSamplers;
|
|
|
|
uint32_t maxPerStageDescriptorUniformBuffers;
|
|
|
|
uint32_t maxPerStageDescriptorStorageBuffers;
|
|
|
|
uint32_t maxPerStageDescriptorSampledImages;
|
|
|
|
uint32_t maxPerStageDescriptorStorageImages;
|
|
|
|
uint32_t maxPerStageDescriptorInputAttachments;
|
|
|
|
uint32_t maxPerStageResources;
|
|
|
|
uint32_t maxDescriptorSetSamplers;
|
|
|
|
uint32_t maxDescriptorSetUniformBuffers;
|
|
|
|
uint32_t maxDescriptorSetUniformBuffersDynamic;
|
|
|
|
uint32_t maxDescriptorSetStorageBuffers;
|
|
|
|
uint32_t maxDescriptorSetStorageBuffersDynamic;
|
|
|
|
uint32_t maxDescriptorSetSampledImages;
|
|
|
|
uint32_t maxDescriptorSetStorageImages;
|
|
|
|
uint32_t maxDescriptorSetInputAttachments;
|
|
|
|
uint32_t maxVertexInputAttributes;
|
|
|
|
uint32_t maxVertexInputBindings;
|
|
|
|
uint32_t maxVertexInputAttributeOffset;
|
|
|
|
uint32_t maxVertexInputBindingStride;
|
|
|
|
uint32_t maxVertexOutputComponents;
|
|
|
|
uint32_t maxTessellationGenerationLevel;
|
|
|
|
uint32_t maxTessellationPatchSize;
|
|
|
|
uint32_t maxTessellationControlPerVertexInputComponents;
|
|
|
|
uint32_t maxTessellationControlPerVertexOutputComponents;
|
|
|
|
uint32_t maxTessellationControlPerPatchOutputComponents;
|
|
|
|
uint32_t maxTessellationControlTotalOutputComponents;
|
|
|
|
uint32_t maxTessellationEvaluationInputComponents;
|
|
|
|
uint32_t maxTessellationEvaluationOutputComponents;
|
|
|
|
uint32_t maxGeometryShaderInvocations;
|
|
|
|
uint32_t maxGeometryInputComponents;
|
|
|
|
uint32_t maxGeometryOutputComponents;
|
|
|
|
uint32_t maxGeometryOutputVertices;
|
|
|
|
uint32_t maxGeometryTotalOutputComponents;
|
|
|
|
uint32_t maxFragmentInputComponents;
|
|
|
|
uint32_t maxFragmentOutputAttachments;
|
|
|
|
uint32_t maxFragmentDualSrcAttachments;
|
|
|
|
uint32_t maxFragmentCombinedOutputResources;
|
|
|
|
uint32_t maxComputeSharedMemorySize;
|
|
|
|
uint32_t maxComputeWorkGroupCount[3];
|
|
|
|
uint32_t maxComputeWorkGroupInvocations;
|
|
|
|
uint32_t maxComputeWorkGroupSize[3];
|
|
|
|
uint32_t subPixelPrecisionBits;
|
|
|
|
uint32_t subTexelPrecisionBits;
|
|
|
|
uint32_t mipmapPrecisionBits;
|
|
|
|
uint32_t maxDrawIndexedIndexValue;
|
|
|
|
uint32_t maxDrawIndirectCount;
|
|
|
|
float maxSamplerLodBias;
|
|
|
|
float maxSamplerAnisotropy;
|
|
|
|
uint32_t maxViewports;
|
|
|
|
uint32_t maxViewportDimensions[2];
|
|
|
|
float viewportBoundsRange[2];
|
|
|
|
uint32_t viewportSubPixelBits;
|
|
|
|
size_t minMemoryMapAlignment;
|
|
|
|
VkDeviceSize minTexelBufferOffsetAlignment;
|
|
|
|
VkDeviceSize minUniformBufferOffsetAlignment;
|
|
|
|
VkDeviceSize minStorageBufferOffsetAlignment;
|
|
|
|
int32_t minTexelOffset;
|
|
|
|
uint32_t maxTexelOffset;
|
|
|
|
int32_t minTexelGatherOffset;
|
|
|
|
uint32_t maxTexelGatherOffset;
|
|
|
|
float minInterpolationOffset;
|
|
|
|
float maxInterpolationOffset;
|
|
|
|
uint32_t subPixelInterpolationOffsetBits;
|
|
|
|
uint32_t maxFramebufferWidth;
|
|
|
|
uint32_t maxFramebufferHeight;
|
|
|
|
uint32_t maxFramebufferLayers;
|
|
|
|
VkSampleCountFlags framebufferColorSampleCounts;
|
|
|
|
VkSampleCountFlags framebufferDepthSampleCounts;
|
|
|
|
VkSampleCountFlags framebufferStencilSampleCounts;
|
|
|
|
VkSampleCountFlags framebufferNoAttachmentsSampleCounts;
|
|
|
|
uint32_t maxColorAttachments;
|
|
|
|
VkSampleCountFlags sampledImageColorSampleCounts;
|
|
|
|
VkSampleCountFlags sampledImageIntegerSampleCounts;
|
|
|
|
VkSampleCountFlags sampledImageDepthSampleCounts;
|
|
|
|
VkSampleCountFlags sampledImageStencilSampleCounts;
|
|
|
|
VkSampleCountFlags storageImageSampleCounts;
|
|
|
|
uint32_t maxSampleMaskWords;
|
|
|
|
VkBool32 timestampComputeAndGraphics;
|
|
|
|
float timestampPeriod;
|
|
|
|
uint32_t maxClipDistances;
|
|
|
|
uint32_t maxCullDistances;
|
|
|
|
uint32_t maxCombinedClipAndCullDistances;
|
|
|
|
uint32_t discreteQueuePriorities;
|
|
|
|
float pointSizeRange[2];
|
|
|
|
float lineWidthRange[2];
|
|
|
|
float pointSizeGranularity;
|
|
|
|
float lineWidthGranularity;
|
|
|
|
VkBool32 strictLines;
|
|
|
|
VkBool32 standardSampleLocations;
|
|
|
|
VkDeviceSize optimalBufferCopyOffsetAlignment;
|
|
|
|
VkDeviceSize optimalBufferCopyRowPitchAlignment;
|
|
|
|
VkDeviceSize nonCoherentAtomSize;
|
|
|
|
} VkPhysicalDeviceLimits_host;
|
|
|
|
|
|
|
|
typedef struct VkPhysicalDeviceProperties_host
|
|
|
|
{
|
|
|
|
uint32_t apiVersion;
|
|
|
|
uint32_t driverVersion;
|
|
|
|
uint32_t vendorID;
|
|
|
|
uint32_t deviceID;
|
|
|
|
VkPhysicalDeviceType deviceType;
|
|
|
|
char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE];
|
|
|
|
uint8_t pipelineCacheUUID[VK_UUID_SIZE];
|
|
|
|
VkPhysicalDeviceLimits_host limits;
|
|
|
|
VkPhysicalDeviceSparseProperties sparseProperties;
|
|
|
|
} VkPhysicalDeviceProperties_host;
|
|
|
|
|
2018-06-06 11:11:53 +02:00
|
|
|
typedef struct VkPhysicalDeviceProperties2_host
|
2018-03-15 07:39:38 +01:00
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
void *pNext;
|
|
|
|
VkPhysicalDeviceProperties_host properties;
|
2018-06-06 11:11:53 +02:00
|
|
|
} VkPhysicalDeviceProperties2_host;
|
2018-03-15 07:39:38 +01:00
|
|
|
|
2019-10-30 21:00:05 +01:00
|
|
|
typedef struct VkPipelineExecutableInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipeline pipeline;
|
|
|
|
uint32_t executableIndex;
|
|
|
|
} VkPipelineExecutableInfoKHR_host;
|
|
|
|
|
|
|
|
typedef struct VkPipelineInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkPipeline pipeline;
|
|
|
|
} VkPipelineInfoKHR_host;
|
|
|
|
|
2018-03-15 07:39:36 +01:00
|
|
|
typedef struct VkSparseMemoryBind_host
|
|
|
|
{
|
|
|
|
VkDeviceSize resourceOffset;
|
|
|
|
VkDeviceSize size;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize memoryOffset;
|
|
|
|
VkSparseMemoryBindFlags flags;
|
|
|
|
} VkSparseMemoryBind_host;
|
|
|
|
|
|
|
|
typedef struct VkSparseBufferMemoryBindInfo_host
|
|
|
|
{
|
|
|
|
VkBuffer buffer;
|
|
|
|
uint32_t bindCount;
|
|
|
|
const VkSparseMemoryBind_host *pBinds;
|
|
|
|
} VkSparseBufferMemoryBindInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkSparseImageOpaqueMemoryBindInfo_host
|
|
|
|
{
|
|
|
|
VkImage image;
|
|
|
|
uint32_t bindCount;
|
|
|
|
const VkSparseMemoryBind_host *pBinds;
|
|
|
|
} VkSparseImageOpaqueMemoryBindInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkSparseImageMemoryBind_host
|
|
|
|
{
|
|
|
|
VkImageSubresource subresource;
|
|
|
|
VkOffset3D offset;
|
|
|
|
VkExtent3D extent;
|
|
|
|
VkDeviceMemory memory;
|
|
|
|
VkDeviceSize memoryOffset;
|
|
|
|
VkSparseMemoryBindFlags flags;
|
|
|
|
} VkSparseImageMemoryBind_host;
|
|
|
|
|
|
|
|
typedef struct VkSparseImageMemoryBindInfo_host
|
|
|
|
{
|
|
|
|
VkImage image;
|
|
|
|
uint32_t bindCount;
|
|
|
|
const VkSparseImageMemoryBind_host *pBinds;
|
|
|
|
} VkSparseImageMemoryBindInfo_host;
|
|
|
|
|
|
|
|
typedef struct VkBindSparseInfo_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
uint32_t waitSemaphoreCount;
|
|
|
|
const VkSemaphore *pWaitSemaphores;
|
|
|
|
uint32_t bufferBindCount;
|
|
|
|
const VkSparseBufferMemoryBindInfo_host *pBufferBinds;
|
|
|
|
uint32_t imageOpaqueBindCount;
|
|
|
|
const VkSparseImageOpaqueMemoryBindInfo_host *pImageOpaqueBinds;
|
|
|
|
uint32_t imageBindCount;
|
|
|
|
const VkSparseImageMemoryBindInfo_host *pImageBinds;
|
|
|
|
uint32_t signalSemaphoreCount;
|
|
|
|
const VkSemaphore *pSignalSemaphores;
|
|
|
|
} VkBindSparseInfo_host;
|
|
|
|
|
2019-10-30 21:00:05 +01:00
|
|
|
typedef struct VkSemaphoreSignalInfoKHR_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkSemaphore semaphore;
|
|
|
|
uint64_t value;
|
|
|
|
} VkSemaphoreSignalInfoKHR_host;
|
|
|
|
|
2018-03-14 13:11:53 +01:00
|
|
|
typedef struct VkCopyDescriptorSet_host
|
|
|
|
{
|
|
|
|
VkStructureType sType;
|
|
|
|
const void *pNext;
|
|
|
|
VkDescriptorSet srcSet;
|
|
|
|
uint32_t srcBinding;
|
|
|
|
uint32_t srcArrayElement;
|
|
|
|
VkDescriptorSet dstSet;
|
|
|
|
uint32_t dstBinding;
|
|
|
|
uint32_t dstArrayElement;
|
|
|
|
uint32_t descriptorCount;
|
|
|
|
} VkCopyDescriptorSet_host;
|
|
|
|
|
2018-03-09 17:48:46 +01:00
|
|
|
|
2019-04-10 11:59:50 +02:00
|
|
|
VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCreateInfo *out_struct) DECLSPEC_HIDDEN;
|
|
|
|
void free_VkDeviceCreateInfo_struct_chain(VkDeviceCreateInfo *s) DECLSPEC_HIDDEN;
|
2019-04-10 11:59:49 +02:00
|
|
|
VkResult convert_VkInstanceCreateInfo_struct_chain(const void *pNext, VkInstanceCreateInfo *out_struct) DECLSPEC_HIDDEN;
|
|
|
|
void free_VkInstanceCreateInfo_struct_chain(VkInstanceCreateInfo *s) DECLSPEC_HIDDEN;
|
|
|
|
|
2018-03-09 17:48:48 +01:00
|
|
|
/* For use by vkDevice and children */
|
|
|
|
struct vulkan_device_funcs
|
|
|
|
{
|
2018-07-13 10:55:36 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkAcquireNextImage2KHR)(VkDevice, const VkAcquireNextImageInfoKHR_host *, uint32_t *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkAcquireNextImage2KHR)(VkDevice, const VkAcquireNextImageInfoKHR *, uint32_t *);
|
|
|
|
#endif
|
2018-03-24 14:28:05 +01:00
|
|
|
VkResult (*p_vkAcquireNextImageKHR)(VkDevice, VkSwapchainKHR, uint64_t, VkSemaphore, VkFence, uint32_t *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkAcquirePerformanceConfigurationINTEL)(VkDevice, const VkPerformanceConfigurationAcquireInfoINTEL *, VkPerformanceConfigurationINTEL *);
|
2020-01-07 22:54:06 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkAcquireProfilingLockKHR)(VkDevice, const VkAcquireProfilingLockInfoKHR_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkAcquireProfilingLockKHR)(VkDevice, const VkAcquireProfilingLockInfoKHR *);
|
|
|
|
#endif
|
2018-03-14 13:11:54 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkAllocateCommandBuffers)(VkDevice, const VkCommandBufferAllocateInfo_host *, VkCommandBuffer *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkAllocateCommandBuffers)(VkDevice, const VkCommandBufferAllocateInfo *, VkCommandBuffer *);
|
2018-03-14 13:11:54 +01:00
|
|
|
#endif
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkAllocateDescriptorSets)(VkDevice, const VkDescriptorSetAllocateInfo_host *, VkDescriptorSet *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkAllocateDescriptorSets)(VkDevice, const VkDescriptorSetAllocateInfo *, VkDescriptorSet *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkAllocateMemory)(VkDevice, const VkMemoryAllocateInfo_host *, const VkAllocationCallbacks *, VkDeviceMemory *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkAllocateMemory)(VkDevice, const VkMemoryAllocateInfo *, const VkAllocationCallbacks *, VkDeviceMemory *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBeginCommandBuffer)(VkCommandBuffer, const VkCommandBufferBeginInfo_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkBeginCommandBuffer)(VkCommandBuffer, const VkCommandBufferBeginInfo *);
|
2018-11-26 12:13:45 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBindAccelerationStructureMemoryNV)(VkDevice, uint32_t, const VkBindAccelerationStructureMemoryInfoNV_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkBindAccelerationStructureMemoryNV)(VkDevice, uint32_t, const VkBindAccelerationStructureMemoryInfoNV *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkBindBufferMemory)(VkDevice, VkBuffer, VkDeviceMemory, VkDeviceSize);
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBindBufferMemory2)(VkDevice, uint32_t, const VkBindBufferMemoryInfo_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkBindBufferMemory2)(VkDevice, uint32_t, const VkBindBufferMemoryInfo *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBindBufferMemory2KHR)(VkDevice, uint32_t, const VkBindBufferMemoryInfo_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkBindBufferMemory2KHR)(VkDevice, uint32_t, const VkBindBufferMemoryInfo *);
|
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkBindImageMemory)(VkDevice, VkImage, VkDeviceMemory, VkDeviceSize);
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBindImageMemory2)(VkDevice, uint32_t, const VkBindImageMemoryInfo_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkBindImageMemory2)(VkDevice, uint32_t, const VkBindImageMemoryInfo *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkBindImageMemory2KHR)(VkDevice, uint32_t, const VkBindImageMemoryInfo_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkBindImageMemory2KHR)(VkDevice, uint32_t, const VkBindImageMemoryInfo *);
|
2018-10-05 16:55:20 +02:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdBeginConditionalRenderingEXT)(VkCommandBuffer, const VkConditionalRenderingBeginInfoEXT_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkCmdBeginConditionalRenderingEXT)(VkCommandBuffer, const VkConditionalRenderingBeginInfoEXT *);
|
2018-06-06 11:11:53 +02:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdBeginQuery)(VkCommandBuffer, VkQueryPool, uint32_t, VkQueryControlFlags);
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdBeginQueryIndexedEXT)(VkCommandBuffer, VkQueryPool, uint32_t, VkQueryControlFlags, uint32_t);
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdBeginRenderPass)(VkCommandBuffer, const VkRenderPassBeginInfo_host *, VkSubpassContents);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdBeginRenderPass)(VkCommandBuffer, const VkRenderPassBeginInfo *, VkSubpassContents);
|
2018-10-05 16:55:20 +02:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdBeginRenderPass2KHR)(VkCommandBuffer, const VkRenderPassBeginInfo_host *, const VkSubpassBeginInfoKHR *);
|
|
|
|
#else
|
|
|
|
void (*p_vkCmdBeginRenderPass2KHR)(VkCommandBuffer, const VkRenderPassBeginInfo *, const VkSubpassBeginInfoKHR *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdBeginTransformFeedbackEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkBuffer *, const VkDeviceSize *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdBindDescriptorSets)(VkCommandBuffer, VkPipelineBindPoint, VkPipelineLayout, uint32_t, uint32_t, const VkDescriptorSet *, uint32_t, const uint32_t *);
|
|
|
|
void (*p_vkCmdBindIndexBuffer)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkIndexType);
|
|
|
|
void (*p_vkCmdBindPipeline)(VkCommandBuffer, VkPipelineBindPoint, VkPipeline);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdBindShadingRateImageNV)(VkCommandBuffer, VkImageView, VkImageLayout);
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdBindTransformFeedbackBuffersEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkBuffer *, const VkDeviceSize *, const VkDeviceSize *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdBindVertexBuffers)(VkCommandBuffer, uint32_t, uint32_t, const VkBuffer *, const VkDeviceSize *);
|
|
|
|
void (*p_vkCmdBlitImage)(VkCommandBuffer, VkImage, VkImageLayout, VkImage, VkImageLayout, uint32_t, const VkImageBlit *, VkFilter);
|
2018-11-26 12:13:45 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdBuildAccelerationStructureNV)(VkCommandBuffer, const VkAccelerationStructureInfoNV_host *, VkBuffer, VkDeviceSize, VkBool32, VkAccelerationStructureNV, VkAccelerationStructureNV, VkBuffer, VkDeviceSize);
|
|
|
|
#else
|
|
|
|
void (*p_vkCmdBuildAccelerationStructureNV)(VkCommandBuffer, const VkAccelerationStructureInfoNV *, VkBuffer, VkDeviceSize, VkBool32, VkAccelerationStructureNV, VkAccelerationStructureNV, VkBuffer, VkDeviceSize);
|
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdClearAttachments)(VkCommandBuffer, uint32_t, const VkClearAttachment *, uint32_t, const VkClearRect *);
|
|
|
|
void (*p_vkCmdClearColorImage)(VkCommandBuffer, VkImage, VkImageLayout, const VkClearColorValue *, uint32_t, const VkImageSubresourceRange *);
|
|
|
|
void (*p_vkCmdClearDepthStencilImage)(VkCommandBuffer, VkImage, VkImageLayout, const VkClearDepthStencilValue *, uint32_t, const VkImageSubresourceRange *);
|
2018-11-26 12:13:45 +01:00
|
|
|
void (*p_vkCmdCopyAccelerationStructureNV)(VkCommandBuffer, VkAccelerationStructureNV, VkAccelerationStructureNV, VkCopyAccelerationStructureModeNV);
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdCopyBuffer)(VkCommandBuffer, VkBuffer, VkBuffer, uint32_t, const VkBufferCopy_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdCopyBuffer)(VkCommandBuffer, VkBuffer, VkBuffer, uint32_t, const VkBufferCopy *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdCopyBufferToImage)(VkCommandBuffer, VkBuffer, VkImage, VkImageLayout, uint32_t, const VkBufferImageCopy_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdCopyBufferToImage)(VkCommandBuffer, VkBuffer, VkImage, VkImageLayout, uint32_t, const VkBufferImageCopy *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdCopyImage)(VkCommandBuffer, VkImage, VkImageLayout, VkImage, VkImageLayout, uint32_t, const VkImageCopy *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdCopyImageToBuffer)(VkCommandBuffer, VkImage, VkImageLayout, VkBuffer, uint32_t, const VkBufferImageCopy_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdCopyImageToBuffer)(VkCommandBuffer, VkImage, VkImageLayout, VkBuffer, uint32_t, const VkBufferImageCopy *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdCopyQueryPoolResults)(VkCommandBuffer, VkQueryPool, uint32_t, uint32_t, VkBuffer, VkDeviceSize, VkDeviceSize, VkQueryResultFlags);
|
|
|
|
void (*p_vkCmdDispatch)(VkCommandBuffer, uint32_t, uint32_t, uint32_t);
|
2018-07-13 10:55:36 +02:00
|
|
|
void (*p_vkCmdDispatchBase)(VkCommandBuffer, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdDispatchBaseKHR)(VkCommandBuffer, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdDispatchIndirect)(VkCommandBuffer, VkBuffer, VkDeviceSize);
|
|
|
|
void (*p_vkCmdDraw)(VkCommandBuffer, uint32_t, uint32_t, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdDrawIndexed)(VkCommandBuffer, uint32_t, uint32_t, uint32_t, int32_t, uint32_t);
|
|
|
|
void (*p_vkCmdDrawIndexedIndirect)(VkCommandBuffer, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-03-15 07:39:40 +01:00
|
|
|
void (*p_vkCmdDrawIndexedIndirectCountAMD)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkCmdDrawIndexedIndirectCountKHR)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdDrawIndirect)(VkCommandBuffer, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdDrawIndirectByteCountEXT)(VkCommandBuffer, uint32_t, uint32_t, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-03-15 07:39:40 +01:00
|
|
|
void (*p_vkCmdDrawIndirectCountAMD)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkCmdDrawIndirectCountKHR)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdDrawMeshTasksIndirectCountNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdDrawMeshTasksIndirectNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdDrawMeshTasksNV)(VkCommandBuffer, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdEndConditionalRenderingEXT)(VkCommandBuffer);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdEndQuery)(VkCommandBuffer, VkQueryPool, uint32_t);
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdEndQueryIndexedEXT)(VkCommandBuffer, VkQueryPool, uint32_t, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdEndRenderPass)(VkCommandBuffer);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdEndRenderPass2KHR)(VkCommandBuffer, const VkSubpassEndInfoKHR *);
|
2018-10-15 11:40:19 +02:00
|
|
|
void (*p_vkCmdEndTransformFeedbackEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkBuffer *, const VkDeviceSize *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdExecuteCommands)(VkCommandBuffer, uint32_t, const VkCommandBuffer *);
|
|
|
|
void (*p_vkCmdFillBuffer)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t);
|
|
|
|
void (*p_vkCmdNextSubpass)(VkCommandBuffer, VkSubpassContents);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdNextSubpass2KHR)(VkCommandBuffer, const VkSubpassBeginInfoKHR *, const VkSubpassEndInfoKHR *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdPipelineBarrier)(VkCommandBuffer, VkPipelineStageFlags, VkPipelineStageFlags, VkDependencyFlags, uint32_t, const VkMemoryBarrier *, uint32_t, const VkBufferMemoryBarrier_host *, uint32_t, const VkImageMemoryBarrier_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdPipelineBarrier)(VkCommandBuffer, VkPipelineStageFlags, VkPipelineStageFlags, VkDependencyFlags, uint32_t, const VkMemoryBarrier *, uint32_t, const VkBufferMemoryBarrier *, uint32_t, const VkImageMemoryBarrier *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdPushConstants)(VkCommandBuffer, VkPipelineLayout, VkShaderStageFlags, uint32_t, uint32_t, const void *);
|
2018-03-15 07:39:40 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdPushDescriptorSetKHR)(VkCommandBuffer, VkPipelineBindPoint, VkPipelineLayout, uint32_t, uint32_t, const VkWriteDescriptorSet_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkCmdPushDescriptorSetKHR)(VkCommandBuffer, VkPipelineBindPoint, VkPipelineLayout, uint32_t, uint32_t, const VkWriteDescriptorSet *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkCmdPushDescriptorSetWithTemplateKHR)(VkCommandBuffer, VkDescriptorUpdateTemplate, VkPipelineLayout, uint32_t, const void *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdResetEvent)(VkCommandBuffer, VkEvent, VkPipelineStageFlags);
|
|
|
|
void (*p_vkCmdResetQueryPool)(VkCommandBuffer, VkQueryPool, uint32_t, uint32_t);
|
|
|
|
void (*p_vkCmdResolveImage)(VkCommandBuffer, VkImage, VkImageLayout, VkImage, VkImageLayout, uint32_t, const VkImageResolve *);
|
|
|
|
void (*p_vkCmdSetBlendConstants)(VkCommandBuffer, const float[4]);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdSetCheckpointNV)(VkCommandBuffer, const void *);
|
|
|
|
void (*p_vkCmdSetCoarseSampleOrderNV)(VkCommandBuffer, VkCoarseSampleOrderTypeNV, uint32_t, const VkCoarseSampleOrderCustomNV *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdSetDepthBias)(VkCommandBuffer, float, float, float);
|
|
|
|
void (*p_vkCmdSetDepthBounds)(VkCommandBuffer, float, float);
|
2018-07-13 10:55:36 +02:00
|
|
|
void (*p_vkCmdSetDeviceMask)(VkCommandBuffer, uint32_t);
|
|
|
|
void (*p_vkCmdSetDeviceMaskKHR)(VkCommandBuffer, uint32_t);
|
2018-03-15 07:39:40 +01:00
|
|
|
void (*p_vkCmdSetDiscardRectangleEXT)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdSetEvent)(VkCommandBuffer, VkEvent, VkPipelineStageFlags);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdSetExclusiveScissorNV)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *);
|
2019-10-30 21:00:04 +01:00
|
|
|
void (*p_vkCmdSetLineStippleEXT)(VkCommandBuffer, uint32_t, uint16_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdSetLineWidth)(VkCommandBuffer, float);
|
2019-10-30 21:00:01 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCmdSetPerformanceMarkerINTEL)(VkCommandBuffer, const VkPerformanceMarkerInfoINTEL_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCmdSetPerformanceMarkerINTEL)(VkCommandBuffer, const VkPerformanceMarkerInfoINTEL *);
|
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCmdSetPerformanceOverrideINTEL)(VkCommandBuffer, const VkPerformanceOverrideInfoINTEL_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCmdSetPerformanceOverrideINTEL)(VkCommandBuffer, const VkPerformanceOverrideInfoINTEL *);
|
|
|
|
#endif
|
|
|
|
VkResult (*p_vkCmdSetPerformanceStreamMarkerINTEL)(VkCommandBuffer, const VkPerformanceStreamMarkerInfoINTEL *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkCmdSetSampleLocationsEXT)(VkCommandBuffer, const VkSampleLocationsInfoEXT *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdSetScissor)(VkCommandBuffer, uint32_t, uint32_t, const VkRect2D *);
|
|
|
|
void (*p_vkCmdSetStencilCompareMask)(VkCommandBuffer, VkStencilFaceFlags, uint32_t);
|
|
|
|
void (*p_vkCmdSetStencilReference)(VkCommandBuffer, VkStencilFaceFlags, uint32_t);
|
|
|
|
void (*p_vkCmdSetStencilWriteMask)(VkCommandBuffer, VkStencilFaceFlags, uint32_t);
|
|
|
|
void (*p_vkCmdSetViewport)(VkCommandBuffer, uint32_t, uint32_t, const VkViewport *);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkCmdSetViewportShadingRatePaletteNV)(VkCommandBuffer, uint32_t, uint32_t, const VkShadingRatePaletteNV *);
|
2018-03-15 07:39:40 +01:00
|
|
|
void (*p_vkCmdSetViewportWScalingNV)(VkCommandBuffer, uint32_t, uint32_t, const VkViewportWScalingNV *);
|
2018-11-26 12:13:45 +01:00
|
|
|
void (*p_vkCmdTraceRaysNV)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, VkBuffer, VkDeviceSize, VkDeviceSize, uint32_t, uint32_t, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdUpdateBuffer)(VkCommandBuffer, VkBuffer, VkDeviceSize, VkDeviceSize, const void *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkCmdWaitEvents)(VkCommandBuffer, uint32_t, const VkEvent *, VkPipelineStageFlags, VkPipelineStageFlags, uint32_t, const VkMemoryBarrier *, uint32_t, const VkBufferMemoryBarrier_host *, uint32_t, const VkImageMemoryBarrier_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdWaitEvents)(VkCommandBuffer, uint32_t, const VkEvent *, VkPipelineStageFlags, VkPipelineStageFlags, uint32_t, const VkMemoryBarrier *, uint32_t, const VkBufferMemoryBarrier *, uint32_t, const VkImageMemoryBarrier *);
|
2018-03-14 13:11:56 +01:00
|
|
|
#endif
|
2018-11-26 12:13:45 +01:00
|
|
|
void (*p_vkCmdWriteAccelerationStructuresPropertiesNV)(VkCommandBuffer, uint32_t, const VkAccelerationStructureNV *, VkQueryType, VkQueryPool, uint32_t);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkCmdWriteBufferMarkerAMD)(VkCommandBuffer, VkPipelineStageFlagBits, VkBuffer, VkDeviceSize, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkCmdWriteTimestamp)(VkCommandBuffer, VkPipelineStageFlagBits, VkQueryPool, uint32_t);
|
2018-11-26 12:13:45 +01:00
|
|
|
VkResult (*p_vkCompileDeferredNV)(VkDevice, VkPipeline, uint32_t);
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateAccelerationStructureNV)(VkDevice, const VkAccelerationStructureCreateInfoNV_host *, const VkAllocationCallbacks *, VkAccelerationStructureNV *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCreateAccelerationStructureNV)(VkDevice, const VkAccelerationStructureCreateInfoNV *, const VkAllocationCallbacks *, VkAccelerationStructureNV *);
|
|
|
|
#endif
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateBuffer)(VkDevice, const VkBufferCreateInfo_host *, const VkAllocationCallbacks *, VkBuffer *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateBuffer)(VkDevice, const VkBufferCreateInfo *, const VkAllocationCallbacks *, VkBuffer *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateBufferView)(VkDevice, const VkBufferViewCreateInfo_host *, const VkAllocationCallbacks *, VkBufferView *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateBufferView)(VkDevice, const VkBufferViewCreateInfo *, const VkAllocationCallbacks *, VkBufferView *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateCommandPool)(VkDevice, const VkCommandPoolCreateInfo *, const VkAllocationCallbacks *, VkCommandPool *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateComputePipelines)(VkDevice, VkPipelineCache, uint32_t, const VkComputePipelineCreateInfo_host *, const VkAllocationCallbacks *, VkPipeline *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateComputePipelines)(VkDevice, VkPipelineCache, uint32_t, const VkComputePipelineCreateInfo *, const VkAllocationCallbacks *, VkPipeline *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateDescriptorPool)(VkDevice, const VkDescriptorPoolCreateInfo *, const VkAllocationCallbacks *, VkDescriptorPool *);
|
|
|
|
VkResult (*p_vkCreateDescriptorSetLayout)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, const VkAllocationCallbacks *, VkDescriptorSetLayout *);
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateDescriptorUpdateTemplate)(VkDevice, const VkDescriptorUpdateTemplateCreateInfo_host *, const VkAllocationCallbacks *, VkDescriptorUpdateTemplate *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCreateDescriptorUpdateTemplate)(VkDevice, const VkDescriptorUpdateTemplateCreateInfo *, const VkAllocationCallbacks *, VkDescriptorUpdateTemplate *);
|
|
|
|
#endif
|
2018-03-15 07:39:40 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkCreateDescriptorUpdateTemplateKHR)(VkDevice, const VkDescriptorUpdateTemplateCreateInfo_host *, const VkAllocationCallbacks *, VkDescriptorUpdateTemplate *);
|
2018-03-15 07:39:40 +01:00
|
|
|
#else
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkCreateDescriptorUpdateTemplateKHR)(VkDevice, const VkDescriptorUpdateTemplateCreateInfo *, const VkAllocationCallbacks *, VkDescriptorUpdateTemplate *);
|
2018-03-15 07:39:40 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateEvent)(VkDevice, const VkEventCreateInfo *, const VkAllocationCallbacks *, VkEvent *);
|
|
|
|
VkResult (*p_vkCreateFence)(VkDevice, const VkFenceCreateInfo *, const VkAllocationCallbacks *, VkFence *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateFramebuffer)(VkDevice, const VkFramebufferCreateInfo_host *, const VkAllocationCallbacks *, VkFramebuffer *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateFramebuffer)(VkDevice, const VkFramebufferCreateInfo *, const VkAllocationCallbacks *, VkFramebuffer *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateGraphicsPipelines)(VkDevice, VkPipelineCache, uint32_t, const VkGraphicsPipelineCreateInfo_host *, const VkAllocationCallbacks *, VkPipeline *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateGraphicsPipelines)(VkDevice, VkPipelineCache, uint32_t, const VkGraphicsPipelineCreateInfo *, const VkAllocationCallbacks *, VkPipeline *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateImage)(VkDevice, const VkImageCreateInfo *, const VkAllocationCallbacks *, VkImage *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateImageView)(VkDevice, const VkImageViewCreateInfo_host *, const VkAllocationCallbacks *, VkImageView *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateImageView)(VkDevice, const VkImageViewCreateInfo *, const VkAllocationCallbacks *, VkImageView *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreatePipelineCache)(VkDevice, const VkPipelineCacheCreateInfo *, const VkAllocationCallbacks *, VkPipelineCache *);
|
|
|
|
VkResult (*p_vkCreatePipelineLayout)(VkDevice, const VkPipelineLayoutCreateInfo *, const VkAllocationCallbacks *, VkPipelineLayout *);
|
|
|
|
VkResult (*p_vkCreateQueryPool)(VkDevice, const VkQueryPoolCreateInfo *, const VkAllocationCallbacks *, VkQueryPool *);
|
2018-11-26 12:13:45 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateRayTracingPipelinesNV)(VkDevice, VkPipelineCache, uint32_t, const VkRayTracingPipelineCreateInfoNV_host *, const VkAllocationCallbacks *, VkPipeline *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCreateRayTracingPipelinesNV)(VkDevice, VkPipelineCache, uint32_t, const VkRayTracingPipelineCreateInfoNV *, const VkAllocationCallbacks *, VkPipeline *);
|
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateRenderPass)(VkDevice, const VkRenderPassCreateInfo *, const VkAllocationCallbacks *, VkRenderPass *);
|
2018-10-05 16:55:20 +02:00
|
|
|
VkResult (*p_vkCreateRenderPass2KHR)(VkDevice, const VkRenderPassCreateInfo2KHR *, const VkAllocationCallbacks *, VkRenderPass *);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateSampler)(VkDevice, const VkSamplerCreateInfo *, const VkAllocationCallbacks *, VkSampler *);
|
2018-07-12 11:39:39 +02:00
|
|
|
VkResult (*p_vkCreateSamplerYcbcrConversion)(VkDevice, const VkSamplerYcbcrConversionCreateInfo *, const VkAllocationCallbacks *, VkSamplerYcbcrConversion *);
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkCreateSamplerYcbcrConversionKHR)(VkDevice, const VkSamplerYcbcrConversionCreateInfo *, const VkAllocationCallbacks *, VkSamplerYcbcrConversion *);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkCreateSemaphore)(VkDevice, const VkSemaphoreCreateInfo *, const VkAllocationCallbacks *, VkSemaphore *);
|
|
|
|
VkResult (*p_vkCreateShaderModule)(VkDevice, const VkShaderModuleCreateInfo *, const VkAllocationCallbacks *, VkShaderModule *);
|
2018-03-24 14:28:05 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkCreateSwapchainKHR)(VkDevice, const VkSwapchainCreateInfoKHR_host *, const VkAllocationCallbacks *, VkSwapchainKHR *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkCreateSwapchainKHR)(VkDevice, const VkSwapchainCreateInfoKHR *, const VkAllocationCallbacks *, VkSwapchainKHR *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkCreateValidationCacheEXT)(VkDevice, const VkValidationCacheCreateInfoEXT *, const VkAllocationCallbacks *, VkValidationCacheEXT *);
|
2018-11-26 12:13:45 +01:00
|
|
|
void (*p_vkDestroyAccelerationStructureNV)(VkDevice, VkAccelerationStructureNV, const VkAllocationCallbacks *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkDestroyBuffer)(VkDevice, VkBuffer, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyBufferView)(VkDevice, VkBufferView, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyCommandPool)(VkDevice, VkCommandPool, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyDescriptorPool)(VkDevice, VkDescriptorPool, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyDescriptorSetLayout)(VkDevice, VkDescriptorSetLayout, const VkAllocationCallbacks *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkDestroyDescriptorUpdateTemplate)(VkDevice, VkDescriptorUpdateTemplate, const VkAllocationCallbacks *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkDestroyDescriptorUpdateTemplateKHR)(VkDevice, VkDescriptorUpdateTemplate, const VkAllocationCallbacks *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkDestroyDevice)(VkDevice, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyEvent)(VkDevice, VkEvent, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyFence)(VkDevice, VkFence, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyFramebuffer)(VkDevice, VkFramebuffer, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyImage)(VkDevice, VkImage, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyImageView)(VkDevice, VkImageView, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyPipeline)(VkDevice, VkPipeline, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyPipelineCache)(VkDevice, VkPipelineCache, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyPipelineLayout)(VkDevice, VkPipelineLayout, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyQueryPool)(VkDevice, VkQueryPool, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyRenderPass)(VkDevice, VkRenderPass, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroySampler)(VkDevice, VkSampler, const VkAllocationCallbacks *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkDestroySamplerYcbcrConversion)(VkDevice, VkSamplerYcbcrConversion, const VkAllocationCallbacks *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkDestroySamplerYcbcrConversionKHR)(VkDevice, VkSamplerYcbcrConversion, const VkAllocationCallbacks *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkDestroySemaphore)(VkDevice, VkSemaphore, const VkAllocationCallbacks *);
|
|
|
|
void (*p_vkDestroyShaderModule)(VkDevice, VkShaderModule, const VkAllocationCallbacks *);
|
2018-03-24 14:28:05 +01:00
|
|
|
void (*p_vkDestroySwapchainKHR)(VkDevice, VkSwapchainKHR, const VkAllocationCallbacks *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkDestroyValidationCacheEXT)(VkDevice, VkValidationCacheEXT, const VkAllocationCallbacks *);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkDeviceWaitIdle)(VkDevice);
|
|
|
|
VkResult (*p_vkEndCommandBuffer)(VkCommandBuffer);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkFlushMappedMemoryRanges)(VkDevice, uint32_t, const VkMappedMemoryRange_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkFlushMappedMemoryRanges)(VkDevice, uint32_t, const VkMappedMemoryRange *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkFreeCommandBuffers)(VkDevice, VkCommandPool, uint32_t, const VkCommandBuffer *);
|
|
|
|
VkResult (*p_vkFreeDescriptorSets)(VkDevice, VkDescriptorPool, uint32_t, const VkDescriptorSet *);
|
|
|
|
void (*p_vkFreeMemory)(VkDevice, VkDeviceMemory, const VkAllocationCallbacks *);
|
2018-11-26 12:13:45 +01:00
|
|
|
VkResult (*p_vkGetAccelerationStructureHandleNV)(VkDevice, VkAccelerationStructureNV, size_t, void *);
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetAccelerationStructureMemoryRequirementsNV)(VkDevice, const VkAccelerationStructureMemoryRequirementsInfoNV_host *, VkMemoryRequirements2KHR_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetAccelerationStructureMemoryRequirementsNV)(VkDevice, const VkAccelerationStructureMemoryRequirementsInfoNV *, VkMemoryRequirements2KHR *);
|
|
|
|
#endif
|
2019-03-19 15:59:31 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
2020-01-07 22:54:06 +01:00
|
|
|
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
|
|
|
#else
|
|
|
|
VkDeviceAddress (*p_vkGetBufferDeviceAddressEXT)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkDeviceAddress (*p_vkGetBufferDeviceAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
2019-03-19 15:59:31 +01:00
|
|
|
#else
|
2020-01-07 22:54:06 +01:00
|
|
|
VkDeviceAddress (*p_vkGetBufferDeviceAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
2019-03-19 15:59:31 +01:00
|
|
|
#endif
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetBufferMemoryRequirements)(VkDevice, VkBuffer, VkMemoryRequirements_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetBufferMemoryRequirements)(VkDevice, VkBuffer, VkMemoryRequirements *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetBufferMemoryRequirements2)(VkDevice, const VkBufferMemoryRequirementsInfo2_host *, VkMemoryRequirements2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetBufferMemoryRequirements2)(VkDevice, const VkBufferMemoryRequirementsInfo2 *, VkMemoryRequirements2 *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetBufferMemoryRequirements2KHR)(VkDevice, const VkBufferMemoryRequirementsInfo2_host *, VkMemoryRequirements2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetBufferMemoryRequirements2KHR)(VkDevice, const VkBufferMemoryRequirementsInfo2 *, VkMemoryRequirements2 *);
|
2020-01-07 22:54:06 +01:00
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
uint64_t (*p_vkGetBufferOpaqueCaptureAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR_host *);
|
|
|
|
#else
|
|
|
|
uint64_t (*p_vkGetBufferOpaqueCaptureAddressKHR)(VkDevice, const VkBufferDeviceAddressInfoKHR *);
|
2018-06-06 11:11:53 +02:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkGetDescriptorSetLayoutSupport)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, VkDescriptorSetLayoutSupport *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetDescriptorSetLayoutSupportKHR)(VkDevice, const VkDescriptorSetLayoutCreateInfo *, VkDescriptorSetLayoutSupport *);
|
2018-07-13 10:55:36 +02:00
|
|
|
void (*p_vkGetDeviceGroupPeerMemoryFeatures)(VkDevice, uint32_t, uint32_t, uint32_t, VkPeerMemoryFeatureFlags *);
|
|
|
|
void (*p_vkGetDeviceGroupPeerMemoryFeaturesKHR)(VkDevice, uint32_t, uint32_t, uint32_t, VkPeerMemoryFeatureFlags *);
|
|
|
|
VkResult (*p_vkGetDeviceGroupPresentCapabilitiesKHR)(VkDevice, VkDeviceGroupPresentCapabilitiesKHR *);
|
2018-07-13 10:55:35 +02:00
|
|
|
VkResult (*p_vkGetDeviceGroupSurfacePresentModesKHR)(VkDevice, VkSurfaceKHR, VkDeviceGroupPresentModeFlagsKHR *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetDeviceMemoryCommitment)(VkDevice, VkDeviceMemory, VkDeviceSize *);
|
2020-01-07 22:54:06 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
uint64_t (*p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR_host *);
|
|
|
|
#else
|
|
|
|
uint64_t (*p_vkGetDeviceMemoryOpaqueCaptureAddressKHR)(VkDevice, const VkDeviceMemoryOpaqueCaptureAddressInfoKHR *);
|
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetDeviceQueue)(VkDevice, uint32_t, uint32_t, VkQueue *);
|
2018-08-20 10:05:12 +02:00
|
|
|
void (*p_vkGetDeviceQueue2)(VkDevice, const VkDeviceQueueInfo2 *, VkQueue *);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkGetEventStatus)(VkDevice, VkEvent);
|
|
|
|
VkResult (*p_vkGetFenceStatus)(VkDevice, VkFence);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageMemoryRequirements)(VkDevice, VkImage, VkMemoryRequirements_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetImageMemoryRequirements)(VkDevice, VkImage, VkMemoryRequirements *);
|
2018-06-06 11:11:53 +02:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageMemoryRequirements2)(VkDevice, const VkImageMemoryRequirementsInfo2_host *, VkMemoryRequirements2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetImageMemoryRequirements2)(VkDevice, const VkImageMemoryRequirementsInfo2 *, VkMemoryRequirements2 *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageMemoryRequirements2KHR)(VkDevice, const VkImageMemoryRequirementsInfo2_host *, VkMemoryRequirements2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetImageMemoryRequirements2KHR)(VkDevice, const VkImageMemoryRequirementsInfo2 *, VkMemoryRequirements2 *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetImageSparseMemoryRequirements)(VkDevice, VkImage, uint32_t *, VkSparseImageMemoryRequirements *);
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageSparseMemoryRequirements2)(VkDevice, const VkImageSparseMemoryRequirementsInfo2_host *, uint32_t *, VkSparseImageMemoryRequirements2 *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetImageSparseMemoryRequirements2)(VkDevice, const VkImageSparseMemoryRequirementsInfo2 *, uint32_t *, VkSparseImageMemoryRequirements2 *);
|
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageSparseMemoryRequirements2KHR)(VkDevice, const VkImageSparseMemoryRequirementsInfo2_host *, uint32_t *, VkSparseImageMemoryRequirements2 *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetImageSparseMemoryRequirements2KHR)(VkDevice, const VkImageSparseMemoryRequirementsInfo2 *, uint32_t *, VkSparseImageMemoryRequirements2 *);
|
|
|
|
#endif
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetImageSubresourceLayout)(VkDevice, VkImage, const VkImageSubresource *, VkSubresourceLayout_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetImageSubresourceLayout)(VkDevice, VkImage, const VkImageSubresource *, VkSubresourceLayout *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2019-04-10 11:59:53 +02:00
|
|
|
VkResult (*p_vkGetMemoryHostPointerPropertiesEXT)(VkDevice, VkExternalMemoryHandleTypeFlagBits, const void *, VkMemoryHostPointerPropertiesEXT *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkGetPerformanceParameterINTEL)(VkDevice, VkPerformanceParameterTypeINTEL, VkPerformanceValueINTEL *);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkGetPipelineCacheData)(VkDevice, VkPipelineCache, size_t *, void *);
|
2019-10-30 21:00:05 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkGetPipelineExecutableInternalRepresentationsKHR)(VkDevice, const VkPipelineExecutableInfoKHR_host *, uint32_t *, VkPipelineExecutableInternalRepresentationKHR *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkGetPipelineExecutableInternalRepresentationsKHR)(VkDevice, const VkPipelineExecutableInfoKHR *, uint32_t *, VkPipelineExecutableInternalRepresentationKHR *);
|
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkGetPipelineExecutablePropertiesKHR)(VkDevice, const VkPipelineInfoKHR_host *, uint32_t *, VkPipelineExecutablePropertiesKHR *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkGetPipelineExecutablePropertiesKHR)(VkDevice, const VkPipelineInfoKHR *, uint32_t *, VkPipelineExecutablePropertiesKHR *);
|
|
|
|
#endif
|
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkGetPipelineExecutableStatisticsKHR)(VkDevice, const VkPipelineExecutableInfoKHR_host *, uint32_t *, VkPipelineExecutableStatisticKHR *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkGetPipelineExecutableStatisticsKHR)(VkDevice, const VkPipelineExecutableInfoKHR *, uint32_t *, VkPipelineExecutableStatisticKHR *);
|
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkGetQueryPoolResults)(VkDevice, VkQueryPool, uint32_t, uint32_t, size_t, void *, VkDeviceSize, VkQueryResultFlags);
|
2018-10-05 16:55:20 +02:00
|
|
|
void (*p_vkGetQueueCheckpointDataNV)(VkQueue, uint32_t *, VkCheckpointDataNV *);
|
2018-11-26 12:13:45 +01:00
|
|
|
VkResult (*p_vkGetRayTracingShaderGroupHandlesNV)(VkDevice, VkPipeline, uint32_t, uint32_t, size_t, void *);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkGetRenderAreaGranularity)(VkDevice, VkRenderPass, VkExtent2D *);
|
2019-10-30 21:00:05 +01:00
|
|
|
VkResult (*p_vkGetSemaphoreCounterValueKHR)(VkDevice, VkSemaphore, uint64_t *);
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkGetShaderInfoAMD)(VkDevice, VkPipeline, VkShaderStageFlagBits, VkShaderInfoTypeAMD, size_t *, void *);
|
2018-03-24 14:28:05 +01:00
|
|
|
VkResult (*p_vkGetSwapchainImagesKHR)(VkDevice, VkSwapchainKHR, uint32_t *, VkImage *);
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkGetValidationCacheDataEXT)(VkDevice, VkValidationCacheEXT, size_t *, void *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkInitializePerformanceApiINTEL)(VkDevice, const VkInitializePerformanceApiInfoINTEL *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkInvalidateMappedMemoryRanges)(VkDevice, uint32_t, const VkMappedMemoryRange_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkInvalidateMappedMemoryRanges)(VkDevice, uint32_t, const VkMappedMemoryRange *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkMapMemory)(VkDevice, VkDeviceMemory, VkDeviceSize, VkDeviceSize, VkMemoryMapFlags, void **);
|
|
|
|
VkResult (*p_vkMergePipelineCaches)(VkDevice, VkPipelineCache, uint32_t, const VkPipelineCache *);
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkMergeValidationCachesEXT)(VkDevice, VkValidationCacheEXT, uint32_t, const VkValidationCacheEXT *);
|
2018-03-15 07:39:36 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkQueueBindSparse)(VkQueue, uint32_t, const VkBindSparseInfo_host *, VkFence);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkQueueBindSparse)(VkQueue, uint32_t, const VkBindSparseInfo *, VkFence);
|
2018-03-15 07:39:36 +01:00
|
|
|
#endif
|
2018-03-24 14:28:05 +01:00
|
|
|
VkResult (*p_vkQueuePresentKHR)(VkQueue, const VkPresentInfoKHR *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkQueueSetPerformanceConfigurationINTEL)(VkQueue, VkPerformanceConfigurationINTEL);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkQueueSubmit)(VkQueue, uint32_t, const VkSubmitInfo *, VkFence);
|
|
|
|
VkResult (*p_vkQueueWaitIdle)(VkQueue);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkReleasePerformanceConfigurationINTEL)(VkDevice, VkPerformanceConfigurationINTEL);
|
2020-01-07 22:54:06 +01:00
|
|
|
void (*p_vkReleaseProfilingLockKHR)(VkDevice);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkResetCommandBuffer)(VkCommandBuffer, VkCommandBufferResetFlags);
|
|
|
|
VkResult (*p_vkResetCommandPool)(VkDevice, VkCommandPool, VkCommandPoolResetFlags);
|
|
|
|
VkResult (*p_vkResetDescriptorPool)(VkDevice, VkDescriptorPool, VkDescriptorPoolResetFlags);
|
|
|
|
VkResult (*p_vkResetEvent)(VkDevice, VkEvent);
|
|
|
|
VkResult (*p_vkResetFences)(VkDevice, uint32_t, const VkFence *);
|
2019-03-19 15:59:34 +01:00
|
|
|
void (*p_vkResetQueryPoolEXT)(VkDevice, VkQueryPool, uint32_t, uint32_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkSetEvent)(VkDevice, VkEvent);
|
2019-10-30 21:00:05 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkSignalSemaphoreKHR)(VkDevice, const VkSemaphoreSignalInfoKHR_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkSignalSemaphoreKHR)(VkDevice, const VkSemaphoreSignalInfoKHR *);
|
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkTrimCommandPool)(VkDevice, VkCommandPool, VkCommandPoolTrimFlags);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkTrimCommandPoolKHR)(VkDevice, VkCommandPool, VkCommandPoolTrimFlags);
|
2019-10-30 21:00:01 +01:00
|
|
|
void (*p_vkUninitializePerformanceApiINTEL)(VkDevice);
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkUnmapMemory)(VkDevice, VkDeviceMemory);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkUpdateDescriptorSetWithTemplate)(VkDevice, VkDescriptorSet, VkDescriptorUpdateTemplate, const void *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkUpdateDescriptorSetWithTemplateKHR)(VkDevice, VkDescriptorSet, VkDescriptorUpdateTemplate, const void *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkUpdateDescriptorSets)(VkDevice, uint32_t, const VkWriteDescriptorSet_host *, uint32_t, const VkCopyDescriptorSet_host *);
|
|
|
|
#else
|
2018-03-09 17:48:48 +01:00
|
|
|
void (*p_vkUpdateDescriptorSets)(VkDevice, uint32_t, const VkWriteDescriptorSet *, uint32_t, const VkCopyDescriptorSet *);
|
2018-03-14 13:11:53 +01:00
|
|
|
#endif
|
2018-03-09 17:48:48 +01:00
|
|
|
VkResult (*p_vkWaitForFences)(VkDevice, uint32_t, const VkFence *, VkBool32, uint64_t);
|
2019-10-30 21:00:05 +01:00
|
|
|
VkResult (*p_vkWaitSemaphoresKHR)(VkDevice, const VkSemaphoreWaitInfoKHR *, uint64_t);
|
2018-03-09 17:48:48 +01:00
|
|
|
};
|
|
|
|
|
2018-03-02 07:13:35 +01:00
|
|
|
/* For use by vkInstance and children */
|
|
|
|
struct vulkan_instance_funcs
|
|
|
|
{
|
|
|
|
VkResult (*p_vkCreateDevice)(VkPhysicalDevice, const VkDeviceCreateInfo *, const VkAllocationCallbacks *, VkDevice *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkCreateHeadlessSurfaceEXT)(VkInstance, const VkHeadlessSurfaceCreateInfoEXT *, const VkAllocationCallbacks *, VkSurfaceKHR *);
|
2018-03-24 14:28:05 +01:00
|
|
|
VkResult (*p_vkCreateWin32SurfaceKHR)(VkInstance, const VkWin32SurfaceCreateInfoKHR *, const VkAllocationCallbacks *, VkSurfaceKHR *);
|
|
|
|
void (*p_vkDestroySurfaceKHR)(VkInstance, VkSurfaceKHR, const VkAllocationCallbacks *);
|
2018-03-02 07:13:35 +01:00
|
|
|
VkResult (*p_vkEnumerateDeviceExtensionProperties)(VkPhysicalDevice, const char *, uint32_t *, VkExtensionProperties *);
|
|
|
|
VkResult (*p_vkEnumerateDeviceLayerProperties)(VkPhysicalDevice, uint32_t *, VkLayerProperties *);
|
2018-07-12 11:39:43 +02:00
|
|
|
VkResult (*p_vkEnumeratePhysicalDeviceGroups)(VkInstance, uint32_t *, VkPhysicalDeviceGroupProperties *);
|
|
|
|
VkResult (*p_vkEnumeratePhysicalDeviceGroupsKHR)(VkInstance, uint32_t *, VkPhysicalDeviceGroupProperties *);
|
2020-01-07 22:54:06 +01:00
|
|
|
VkResult (*p_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR)(VkPhysicalDevice, uint32_t, uint32_t *, VkPerformanceCounterKHR *, VkPerformanceCounterDescriptionKHR *);
|
2018-03-02 07:13:35 +01:00
|
|
|
VkResult (*p_vkEnumeratePhysicalDevices)(VkInstance, uint32_t *, VkPhysicalDevice *);
|
2019-04-10 11:59:56 +02:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)(VkPhysicalDevice, uint32_t *, VkCooperativeMatrixPropertiesNV *);
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceFeatures)(VkPhysicalDevice, VkPhysicalDeviceFeatures *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceFeatures2)(VkPhysicalDevice, VkPhysicalDeviceFeatures2 *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceFeatures2KHR)(VkPhysicalDevice, VkPhysicalDeviceFeatures2 *);
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceFormatProperties)(VkPhysicalDevice, VkFormat, VkFormatProperties *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceFormatProperties2)(VkPhysicalDevice, VkFormat, VkFormatProperties2 *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceFormatProperties2KHR)(VkPhysicalDevice, VkFormat, VkFormatProperties2 *);
|
2018-03-09 17:48:46 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties)(VkPhysicalDevice, VkFormat, VkImageType, VkImageTiling, VkImageUsageFlags, VkImageCreateFlags, VkImageFormatProperties_host *);
|
|
|
|
#else
|
2018-03-02 07:13:35 +01:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties)(VkPhysicalDevice, VkFormat, VkImageType, VkImageTiling, VkImageUsageFlags, VkImageCreateFlags, VkImageFormatProperties *);
|
2018-03-09 17:48:46 +01:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties2)(VkPhysicalDevice, const VkPhysicalDeviceImageFormatInfo2 *, VkImageFormatProperties2_host *);
|
|
|
|
#else
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties2)(VkPhysicalDevice, const VkPhysicalDeviceImageFormatInfo2 *, VkImageFormatProperties2 *);
|
|
|
|
#endif
|
2018-03-15 07:39:38 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties2KHR)(VkPhysicalDevice, const VkPhysicalDeviceImageFormatInfo2 *, VkImageFormatProperties2_host *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#else
|
2018-06-06 11:11:53 +02:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceImageFormatProperties2KHR)(VkPhysicalDevice, const VkPhysicalDeviceImageFormatInfo2 *, VkImageFormatProperties2 *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#endif
|
2018-03-09 17:48:46 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties_host *);
|
|
|
|
#else
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties *);
|
2018-03-09 17:48:46 +01:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties2)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties2)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties2 *);
|
|
|
|
#endif
|
2018-03-15 07:39:38 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties2KHR)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties2_host *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#else
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceMemoryProperties2KHR)(VkPhysicalDevice, VkPhysicalDeviceMemoryProperties2 *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#endif
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceMultisamplePropertiesEXT)(VkPhysicalDevice, VkSampleCountFlagBits, VkMultisamplePropertiesEXT *);
|
2018-07-13 10:55:35 +02:00
|
|
|
VkResult (*p_vkGetPhysicalDevicePresentRectanglesKHR)(VkPhysicalDevice, VkSurfaceKHR, uint32_t *, VkRect2D *);
|
2018-03-09 17:48:46 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetPhysicalDeviceProperties)(VkPhysicalDevice, VkPhysicalDeviceProperties_host *);
|
|
|
|
#else
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceProperties)(VkPhysicalDevice, VkPhysicalDeviceProperties *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#endif
|
2018-07-12 11:39:39 +02:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
|
|
|
void (*p_vkGetPhysicalDeviceProperties2)(VkPhysicalDevice, VkPhysicalDeviceProperties2_host *);
|
|
|
|
#else
|
|
|
|
void (*p_vkGetPhysicalDeviceProperties2)(VkPhysicalDevice, VkPhysicalDeviceProperties2 *);
|
|
|
|
#endif
|
2018-03-15 07:39:38 +01:00
|
|
|
#if defined(USE_STRUCT_CONVERSION)
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceProperties2KHR)(VkPhysicalDevice, VkPhysicalDeviceProperties2_host *);
|
2018-03-15 07:39:38 +01:00
|
|
|
#else
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceProperties2KHR)(VkPhysicalDevice, VkPhysicalDeviceProperties2 *);
|
2018-03-09 17:48:46 +01:00
|
|
|
#endif
|
2020-01-07 22:54:06 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR)(VkPhysicalDevice, const VkQueryPoolPerformanceCreateInfoKHR *, uint32_t *);
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceQueueFamilyProperties)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceQueueFamilyProperties2)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties2 *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceQueueFamilyProperties2KHR)(VkPhysicalDevice, uint32_t *, VkQueueFamilyProperties2 *);
|
2018-03-02 07:13:35 +01:00
|
|
|
void (*p_vkGetPhysicalDeviceSparseImageFormatProperties)(VkPhysicalDevice, VkFormat, VkImageType, VkSampleCountFlagBits, VkImageUsageFlags, VkImageTiling, uint32_t *, VkSparseImageFormatProperties *);
|
2018-07-12 11:39:39 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceSparseImageFormatProperties2)(VkPhysicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *, uint32_t *, VkSparseImageFormatProperties2 *);
|
2018-06-06 11:11:53 +02:00
|
|
|
void (*p_vkGetPhysicalDeviceSparseImageFormatProperties2KHR)(VkPhysicalDevice, const VkPhysicalDeviceSparseImageFormatInfo2 *, uint32_t *, VkSparseImageFormatProperties2 *);
|
2019-10-30 21:00:01 +01:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV)(VkPhysicalDevice, uint32_t *, VkFramebufferMixedSamplesCombinationNV *);
|
2018-03-24 14:28:05 +01:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceSurfaceCapabilitiesKHR)(VkPhysicalDevice, VkSurfaceKHR, VkSurfaceCapabilitiesKHR *);
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceSurfaceFormatsKHR)(VkPhysicalDevice, VkSurfaceKHR, uint32_t *, VkSurfaceFormatKHR *);
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceSurfacePresentModesKHR)(VkPhysicalDevice, VkSurfaceKHR, uint32_t *, VkPresentModeKHR *);
|
|
|
|
VkResult (*p_vkGetPhysicalDeviceSurfaceSupportKHR)(VkPhysicalDevice, uint32_t, VkSurfaceKHR, VkBool32 *);
|
2020-01-07 22:54:06 +01:00
|
|
|
VkResult (*p_vkGetPhysicalDeviceToolPropertiesEXT)(VkPhysicalDevice, uint32_t *, VkPhysicalDeviceToolPropertiesEXT *);
|
2018-03-24 14:28:05 +01:00
|
|
|
VkBool32 (*p_vkGetPhysicalDeviceWin32PresentationSupportKHR)(VkPhysicalDevice, uint32_t);
|
2018-03-02 07:13:35 +01:00
|
|
|
};
|
|
|
|
|
2018-03-09 17:48:48 +01:00
|
|
|
#define ALL_VK_DEVICE_FUNCS() \
|
2018-07-13 10:55:36 +02:00
|
|
|
USE_VK_FUNC(vkAcquireNextImage2KHR) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkAcquireNextImageKHR) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkAcquirePerformanceConfigurationINTEL) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkAcquireProfilingLockKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkAllocateCommandBuffers) \
|
|
|
|
USE_VK_FUNC(vkAllocateDescriptorSets) \
|
|
|
|
USE_VK_FUNC(vkAllocateMemory) \
|
|
|
|
USE_VK_FUNC(vkBeginCommandBuffer) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkBindAccelerationStructureMemoryNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkBindBufferMemory) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkBindBufferMemory2) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkBindBufferMemory2KHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkBindImageMemory) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkBindImageMemory2) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkBindImageMemory2KHR) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdBeginConditionalRenderingEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdBeginQuery) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdBeginQueryIndexedEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdBeginRenderPass) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdBeginRenderPass2KHR) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdBeginTransformFeedbackEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdBindDescriptorSets) \
|
|
|
|
USE_VK_FUNC(vkCmdBindIndexBuffer) \
|
|
|
|
USE_VK_FUNC(vkCmdBindPipeline) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdBindShadingRateImageNV) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdBindTransformFeedbackBuffersEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdBindVertexBuffers) \
|
|
|
|
USE_VK_FUNC(vkCmdBlitImage) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCmdBuildAccelerationStructureNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdClearAttachments) \
|
|
|
|
USE_VK_FUNC(vkCmdClearColorImage) \
|
|
|
|
USE_VK_FUNC(vkCmdClearDepthStencilImage) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCmdCopyAccelerationStructureNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdCopyBuffer) \
|
|
|
|
USE_VK_FUNC(vkCmdCopyBufferToImage) \
|
|
|
|
USE_VK_FUNC(vkCmdCopyImage) \
|
|
|
|
USE_VK_FUNC(vkCmdCopyImageToBuffer) \
|
|
|
|
USE_VK_FUNC(vkCmdCopyQueryPoolResults) \
|
|
|
|
USE_VK_FUNC(vkCmdDispatch) \
|
2018-07-13 10:55:36 +02:00
|
|
|
USE_VK_FUNC(vkCmdDispatchBase) \
|
|
|
|
USE_VK_FUNC(vkCmdDispatchBaseKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdDispatchIndirect) \
|
|
|
|
USE_VK_FUNC(vkCmdDraw) \
|
|
|
|
USE_VK_FUNC(vkCmdDrawIndexed) \
|
|
|
|
USE_VK_FUNC(vkCmdDrawIndexedIndirect) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndexedIndirectCountAMD) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndexedIndirectCountKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndirect) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndirectByteCountEXT) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndirectCountAMD) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCmdDrawIndirectCountKHR) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdDrawMeshTasksIndirectCountNV) \
|
|
|
|
USE_VK_FUNC(vkCmdDrawMeshTasksIndirectNV) \
|
|
|
|
USE_VK_FUNC(vkCmdDrawMeshTasksNV) \
|
|
|
|
USE_VK_FUNC(vkCmdEndConditionalRenderingEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdEndQuery) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdEndQueryIndexedEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdEndRenderPass) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdEndRenderPass2KHR) \
|
2018-10-15 11:40:19 +02:00
|
|
|
USE_VK_FUNC(vkCmdEndTransformFeedbackEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdExecuteCommands) \
|
|
|
|
USE_VK_FUNC(vkCmdFillBuffer) \
|
|
|
|
USE_VK_FUNC(vkCmdNextSubpass) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdNextSubpass2KHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdPipelineBarrier) \
|
|
|
|
USE_VK_FUNC(vkCmdPushConstants) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCmdPushDescriptorSetKHR) \
|
|
|
|
USE_VK_FUNC(vkCmdPushDescriptorSetWithTemplateKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdResetEvent) \
|
|
|
|
USE_VK_FUNC(vkCmdResetQueryPool) \
|
|
|
|
USE_VK_FUNC(vkCmdResolveImage) \
|
|
|
|
USE_VK_FUNC(vkCmdSetBlendConstants) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdSetCheckpointNV) \
|
|
|
|
USE_VK_FUNC(vkCmdSetCoarseSampleOrderNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetDepthBias) \
|
|
|
|
USE_VK_FUNC(vkCmdSetDepthBounds) \
|
2018-07-13 10:55:36 +02:00
|
|
|
USE_VK_FUNC(vkCmdSetDeviceMask) \
|
|
|
|
USE_VK_FUNC(vkCmdSetDeviceMaskKHR) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetDiscardRectangleEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetEvent) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdSetExclusiveScissorNV) \
|
2019-10-30 21:00:04 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetLineStippleEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetLineWidth) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetPerformanceMarkerINTEL) \
|
|
|
|
USE_VK_FUNC(vkCmdSetPerformanceOverrideINTEL) \
|
|
|
|
USE_VK_FUNC(vkCmdSetPerformanceStreamMarkerINTEL) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCmdSetSampleLocationsEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetScissor) \
|
|
|
|
USE_VK_FUNC(vkCmdSetStencilCompareMask) \
|
|
|
|
USE_VK_FUNC(vkCmdSetStencilReference) \
|
|
|
|
USE_VK_FUNC(vkCmdSetStencilWriteMask) \
|
|
|
|
USE_VK_FUNC(vkCmdSetViewport) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCmdSetViewportShadingRatePaletteNV) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCmdSetViewportWScalingNV) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCmdTraceRaysNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdUpdateBuffer) \
|
|
|
|
USE_VK_FUNC(vkCmdWaitEvents) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCmdWriteAccelerationStructuresPropertiesNV) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCmdWriteBufferMarkerAMD) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCmdWriteTimestamp) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCompileDeferredNV) \
|
|
|
|
USE_VK_FUNC(vkCreateAccelerationStructureNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCreateBuffer) \
|
|
|
|
USE_VK_FUNC(vkCreateBufferView) \
|
|
|
|
USE_VK_FUNC(vkCreateCommandPool) \
|
|
|
|
USE_VK_FUNC(vkCreateComputePipelines) \
|
|
|
|
USE_VK_FUNC(vkCreateDescriptorPool) \
|
|
|
|
USE_VK_FUNC(vkCreateDescriptorSetLayout) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkCreateDescriptorUpdateTemplate) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkCreateDescriptorUpdateTemplateKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCreateEvent) \
|
|
|
|
USE_VK_FUNC(vkCreateFence) \
|
|
|
|
USE_VK_FUNC(vkCreateFramebuffer) \
|
|
|
|
USE_VK_FUNC(vkCreateGraphicsPipelines) \
|
|
|
|
USE_VK_FUNC(vkCreateImage) \
|
|
|
|
USE_VK_FUNC(vkCreateImageView) \
|
|
|
|
USE_VK_FUNC(vkCreatePipelineCache) \
|
|
|
|
USE_VK_FUNC(vkCreatePipelineLayout) \
|
|
|
|
USE_VK_FUNC(vkCreateQueryPool) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkCreateRayTracingPipelinesNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCreateRenderPass) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkCreateRenderPass2KHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCreateSampler) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkCreateSamplerYcbcrConversion) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCreateSamplerYcbcrConversionKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkCreateSemaphore) \
|
|
|
|
USE_VK_FUNC(vkCreateShaderModule) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkCreateSwapchainKHR) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkCreateValidationCacheEXT) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkDestroyAccelerationStructureNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkDestroyBuffer) \
|
|
|
|
USE_VK_FUNC(vkDestroyBufferView) \
|
|
|
|
USE_VK_FUNC(vkDestroyCommandPool) \
|
|
|
|
USE_VK_FUNC(vkDestroyDescriptorPool) \
|
|
|
|
USE_VK_FUNC(vkDestroyDescriptorSetLayout) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkDestroyDescriptorUpdateTemplate) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkDestroyDescriptorUpdateTemplateKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkDestroyDevice) \
|
|
|
|
USE_VK_FUNC(vkDestroyEvent) \
|
|
|
|
USE_VK_FUNC(vkDestroyFence) \
|
|
|
|
USE_VK_FUNC(vkDestroyFramebuffer) \
|
|
|
|
USE_VK_FUNC(vkDestroyImage) \
|
|
|
|
USE_VK_FUNC(vkDestroyImageView) \
|
|
|
|
USE_VK_FUNC(vkDestroyPipeline) \
|
|
|
|
USE_VK_FUNC(vkDestroyPipelineCache) \
|
|
|
|
USE_VK_FUNC(vkDestroyPipelineLayout) \
|
|
|
|
USE_VK_FUNC(vkDestroyQueryPool) \
|
|
|
|
USE_VK_FUNC(vkDestroyRenderPass) \
|
|
|
|
USE_VK_FUNC(vkDestroySampler) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkDestroySamplerYcbcrConversion) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkDestroySamplerYcbcrConversionKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkDestroySemaphore) \
|
|
|
|
USE_VK_FUNC(vkDestroyShaderModule) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkDestroySwapchainKHR) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkDestroyValidationCacheEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkDeviceWaitIdle) \
|
|
|
|
USE_VK_FUNC(vkEndCommandBuffer) \
|
|
|
|
USE_VK_FUNC(vkFlushMappedMemoryRanges) \
|
|
|
|
USE_VK_FUNC(vkFreeCommandBuffers) \
|
|
|
|
USE_VK_FUNC(vkFreeDescriptorSets) \
|
|
|
|
USE_VK_FUNC(vkFreeMemory) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkGetAccelerationStructureHandleNV) \
|
|
|
|
USE_VK_FUNC(vkGetAccelerationStructureMemoryRequirementsNV) \
|
2019-03-19 15:59:31 +01:00
|
|
|
USE_VK_FUNC(vkGetBufferDeviceAddressEXT) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkGetBufferDeviceAddressKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetBufferMemoryRequirements) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetBufferMemoryRequirements2) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetBufferMemoryRequirements2KHR) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkGetBufferOpaqueCaptureAddressKHR) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetDescriptorSetLayoutSupport) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetDescriptorSetLayoutSupportKHR) \
|
2018-07-13 10:55:36 +02:00
|
|
|
USE_VK_FUNC(vkGetDeviceGroupPeerMemoryFeatures) \
|
|
|
|
USE_VK_FUNC(vkGetDeviceGroupPeerMemoryFeaturesKHR) \
|
|
|
|
USE_VK_FUNC(vkGetDeviceGroupPresentCapabilitiesKHR) \
|
2018-07-13 10:55:35 +02:00
|
|
|
USE_VK_FUNC(vkGetDeviceGroupSurfacePresentModesKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetDeviceMemoryCommitment) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkGetDeviceMemoryOpaqueCaptureAddressKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetDeviceQueue) \
|
2018-08-20 10:05:12 +02:00
|
|
|
USE_VK_FUNC(vkGetDeviceQueue2) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetEventStatus) \
|
|
|
|
USE_VK_FUNC(vkGetFenceStatus) \
|
|
|
|
USE_VK_FUNC(vkGetImageMemoryRequirements) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetImageMemoryRequirements2) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetImageMemoryRequirements2KHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetImageSparseMemoryRequirements) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetImageSparseMemoryRequirements2) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetImageSparseMemoryRequirements2KHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetImageSubresourceLayout) \
|
2019-04-10 11:59:53 +02:00
|
|
|
USE_VK_FUNC(vkGetMemoryHostPointerPropertiesEXT) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkGetPerformanceParameterINTEL) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetPipelineCacheData) \
|
2019-10-30 21:00:05 +01:00
|
|
|
USE_VK_FUNC(vkGetPipelineExecutableInternalRepresentationsKHR) \
|
|
|
|
USE_VK_FUNC(vkGetPipelineExecutablePropertiesKHR) \
|
|
|
|
USE_VK_FUNC(vkGetPipelineExecutableStatisticsKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetQueryPoolResults) \
|
2018-10-05 16:55:20 +02:00
|
|
|
USE_VK_FUNC(vkGetQueueCheckpointDataNV) \
|
2018-11-26 12:13:45 +01:00
|
|
|
USE_VK_FUNC(vkGetRayTracingShaderGroupHandlesNV) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkGetRenderAreaGranularity) \
|
2019-10-30 21:00:05 +01:00
|
|
|
USE_VK_FUNC(vkGetSemaphoreCounterValueKHR) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetShaderInfoAMD) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkGetSwapchainImagesKHR) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetValidationCacheDataEXT) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkInitializePerformanceApiINTEL) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkInvalidateMappedMemoryRanges) \
|
|
|
|
USE_VK_FUNC(vkMapMemory) \
|
|
|
|
USE_VK_FUNC(vkMergePipelineCaches) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkMergeValidationCachesEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkQueueBindSparse) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkQueuePresentKHR) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkQueueSetPerformanceConfigurationINTEL) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkQueueSubmit) \
|
|
|
|
USE_VK_FUNC(vkQueueWaitIdle) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkReleasePerformanceConfigurationINTEL) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkReleaseProfilingLockKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkResetCommandBuffer) \
|
|
|
|
USE_VK_FUNC(vkResetCommandPool) \
|
|
|
|
USE_VK_FUNC(vkResetDescriptorPool) \
|
|
|
|
USE_VK_FUNC(vkResetEvent) \
|
|
|
|
USE_VK_FUNC(vkResetFences) \
|
2019-03-19 15:59:34 +01:00
|
|
|
USE_VK_FUNC(vkResetQueryPoolEXT) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkSetEvent) \
|
2019-10-30 21:00:05 +01:00
|
|
|
USE_VK_FUNC(vkSignalSemaphoreKHR) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkTrimCommandPool) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkTrimCommandPoolKHR) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkUninitializePerformanceApiINTEL) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkUnmapMemory) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkUpdateDescriptorSetWithTemplate) \
|
2018-03-15 07:39:40 +01:00
|
|
|
USE_VK_FUNC(vkUpdateDescriptorSetWithTemplateKHR) \
|
2018-03-09 17:48:48 +01:00
|
|
|
USE_VK_FUNC(vkUpdateDescriptorSets) \
|
2019-10-30 21:00:05 +01:00
|
|
|
USE_VK_FUNC(vkWaitForFences) \
|
|
|
|
USE_VK_FUNC(vkWaitSemaphoresKHR)
|
2018-03-09 17:48:48 +01:00
|
|
|
|
2018-03-02 07:13:35 +01:00
|
|
|
#define ALL_VK_INSTANCE_FUNCS() \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkCreateDevice) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkCreateHeadlessSurfaceEXT) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkCreateWin32SurfaceKHR) \
|
|
|
|
USE_VK_FUNC(vkDestroySurfaceKHR) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkEnumerateDeviceExtensionProperties) \
|
|
|
|
USE_VK_FUNC(vkEnumerateDeviceLayerProperties) \
|
2018-07-12 11:39:43 +02:00
|
|
|
USE_VK_FUNC(vkEnumeratePhysicalDeviceGroups) \
|
|
|
|
USE_VK_FUNC(vkEnumeratePhysicalDeviceGroupsKHR) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkEnumeratePhysicalDevices) \
|
2019-04-10 11:59:56 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFeatures) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFeatures2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFeatures2KHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceFormatProperties2KHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceImageFormatProperties2KHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceMemoryProperties2KHR) \
|
2018-06-06 11:11:53 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceMultisamplePropertiesEXT) \
|
2018-07-13 10:55:35 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDevicePresentRectanglesKHR) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceProperties2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceProperties2KHR) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2) \
|
2018-03-23 14:46:17 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceQueueFamilyProperties2KHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties) \
|
2018-07-12 11:39:39 +02:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties2) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSparseImageFormatProperties2KHR) \
|
2019-10-30 21:00:01 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSurfaceCapabilitiesKHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSurfaceFormatsKHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSurfacePresentModesKHR) \
|
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceSurfaceSupportKHR) \
|
2020-01-07 22:54:06 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceToolPropertiesEXT) \
|
2018-03-24 14:28:05 +01:00
|
|
|
USE_VK_FUNC(vkGetPhysicalDeviceWin32PresentationSupportKHR)
|
2018-03-02 07:13:35 +01:00
|
|
|
|
2018-03-01 16:37:04 +01:00
|
|
|
#endif /* __WINE_VULKAN_THUNKS_H */
|