winevulkan: Generate typedefs for aliased structs.

Signed-off-by: Liam Middlebrook <lmiddlebrook@nvidia.com>
Signed-off-by: James Jones <jajones@nvidia.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Liam Middlebrook 2020-03-24 14:14:43 -07:00 committed by Alexandre Julliard
parent e737aafa8e
commit bdeae71bc1
3 changed files with 214 additions and 24 deletions

View File

@ -1571,6 +1571,7 @@ class VkStruct(Sequence):
self.union = union
self.type_info = None # To be set later.
self.struct_extensions = []
self.aliased_by = []
def __getitem__(self, i):
return self.members[i]
@ -1581,7 +1582,10 @@ class VkStruct(Sequence):
@staticmethod
def from_alias(struct, alias):
name = struct.attrib.get("name")
return VkStruct(name, alias.members, alias.returnedonly, alias.structextends, alias=alias)
aliasee = VkStruct(name, alias.members, alias.returnedonly, alias.structextends, alias=alias)
alias.add_aliased_by(aliasee)
return aliasee
@staticmethod
def from_xml(struct):
@ -1666,6 +1670,10 @@ class VkStruct(Sequence):
postfix (str, optional): text to append to end of struct name, useful for struct renaming.
"""
# Only define alias structs when doing conversions
if self.is_alias() and not conv:
return ""
if self.union:
text = "typedef union {0}".format(self.name)
else:
@ -1687,12 +1695,21 @@ class VkStruct(Sequence):
if postfix is not None:
text += "}} {0}{1};\n\n".format(self.name, postfix)
else:
text += "}} {0};\n\n".format(self.name)
text += "}} {0};\n".format(self.name)
for aliasee in self.aliased_by:
text += "typedef {0} {1};\n".format(self.name, aliasee.name)
text += "\n"
return text
def is_alias(self):
return bool(self.alias)
def add_aliased_by(self, aliasee):
self.aliased_by.append(aliasee)
def needs_alignment(self):
""" Check if structure needs alignment for 64-bit data.
Various structures need alignment on 64-bit variables due

View File

@ -81,6 +81,7 @@ typedef struct VkAcquireNextImageInfoKHR_host
uint32_t deviceMask;
} VkAcquireNextImageInfoKHR_host;
typedef struct VkAcquireProfilingLockInfoKHR_host
{
VkStructureType sType;
@ -89,6 +90,7 @@ typedef struct VkAcquireProfilingLockInfoKHR_host
uint64_t timeout;
} VkAcquireProfilingLockInfoKHR_host;
typedef struct VkCommandBufferAllocateInfo_host
{
VkStructureType sType;
@ -98,6 +100,7 @@ typedef struct VkCommandBufferAllocateInfo_host
uint32_t commandBufferCount;
} VkCommandBufferAllocateInfo_host;
typedef struct VkDescriptorSetAllocateInfo_host
{
VkStructureType sType;
@ -107,6 +110,7 @@ typedef struct VkDescriptorSetAllocateInfo_host
const VkDescriptorSetLayout *pSetLayouts;
} VkDescriptorSetAllocateInfo_host;
typedef struct VkMemoryAllocateInfo_host
{
VkStructureType sType;
@ -115,6 +119,7 @@ typedef struct VkMemoryAllocateInfo_host
uint32_t memoryTypeIndex;
} VkMemoryAllocateInfo_host;
typedef struct VkCommandBufferInheritanceInfo_host
{
VkStructureType sType;
@ -127,6 +132,7 @@ typedef struct VkCommandBufferInheritanceInfo_host
VkQueryPipelineStatisticFlags pipelineStatistics;
} VkCommandBufferInheritanceInfo_host;
typedef struct VkCommandBufferBeginInfo_host
{
VkStructureType sType;
@ -135,6 +141,7 @@ typedef struct VkCommandBufferBeginInfo_host
const VkCommandBufferInheritanceInfo_host *pInheritanceInfo;
} VkCommandBufferBeginInfo_host;
typedef struct VkBindAccelerationStructureMemoryInfoNV_host
{
VkStructureType sType;
@ -146,6 +153,7 @@ typedef struct VkBindAccelerationStructureMemoryInfoNV_host
const uint32_t *pDeviceIndices;
} VkBindAccelerationStructureMemoryInfoNV_host;
typedef struct VkBindBufferMemoryInfo_host
{
VkStructureType sType;
@ -155,6 +163,8 @@ typedef struct VkBindBufferMemoryInfo_host
VkDeviceSize memoryOffset;
} VkBindBufferMemoryInfo_host;
typedef VkBindBufferMemoryInfo VkBindBufferMemoryInfoKHR;
typedef struct VkBindImageMemoryInfo_host
{
VkStructureType sType;
@ -164,6 +174,8 @@ typedef struct VkBindImageMemoryInfo_host
VkDeviceSize memoryOffset;
} VkBindImageMemoryInfo_host;
typedef VkBindImageMemoryInfo VkBindImageMemoryInfoKHR;
typedef struct VkConditionalRenderingBeginInfoEXT_host
{
VkStructureType sType;
@ -173,6 +185,7 @@ typedef struct VkConditionalRenderingBeginInfoEXT_host
VkConditionalRenderingFlagsEXT flags;
} VkConditionalRenderingBeginInfoEXT_host;
typedef struct VkRenderPassBeginInfo_host
{
VkStructureType sType;
@ -184,6 +197,7 @@ typedef struct VkRenderPassBeginInfo_host
const VkClearValue *pClearValues;
} VkRenderPassBeginInfo_host;
typedef struct VkGeometryTrianglesNV_host
{
VkStructureType sType;
@ -201,6 +215,7 @@ typedef struct VkGeometryTrianglesNV_host
VkDeviceSize transformOffset;
} VkGeometryTrianglesNV_host;
typedef struct VkGeometryAABBNV_host
{
VkStructureType sType;
@ -211,12 +226,14 @@ typedef struct VkGeometryAABBNV_host
VkDeviceSize offset;
} VkGeometryAABBNV_host;
typedef struct VkGeometryDataNV_host
{
VkGeometryTrianglesNV_host triangles;
VkGeometryAABBNV_host aabbs;
} VkGeometryDataNV_host;
typedef struct VkGeometryNV_host
{
VkStructureType sType;
@ -226,6 +243,7 @@ typedef struct VkGeometryNV_host
VkGeometryFlagsNV flags;
} VkGeometryNV_host;
typedef struct VkAccelerationStructureInfoNV_host
{
VkStructureType sType;
@ -237,6 +255,7 @@ typedef struct VkAccelerationStructureInfoNV_host
const VkGeometryNV_host *pGeometries;
} VkAccelerationStructureInfoNV_host;
typedef struct VkBufferCopy_host
{
VkDeviceSize srcOffset;
@ -244,6 +263,7 @@ typedef struct VkBufferCopy_host
VkDeviceSize size;
} VkBufferCopy_host;
typedef struct VkBufferImageCopy_host
{
VkDeviceSize bufferOffset;
@ -254,6 +274,7 @@ typedef struct VkBufferImageCopy_host
VkExtent3D imageExtent;
} VkBufferImageCopy_host;
typedef struct VkBufferMemoryBarrier_host
{
VkStructureType sType;
@ -267,6 +288,7 @@ typedef struct VkBufferMemoryBarrier_host
VkDeviceSize size;
} VkBufferMemoryBarrier_host;
typedef struct VkImageMemoryBarrier_host
{
VkStructureType sType;
@ -281,6 +303,7 @@ typedef struct VkImageMemoryBarrier_host
VkImageSubresourceRange subresourceRange;
} VkImageMemoryBarrier_host;
typedef struct VkDescriptorImageInfo_host
{
VkSampler sampler;
@ -288,6 +311,7 @@ typedef struct VkDescriptorImageInfo_host
VkImageLayout imageLayout;
} VkDescriptorImageInfo_host;
typedef struct VkDescriptorBufferInfo_host
{
VkBuffer buffer;
@ -295,6 +319,7 @@ typedef struct VkDescriptorBufferInfo_host
VkDeviceSize range;
} VkDescriptorBufferInfo_host;
typedef struct VkWriteDescriptorSet_host
{
VkStructureType sType;
@ -309,6 +334,7 @@ typedef struct VkWriteDescriptorSet_host
const VkBufferView *pTexelBufferView;
} VkWriteDescriptorSet_host;
typedef struct VkPerformanceMarkerInfoINTEL_host
{
VkStructureType sType;
@ -316,6 +342,7 @@ typedef struct VkPerformanceMarkerInfoINTEL_host
uint64_t marker;
} VkPerformanceMarkerInfoINTEL_host;
typedef struct VkPerformanceOverrideInfoINTEL_host
{
VkStructureType sType;
@ -325,6 +352,7 @@ typedef struct VkPerformanceOverrideInfoINTEL_host
uint64_t parameter;
} VkPerformanceOverrideInfoINTEL_host;
typedef struct VkAccelerationStructureCreateInfoNV_host
{
VkStructureType sType;
@ -333,6 +361,7 @@ typedef struct VkAccelerationStructureCreateInfoNV_host
VkAccelerationStructureInfoNV_host info;
} VkAccelerationStructureCreateInfoNV_host;
typedef struct VkBufferCreateInfo_host
{
VkStructureType sType;
@ -345,6 +374,7 @@ typedef struct VkBufferCreateInfo_host
const uint32_t *pQueueFamilyIndices;
} VkBufferCreateInfo_host;
typedef struct VkBufferViewCreateInfo_host
{
VkStructureType sType;
@ -356,6 +386,7 @@ typedef struct VkBufferViewCreateInfo_host
VkDeviceSize range;
} VkBufferViewCreateInfo_host;
typedef struct VkPipelineShaderStageCreateInfo_host
{
VkStructureType sType;
@ -367,6 +398,7 @@ typedef struct VkPipelineShaderStageCreateInfo_host
const VkSpecializationInfo *pSpecializationInfo;
} VkPipelineShaderStageCreateInfo_host;
typedef struct VkComputePipelineCreateInfo_host
{
VkStructureType sType;
@ -378,6 +410,7 @@ typedef struct VkComputePipelineCreateInfo_host
int32_t basePipelineIndex;
} VkComputePipelineCreateInfo_host;
typedef struct VkDescriptorUpdateTemplateCreateInfo_host
{
VkStructureType sType;
@ -392,6 +425,8 @@ typedef struct VkDescriptorUpdateTemplateCreateInfo_host
uint32_t set;
} VkDescriptorUpdateTemplateCreateInfo_host;
typedef VkDescriptorUpdateTemplateCreateInfo VkDescriptorUpdateTemplateCreateInfoKHR;
typedef struct VkFramebufferCreateInfo_host
{
VkStructureType sType;
@ -405,6 +440,7 @@ typedef struct VkFramebufferCreateInfo_host
uint32_t layers;
} VkFramebufferCreateInfo_host;
typedef struct VkGraphicsPipelineCreateInfo_host
{
VkStructureType sType;
@ -428,6 +464,7 @@ typedef struct VkGraphicsPipelineCreateInfo_host
int32_t basePipelineIndex;
} VkGraphicsPipelineCreateInfo_host;
typedef struct VkImageViewCreateInfo_host
{
VkStructureType sType;
@ -440,6 +477,7 @@ typedef struct VkImageViewCreateInfo_host
VkImageSubresourceRange subresourceRange;
} VkImageViewCreateInfo_host;
typedef struct VkRayTracingPipelineCreateInfoNV_host
{
VkStructureType sType;
@ -455,6 +493,7 @@ typedef struct VkRayTracingPipelineCreateInfoNV_host
int32_t basePipelineIndex;
} VkRayTracingPipelineCreateInfoNV_host;
typedef struct VkSwapchainCreateInfoKHR_host
{
VkStructureType sType;
@ -477,6 +516,7 @@ typedef struct VkSwapchainCreateInfoKHR_host
VkSwapchainKHR oldSwapchain;
} VkSwapchainCreateInfoKHR_host;
typedef struct VkMappedMemoryRange_host
{
VkStructureType sType;
@ -486,6 +526,7 @@ typedef struct VkMappedMemoryRange_host
VkDeviceSize size;
} VkMappedMemoryRange_host;
typedef struct VkAccelerationStructureMemoryRequirementsInfoNV_host
{
VkStructureType sType;
@ -494,6 +535,7 @@ typedef struct VkAccelerationStructureMemoryRequirementsInfoNV_host
VkAccelerationStructureNV accelerationStructure;
} VkAccelerationStructureMemoryRequirementsInfoNV_host;
typedef struct VkMemoryRequirements_host
{
VkDeviceSize size;
@ -501,6 +543,7 @@ typedef struct VkMemoryRequirements_host
uint32_t memoryTypeBits;
} VkMemoryRequirements_host;
typedef struct VkMemoryRequirements2KHR_host
{
VkStructureType sType;
@ -508,6 +551,7 @@ typedef struct VkMemoryRequirements2KHR_host
VkMemoryRequirements_host memoryRequirements;
} VkMemoryRequirements2KHR_host;
typedef struct VkBufferDeviceAddressInfo_host
{
VkStructureType sType;
@ -515,6 +559,9 @@ typedef struct VkBufferDeviceAddressInfo_host
VkBuffer buffer;
} VkBufferDeviceAddressInfo_host;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoKHR;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoEXT;
typedef struct VkBufferMemoryRequirementsInfo2_host
{
VkStructureType sType;
@ -522,6 +569,8 @@ typedef struct VkBufferMemoryRequirementsInfo2_host
VkBuffer buffer;
} VkBufferMemoryRequirementsInfo2_host;
typedef VkBufferMemoryRequirementsInfo2 VkBufferMemoryRequirementsInfo2KHR;
typedef struct VkMemoryRequirements2_host
{
VkStructureType sType;
@ -529,6 +578,8 @@ typedef struct VkMemoryRequirements2_host
VkMemoryRequirements_host memoryRequirements;
} VkMemoryRequirements2_host;
typedef VkMemoryRequirements2 VkMemoryRequirements2KHR;
typedef struct VkDeviceMemoryOpaqueCaptureAddressInfo_host
{
VkStructureType sType;
@ -536,6 +587,8 @@ typedef struct VkDeviceMemoryOpaqueCaptureAddressInfo_host
VkDeviceMemory memory;
} VkDeviceMemoryOpaqueCaptureAddressInfo_host;
typedef VkDeviceMemoryOpaqueCaptureAddressInfo VkDeviceMemoryOpaqueCaptureAddressInfoKHR;
typedef struct VkImageMemoryRequirementsInfo2_host
{
VkStructureType sType;
@ -543,6 +596,8 @@ typedef struct VkImageMemoryRequirementsInfo2_host
VkImage image;
} VkImageMemoryRequirementsInfo2_host;
typedef VkImageMemoryRequirementsInfo2 VkImageMemoryRequirementsInfo2KHR;
typedef struct VkImageSparseMemoryRequirementsInfo2_host
{
VkStructureType sType;
@ -550,6 +605,8 @@ typedef struct VkImageSparseMemoryRequirementsInfo2_host
VkImage image;
} VkImageSparseMemoryRequirementsInfo2_host;
typedef VkImageSparseMemoryRequirementsInfo2 VkImageSparseMemoryRequirementsInfo2KHR;
typedef struct VkSubresourceLayout_host
{
VkDeviceSize offset;
@ -559,6 +616,7 @@ typedef struct VkSubresourceLayout_host
VkDeviceSize depthPitch;
} VkSubresourceLayout_host;
typedef struct VkImageFormatProperties_host
{
VkExtent3D maxExtent;
@ -568,6 +626,7 @@ typedef struct VkImageFormatProperties_host
VkDeviceSize maxResourceSize;
} VkImageFormatProperties_host;
typedef struct VkImageFormatProperties2_host
{
VkStructureType sType;
@ -575,12 +634,15 @@ typedef struct VkImageFormatProperties2_host
VkImageFormatProperties_host imageFormatProperties;
} VkImageFormatProperties2_host;
typedef VkImageFormatProperties2 VkImageFormatProperties2KHR;
typedef struct VkMemoryHeap_host
{
VkDeviceSize size;
VkMemoryHeapFlags flags;
} VkMemoryHeap_host;
typedef struct VkPhysicalDeviceMemoryProperties_host
{
uint32_t memoryTypeCount;
@ -589,6 +651,7 @@ typedef struct VkPhysicalDeviceMemoryProperties_host
VkMemoryHeap_host memoryHeaps[VK_MAX_MEMORY_HEAPS];
} VkPhysicalDeviceMemoryProperties_host;
typedef struct VkPhysicalDeviceMemoryProperties2_host
{
VkStructureType sType;
@ -596,6 +659,8 @@ typedef struct VkPhysicalDeviceMemoryProperties2_host
VkPhysicalDeviceMemoryProperties_host memoryProperties;
} VkPhysicalDeviceMemoryProperties2_host;
typedef VkPhysicalDeviceMemoryProperties2 VkPhysicalDeviceMemoryProperties2KHR;
typedef struct VkPhysicalDeviceLimits_host
{
uint32_t maxImageDimension1D;
@ -706,6 +771,7 @@ typedef struct VkPhysicalDeviceLimits_host
VkDeviceSize nonCoherentAtomSize;
} VkPhysicalDeviceLimits_host;
typedef struct VkPhysicalDeviceProperties_host
{
uint32_t apiVersion;
@ -719,6 +785,7 @@ typedef struct VkPhysicalDeviceProperties_host
VkPhysicalDeviceSparseProperties sparseProperties;
} VkPhysicalDeviceProperties_host;
typedef struct VkPhysicalDeviceProperties2_host
{
VkStructureType sType;
@ -726,6 +793,8 @@ typedef struct VkPhysicalDeviceProperties2_host
VkPhysicalDeviceProperties_host properties;
} VkPhysicalDeviceProperties2_host;
typedef VkPhysicalDeviceProperties2 VkPhysicalDeviceProperties2KHR;
typedef struct VkPipelineExecutableInfoKHR_host
{
VkStructureType sType;
@ -734,6 +803,7 @@ typedef struct VkPipelineExecutableInfoKHR_host
uint32_t executableIndex;
} VkPipelineExecutableInfoKHR_host;
typedef struct VkPipelineInfoKHR_host
{
VkStructureType sType;
@ -741,6 +811,7 @@ typedef struct VkPipelineInfoKHR_host
VkPipeline pipeline;
} VkPipelineInfoKHR_host;
typedef struct VkSparseMemoryBind_host
{
VkDeviceSize resourceOffset;
@ -750,6 +821,7 @@ typedef struct VkSparseMemoryBind_host
VkSparseMemoryBindFlags flags;
} VkSparseMemoryBind_host;
typedef struct VkSparseBufferMemoryBindInfo_host
{
VkBuffer buffer;
@ -757,6 +829,7 @@ typedef struct VkSparseBufferMemoryBindInfo_host
const VkSparseMemoryBind_host *pBinds;
} VkSparseBufferMemoryBindInfo_host;
typedef struct VkSparseImageOpaqueMemoryBindInfo_host
{
VkImage image;
@ -764,6 +837,7 @@ typedef struct VkSparseImageOpaqueMemoryBindInfo_host
const VkSparseMemoryBind_host *pBinds;
} VkSparseImageOpaqueMemoryBindInfo_host;
typedef struct VkSparseImageMemoryBind_host
{
VkImageSubresource subresource;
@ -774,6 +848,7 @@ typedef struct VkSparseImageMemoryBind_host
VkSparseMemoryBindFlags flags;
} VkSparseImageMemoryBind_host;
typedef struct VkSparseImageMemoryBindInfo_host
{
VkImage image;
@ -781,6 +856,7 @@ typedef struct VkSparseImageMemoryBindInfo_host
const VkSparseImageMemoryBind_host *pBinds;
} VkSparseImageMemoryBindInfo_host;
typedef struct VkBindSparseInfo_host
{
VkStructureType sType;
@ -797,6 +873,7 @@ typedef struct VkBindSparseInfo_host
const VkSemaphore *pSignalSemaphores;
} VkBindSparseInfo_host;
typedef struct VkSemaphoreSignalInfo_host
{
VkStructureType sType;
@ -805,6 +882,8 @@ typedef struct VkSemaphoreSignalInfo_host
uint64_t value;
} VkSemaphoreSignalInfo_host;
typedef VkSemaphoreSignalInfo VkSemaphoreSignalInfoKHR;
typedef struct VkCopyDescriptorSet_host
{
VkStructureType sType;
@ -819,6 +898,7 @@ typedef struct VkCopyDescriptorSet_host
} VkCopyDescriptorSet_host;
VkResult convert_VkDeviceCreateInfo_struct_chain(const void *pNext, VkDeviceCreateInfo *out_struct) DECLSPEC_HIDDEN;
void free_VkDeviceCreateInfo_struct_chain(VkDeviceCreateInfo *s) DECLSPEC_HIDDEN;
VkResult convert_VkInstanceCreateInfo_struct_chain(const void *pNext, VkInstanceCreateInfo *out_struct) DECLSPEC_HIDDEN;

View File

@ -3013,6 +3013,7 @@ typedef struct VkAttachmentDescription2
VkImageLayout initialLayout;
VkImageLayout finalLayout;
} VkAttachmentDescription2;
typedef VkAttachmentDescription2 VkAttachmentDescription2KHR;
typedef struct VkAttachmentDescriptionStencilLayout
{
@ -3021,6 +3022,7 @@ typedef struct VkAttachmentDescriptionStencilLayout
VkImageLayout stencilInitialLayout;
VkImageLayout stencilFinalLayout;
} VkAttachmentDescriptionStencilLayout;
typedef VkAttachmentDescriptionStencilLayout VkAttachmentDescriptionStencilLayoutKHR;
typedef struct VkAttachmentReference
{
@ -3051,6 +3053,7 @@ typedef struct VkBindImagePlaneMemoryInfo
const void *pNext;
VkImageAspectFlagBits planeAspect;
} VkBindImagePlaneMemoryInfo;
typedef VkBindImagePlaneMemoryInfo VkBindImagePlaneMemoryInfoKHR;
typedef struct VkBufferCopy
{
@ -3176,6 +3179,7 @@ typedef struct VkDescriptorSetLayoutBindingFlagsCreateInfo
uint32_t bindingCount;
const VkDescriptorBindingFlags *pBindingFlags;
} VkDescriptorSetLayoutBindingFlagsCreateInfo;
typedef VkDescriptorSetLayoutBindingFlagsCreateInfo VkDescriptorSetLayoutBindingFlagsCreateInfoEXT;
typedef struct VkDescriptorSetLayoutSupport
{
@ -3183,6 +3187,7 @@ typedef struct VkDescriptorSetLayoutSupport
void *pNext;
VkBool32 supported;
} VkDescriptorSetLayoutSupport;
typedef VkDescriptorSetLayoutSupport VkDescriptorSetLayoutSupportKHR;
typedef struct VkDescriptorSetVariableDescriptorCountAllocateInfo
{
@ -3191,6 +3196,7 @@ typedef struct VkDescriptorSetVariableDescriptorCountAllocateInfo
uint32_t descriptorSetCount;
const uint32_t *pDescriptorCounts;
} VkDescriptorSetVariableDescriptorCountAllocateInfo;
typedef VkDescriptorSetVariableDescriptorCountAllocateInfo VkDescriptorSetVariableDescriptorCountAllocateInfoEXT;
typedef struct VkDescriptorSetVariableDescriptorCountLayoutSupport
{
@ -3198,6 +3204,7 @@ typedef struct VkDescriptorSetVariableDescriptorCountLayoutSupport
void *pNext;
uint32_t maxVariableDescriptorCount;
} VkDescriptorSetVariableDescriptorCountLayoutSupport;
typedef VkDescriptorSetVariableDescriptorCountLayoutSupport VkDescriptorSetVariableDescriptorCountLayoutSupportEXT;
typedef struct VkDeviceGroupPresentInfoKHR
{
@ -3214,6 +3221,7 @@ typedef struct VkDeviceMemoryOpaqueCaptureAddressInfo
const void *pNext;
VkDeviceMemory WINE_VK_ALIGN(8) memory;
} VkDeviceMemoryOpaqueCaptureAddressInfo;
typedef VkDeviceMemoryOpaqueCaptureAddressInfo VkDeviceMemoryOpaqueCaptureAddressInfoKHR;
typedef struct VkDeviceMemoryOverallocationCreateInfoAMD
{
@ -3257,6 +3265,7 @@ typedef struct VkExportMemoryAllocateInfo
const void *pNext;
VkExternalMemoryHandleTypeFlags handleTypes;
} VkExportMemoryAllocateInfo;
typedef VkExportMemoryAllocateInfo VkExportMemoryAllocateInfoKHR;
typedef struct VkExtensionProperties
{
@ -3277,6 +3286,7 @@ typedef struct VkExternalMemoryBufferCreateInfo
const void *pNext;
VkExternalMemoryHandleTypeFlags handleTypes;
} VkExternalMemoryBufferCreateInfo;
typedef VkExternalMemoryBufferCreateInfo VkExternalMemoryBufferCreateInfoKHR;
typedef struct VkExternalMemoryImageCreateInfo
{
@ -3284,6 +3294,7 @@ typedef struct VkExternalMemoryImageCreateInfo
const void *pNext;
VkExternalMemoryHandleTypeFlags handleTypes;
} VkExternalMemoryImageCreateInfo;
typedef VkExternalMemoryImageCreateInfo VkExternalMemoryImageCreateInfoKHR;
typedef struct VkFilterCubicImageViewImageFormatPropertiesEXT
{
@ -3346,6 +3357,7 @@ typedef struct VkImageFormatListCreateInfo
uint32_t viewFormatCount;
const VkFormat *pViewFormats;
} VkImageFormatListCreateInfo;
typedef VkImageFormatListCreateInfo VkImageFormatListCreateInfoKHR;
typedef struct VkImageFormatProperties
{
@ -3362,6 +3374,7 @@ typedef struct VkImageMemoryRequirementsInfo2
const void *pNext;
VkImage WINE_VK_ALIGN(8) image;
} VkImageMemoryRequirementsInfo2;
typedef VkImageMemoryRequirementsInfo2 VkImageMemoryRequirementsInfo2KHR;
typedef struct VkImageSparseMemoryRequirementsInfo2
{
@ -3369,6 +3382,7 @@ typedef struct VkImageSparseMemoryRequirementsInfo2
const void *pNext;
VkImage WINE_VK_ALIGN(8) image;
} VkImageSparseMemoryRequirementsInfo2;
typedef VkImageSparseMemoryRequirementsInfo2 VkImageSparseMemoryRequirementsInfo2KHR;
typedef struct VkImageStencilUsageCreateInfo
{
@ -3376,6 +3390,7 @@ typedef struct VkImageStencilUsageCreateInfo
const void *pNext;
VkImageUsageFlags stencilUsage;
} VkImageStencilUsageCreateInfo;
typedef VkImageStencilUsageCreateInfo VkImageStencilUsageCreateInfoEXT;
typedef struct VkImageSubresource
{
@ -3406,6 +3421,7 @@ typedef struct VkInputAttachmentAspectReference
uint32_t inputAttachmentIndex;
VkImageAspectFlags aspectMask;
} VkInputAttachmentAspectReference;
typedef VkInputAttachmentAspectReference VkInputAttachmentAspectReferenceKHR;
typedef struct VkInstanceCreateInfo
{
@ -3426,6 +3442,7 @@ typedef struct VkMemoryAllocateFlagsInfo
VkMemoryAllocateFlags flags;
uint32_t deviceMask;
} VkMemoryAllocateFlagsInfo;
typedef VkMemoryAllocateFlagsInfo VkMemoryAllocateFlagsInfoKHR;
typedef struct VkMemoryAllocateInfo
{
@ -3442,6 +3459,7 @@ typedef struct VkMemoryDedicatedAllocateInfo
VkImage WINE_VK_ALIGN(8) image;
VkBuffer WINE_VK_ALIGN(8) buffer;
} VkMemoryDedicatedAllocateInfo;
typedef VkMemoryDedicatedAllocateInfo VkMemoryDedicatedAllocateInfoKHR;
typedef struct VkMemoryDedicatedRequirements
{
@ -3450,6 +3468,7 @@ typedef struct VkMemoryDedicatedRequirements
VkBool32 prefersDedicatedAllocation;
VkBool32 requiresDedicatedAllocation;
} VkMemoryDedicatedRequirements;
typedef VkMemoryDedicatedRequirements VkMemoryDedicatedRequirementsKHR;
typedef struct VkMemoryHeap
{
@ -3463,6 +3482,7 @@ typedef struct VkMemoryOpaqueCaptureAddressAllocateInfo
const void *pNext;
uint64_t WINE_VK_ALIGN(8) opaqueCaptureAddress;
} VkMemoryOpaqueCaptureAddressAllocateInfo;
typedef VkMemoryOpaqueCaptureAddressAllocateInfo VkMemoryOpaqueCaptureAddressAllocateInfoKHR;
typedef struct VkMemoryPriorityAllocateInfoEXT
{
@ -3533,6 +3553,7 @@ typedef struct VkPhysicalDevice16BitStorageFeatures
VkBool32 storagePushConstant16;
VkBool32 storageInputOutput16;
} VkPhysicalDevice16BitStorageFeatures;
typedef VkPhysicalDevice16BitStorageFeatures VkPhysicalDevice16BitStorageFeaturesKHR;
typedef struct VkPhysicalDevice8BitStorageFeatures
{
@ -3542,6 +3563,7 @@ typedef struct VkPhysicalDevice8BitStorageFeatures
VkBool32 uniformAndStorageBuffer8BitAccess;
VkBool32 storagePushConstant8;
} VkPhysicalDevice8BitStorageFeatures;
typedef VkPhysicalDevice8BitStorageFeatures VkPhysicalDevice8BitStorageFeaturesKHR;
typedef struct VkPhysicalDeviceASTCDecodeFeaturesEXT
{
@ -3570,6 +3592,7 @@ typedef struct VkPhysicalDeviceBufferDeviceAddressFeatures
VkBool32 bufferDeviceAddressCaptureReplay;
VkBool32 bufferDeviceAddressMultiDevice;
} VkPhysicalDeviceBufferDeviceAddressFeatures;
typedef VkPhysicalDeviceBufferDeviceAddressFeatures VkPhysicalDeviceBufferDeviceAddressFeaturesKHR;
typedef struct VkPhysicalDeviceComputeShaderDerivativesFeaturesNV
{
@ -3623,6 +3646,7 @@ typedef struct VkPhysicalDeviceExternalBufferInfo
VkBufferUsageFlags usage;
VkExternalMemoryHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalBufferInfo;
typedef VkPhysicalDeviceExternalBufferInfo VkPhysicalDeviceExternalBufferInfoKHR;
typedef struct VkPhysicalDeviceExternalFenceInfo
{
@ -3630,6 +3654,7 @@ typedef struct VkPhysicalDeviceExternalFenceInfo
const void *pNext;
VkExternalFenceHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalFenceInfo;
typedef VkPhysicalDeviceExternalFenceInfo VkPhysicalDeviceExternalFenceInfoKHR;
typedef struct VkPhysicalDeviceExternalImageFormatInfo
{
@ -3637,6 +3662,7 @@ typedef struct VkPhysicalDeviceExternalImageFormatInfo
const void *pNext;
VkExternalMemoryHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalImageFormatInfo;
typedef VkPhysicalDeviceExternalImageFormatInfo VkPhysicalDeviceExternalImageFormatInfoKHR;
typedef struct VkPhysicalDeviceExternalMemoryHostPropertiesEXT
{
@ -3667,6 +3693,7 @@ typedef struct VkPhysicalDeviceFloatControlsProperties
VkBool32 shaderRoundingModeRTZFloat32;
VkBool32 shaderRoundingModeRTZFloat64;
} VkPhysicalDeviceFloatControlsProperties;
typedef VkPhysicalDeviceFloatControlsProperties VkPhysicalDeviceFloatControlsPropertiesKHR;
typedef struct VkPhysicalDeviceFragmentDensityMapFeaturesEXT
{
@ -3692,6 +3719,7 @@ typedef struct VkPhysicalDeviceGroupProperties
VkPhysicalDevice physicalDevices[VK_MAX_DEVICE_GROUP_SIZE];
VkBool32 subsetAllocation;
} VkPhysicalDeviceGroupProperties;
typedef VkPhysicalDeviceGroupProperties VkPhysicalDeviceGroupPropertiesKHR;
typedef struct VkPhysicalDeviceHostQueryResetFeatures
{
@ -3699,6 +3727,7 @@ typedef struct VkPhysicalDeviceHostQueryResetFeatures
void *pNext;
VkBool32 hostQueryReset;
} VkPhysicalDeviceHostQueryResetFeatures;
typedef VkPhysicalDeviceHostQueryResetFeatures VkPhysicalDeviceHostQueryResetFeaturesEXT;
typedef struct VkPhysicalDeviceIDProperties
{
@ -3710,6 +3739,7 @@ typedef struct VkPhysicalDeviceIDProperties
uint32_t deviceNodeMask;
VkBool32 deviceLUIDValid;
} VkPhysicalDeviceIDProperties;
typedef VkPhysicalDeviceIDProperties VkPhysicalDeviceIDPropertiesKHR;
typedef struct VkPhysicalDeviceImagelessFramebufferFeatures
{
@ -3717,6 +3747,7 @@ typedef struct VkPhysicalDeviceImagelessFramebufferFeatures
void *pNext;
VkBool32 imagelessFramebuffer;
} VkPhysicalDeviceImagelessFramebufferFeatures;
typedef VkPhysicalDeviceImagelessFramebufferFeatures VkPhysicalDeviceImagelessFramebufferFeaturesKHR;
typedef struct VkPhysicalDeviceIndexTypeUint8FeaturesEXT
{
@ -3755,6 +3786,7 @@ typedef struct VkPhysicalDeviceMaintenance3Properties
uint32_t maxPerSetDescriptors;
VkDeviceSize WINE_VK_ALIGN(8) maxMemoryAllocationSize;
} VkPhysicalDeviceMaintenance3Properties;
typedef VkPhysicalDeviceMaintenance3Properties VkPhysicalDeviceMaintenance3PropertiesKHR;
typedef struct VkPhysicalDeviceMemoryBudgetPropertiesEXT
{
@ -3798,6 +3830,7 @@ typedef struct VkPhysicalDeviceMultiviewProperties
uint32_t maxMultiviewViewCount;
uint32_t maxMultiviewInstanceIndex;
} VkPhysicalDeviceMultiviewProperties;
typedef VkPhysicalDeviceMultiviewProperties VkPhysicalDeviceMultiviewPropertiesKHR;
typedef struct VkPhysicalDevicePCIBusInfoPropertiesEXT
{
@ -3822,6 +3855,7 @@ typedef struct VkPhysicalDevicePointClippingProperties
void *pNext;
VkPointClippingBehavior pointClippingBehavior;
} VkPhysicalDevicePointClippingProperties;
typedef VkPhysicalDevicePointClippingProperties VkPhysicalDevicePointClippingPropertiesKHR;
typedef struct VkPhysicalDeviceProtectedMemoryProperties
{
@ -3851,6 +3885,7 @@ typedef struct VkPhysicalDeviceSamplerFilterMinmaxProperties
VkBool32 filterMinmaxSingleComponentFormats;
VkBool32 filterMinmaxImageComponentMapping;
} VkPhysicalDeviceSamplerFilterMinmaxProperties;
typedef VkPhysicalDeviceSamplerFilterMinmaxProperties VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT;
typedef struct VkPhysicalDeviceSamplerYcbcrConversionFeatures
{
@ -3858,6 +3893,7 @@ typedef struct VkPhysicalDeviceSamplerYcbcrConversionFeatures
void *pNext;
VkBool32 samplerYcbcrConversion;
} VkPhysicalDeviceSamplerYcbcrConversionFeatures;
typedef VkPhysicalDeviceSamplerYcbcrConversionFeatures VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR;
typedef struct VkPhysicalDeviceScalarBlockLayoutFeatures
{
@ -3865,6 +3901,7 @@ typedef struct VkPhysicalDeviceScalarBlockLayoutFeatures
void *pNext;
VkBool32 scalarBlockLayout;
} VkPhysicalDeviceScalarBlockLayoutFeatures;
typedef VkPhysicalDeviceScalarBlockLayoutFeatures VkPhysicalDeviceScalarBlockLayoutFeaturesEXT;
typedef struct VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
{
@ -3872,6 +3909,7 @@ typedef struct VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures
void *pNext;
VkBool32 separateDepthStencilLayouts;
} VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures;
typedef VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR;
typedef struct VkPhysicalDeviceShaderAtomicInt64Features
{
@ -3880,6 +3918,7 @@ typedef struct VkPhysicalDeviceShaderAtomicInt64Features
VkBool32 shaderBufferInt64Atomics;
VkBool32 shaderSharedInt64Atomics;
} VkPhysicalDeviceShaderAtomicInt64Features;
typedef VkPhysicalDeviceShaderAtomicInt64Features VkPhysicalDeviceShaderAtomicInt64FeaturesKHR;
typedef struct VkPhysicalDeviceShaderClockFeaturesKHR
{
@ -3909,13 +3948,6 @@ typedef struct VkPhysicalDeviceShaderCorePropertiesAMD
uint32_t vgprAllocationGranularity;
} VkPhysicalDeviceShaderCorePropertiesAMD;
typedef struct VkPhysicalDeviceShaderDrawParameterFeatures
{
VkStructureType sType;
void *pNext;
VkBool32 shaderDrawParameters;
} VkPhysicalDeviceShaderDrawParameterFeatures;
typedef struct VkPhysicalDeviceShaderFloat16Int8Features
{
VkStructureType sType;
@ -3923,6 +3955,8 @@ typedef struct VkPhysicalDeviceShaderFloat16Int8Features
VkBool32 shaderFloat16;
VkBool32 shaderInt8;
} VkPhysicalDeviceShaderFloat16Int8Features;
typedef VkPhysicalDeviceShaderFloat16Int8Features VkPhysicalDeviceShaderFloat16Int8FeaturesKHR;
typedef VkPhysicalDeviceShaderFloat16Int8Features VkPhysicalDeviceFloat16Int8FeaturesKHR;
typedef struct VkPhysicalDeviceShaderImageFootprintFeaturesNV
{
@ -3944,6 +3978,7 @@ typedef struct VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures
void *pNext;
VkBool32 shaderSubgroupExtendedTypes;
} VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures;
typedef VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR;
typedef struct VkPhysicalDeviceShadingRateImageFeaturesNV
{
@ -3963,6 +3998,7 @@ typedef struct VkPhysicalDeviceSparseImageFormatInfo2
VkImageUsageFlags usage;
VkImageTiling tiling;
} VkPhysicalDeviceSparseImageFormatInfo2;
typedef VkPhysicalDeviceSparseImageFormatInfo2 VkPhysicalDeviceSparseImageFormatInfo2KHR;
typedef struct VkPhysicalDeviceSparseProperties
{
@ -3997,6 +4033,7 @@ typedef struct VkPhysicalDeviceTimelineSemaphoreFeatures
void *pNext;
VkBool32 timelineSemaphore;
} VkPhysicalDeviceTimelineSemaphoreFeatures;
typedef VkPhysicalDeviceTimelineSemaphoreFeatures VkPhysicalDeviceTimelineSemaphoreFeaturesKHR;
typedef struct VkPhysicalDeviceTimelineSemaphoreProperties
{
@ -4004,6 +4041,7 @@ typedef struct VkPhysicalDeviceTimelineSemaphoreProperties
void *pNext;
uint64_t WINE_VK_ALIGN(8) maxTimelineSemaphoreValueDifference;
} VkPhysicalDeviceTimelineSemaphoreProperties;
typedef VkPhysicalDeviceTimelineSemaphoreProperties VkPhysicalDeviceTimelineSemaphorePropertiesKHR;
typedef struct VkPhysicalDeviceToolPropertiesEXT
{
@ -4068,6 +4106,7 @@ typedef struct VkPhysicalDeviceVulkanMemoryModelFeatures
VkBool32 vulkanMemoryModelDeviceScope;
VkBool32 vulkanMemoryModelAvailabilityVisibilityChains;
} VkPhysicalDeviceVulkanMemoryModelFeatures;
typedef VkPhysicalDeviceVulkanMemoryModelFeatures VkPhysicalDeviceVulkanMemoryModelFeaturesKHR;
typedef struct VkPhysicalDeviceYcbcrImageArraysFeaturesEXT
{
@ -4242,6 +4281,7 @@ typedef struct VkRenderPassInputAttachmentAspectCreateInfo
uint32_t aspectReferenceCount;
const VkInputAttachmentAspectReference *pAspectReferences;
} VkRenderPassInputAttachmentAspectCreateInfo;
typedef VkRenderPassInputAttachmentAspectCreateInfo VkRenderPassInputAttachmentAspectCreateInfoKHR;
typedef struct VkRenderPassMultiviewCreateInfo
{
@ -4254,6 +4294,7 @@ typedef struct VkRenderPassMultiviewCreateInfo
uint32_t correlationMaskCount;
const uint32_t *pCorrelationMasks;
} VkRenderPassMultiviewCreateInfo;
typedef VkRenderPassMultiviewCreateInfo VkRenderPassMultiviewCreateInfoKHR;
typedef struct VkRenderPassTransformBeginInfoQCOM
{
@ -4291,6 +4332,7 @@ typedef struct VkSemaphoreSignalInfo
VkSemaphore WINE_VK_ALIGN(8) semaphore;
uint64_t WINE_VK_ALIGN(8) value;
} VkSemaphoreSignalInfo;
typedef VkSemaphoreSignalInfo VkSemaphoreSignalInfoKHR;
typedef struct VkSemaphoreTypeCreateInfo
{
@ -4299,6 +4341,7 @@ typedef struct VkSemaphoreTypeCreateInfo
VkSemaphoreType semaphoreType;
uint64_t WINE_VK_ALIGN(8) initialValue;
} VkSemaphoreTypeCreateInfo;
typedef VkSemaphoreTypeCreateInfo VkSemaphoreTypeCreateInfoKHR;
typedef struct VkSemaphoreWaitInfo
{
@ -4309,6 +4352,7 @@ typedef struct VkSemaphoreWaitInfo
const VkSemaphore *pSemaphores;
const uint64_t *pValues;
} VkSemaphoreWaitInfo;
typedef VkSemaphoreWaitInfo VkSemaphoreWaitInfoKHR;
typedef struct VkShaderModuleCreateInfo
{
@ -4372,6 +4416,7 @@ typedef struct VkSubpassBeginInfo
const void *pNext;
VkSubpassContents contents;
} VkSubpassBeginInfo;
typedef VkSubpassBeginInfo VkSubpassBeginInfoKHR;
typedef struct VkSubpassDependency
{
@ -4477,6 +4522,7 @@ typedef struct VkAttachmentReferenceStencilLayout
void *pNext;
VkImageLayout stencilLayout;
} VkAttachmentReferenceStencilLayout;
typedef VkAttachmentReferenceStencilLayout VkAttachmentReferenceStencilLayoutKHR;
typedef struct VkBaseOutStructure
{
@ -4492,6 +4538,7 @@ typedef struct VkBindBufferMemoryInfo
VkDeviceMemory WINE_VK_ALIGN(8) memory;
VkDeviceSize WINE_VK_ALIGN(8) memoryOffset;
} VkBindBufferMemoryInfo;
typedef VkBindBufferMemoryInfo VkBindBufferMemoryInfoKHR;
typedef struct VkBindImageMemoryInfo
{
@ -4501,6 +4548,7 @@ typedef struct VkBindImageMemoryInfo
VkDeviceMemory WINE_VK_ALIGN(8) memory;
VkDeviceSize WINE_VK_ALIGN(8) memoryOffset;
} VkBindImageMemoryInfo;
typedef VkBindImageMemoryInfo VkBindImageMemoryInfoKHR;
typedef struct VkBufferCreateInfo
{
@ -4520,6 +4568,7 @@ typedef struct VkBufferMemoryRequirementsInfo2
const void *pNext;
VkBuffer WINE_VK_ALIGN(8) buffer;
} VkBufferMemoryRequirementsInfo2;
typedef VkBufferMemoryRequirementsInfo2 VkBufferMemoryRequirementsInfo2KHR;
typedef struct VkBufferViewCreateInfo
{
@ -4579,6 +4628,7 @@ typedef struct VkConformanceVersion
uint8_t subminor;
uint8_t patch;
} VkConformanceVersion;
typedef VkConformanceVersion VkConformanceVersionKHR;
typedef struct VkDedicatedAllocationMemoryAllocateInfoNV
{
@ -4603,6 +4653,7 @@ typedef struct VkDescriptorUpdateTemplateEntry
size_t offset;
size_t stride;
} VkDescriptorUpdateTemplateEntry;
typedef VkDescriptorUpdateTemplateEntry VkDescriptorUpdateTemplateEntryKHR;
typedef struct VkDeviceGroupCommandBufferBeginInfo
{
@ -4610,6 +4661,7 @@ typedef struct VkDeviceGroupCommandBufferBeginInfo
const void *pNext;
uint32_t deviceMask;
} VkDeviceGroupCommandBufferBeginInfo;
typedef VkDeviceGroupCommandBufferBeginInfo VkDeviceGroupCommandBufferBeginInfoKHR;
typedef struct VkDeviceGroupPresentCapabilitiesKHR
{
@ -4630,6 +4682,7 @@ typedef struct VkDeviceGroupSubmitInfo
uint32_t signalSemaphoreCount;
const uint32_t *pSignalSemaphoreDeviceIndices;
} VkDeviceGroupSubmitInfo;
typedef VkDeviceGroupSubmitInfo VkDeviceGroupSubmitInfoKHR;
typedef struct VkDeviceQueueInfo2
{
@ -4652,6 +4705,7 @@ typedef struct VkExportFenceCreateInfo
const void *pNext;
VkExternalFenceHandleTypeFlags handleTypes;
} VkExportFenceCreateInfo;
typedef VkExportFenceCreateInfo VkExportFenceCreateInfoKHR;
typedef struct VkExportSemaphoreCreateInfo
{
@ -4659,6 +4713,7 @@ typedef struct VkExportSemaphoreCreateInfo
const void *pNext;
VkExternalSemaphoreHandleTypeFlags handleTypes;
} VkExportSemaphoreCreateInfo;
typedef VkExportSemaphoreCreateInfo VkExportSemaphoreCreateInfoKHR;
typedef struct VkExtent2D
{
@ -4674,6 +4729,7 @@ typedef struct VkExternalFenceProperties
VkExternalFenceHandleTypeFlags compatibleHandleTypes;
VkExternalFenceFeatureFlags externalFenceFeatures;
} VkExternalFenceProperties;
typedef VkExternalFenceProperties VkExternalFencePropertiesKHR;
typedef struct VkExternalSemaphoreProperties
{
@ -4683,6 +4739,7 @@ typedef struct VkExternalSemaphoreProperties
VkExternalSemaphoreHandleTypeFlags compatibleHandleTypes;
VkExternalSemaphoreFeatureFlags externalSemaphoreFeatures;
} VkExternalSemaphoreProperties;
typedef VkExternalSemaphoreProperties VkExternalSemaphorePropertiesKHR;
typedef struct VkFramebufferAttachmentImageInfo
{
@ -4696,6 +4753,7 @@ typedef struct VkFramebufferAttachmentImageInfo
uint32_t viewFormatCount;
const VkFormat *pViewFormats;
} VkFramebufferAttachmentImageInfo;
typedef VkFramebufferAttachmentImageInfo VkFramebufferAttachmentImageInfoKHR;
typedef struct VkFramebufferCreateInfo
{
@ -4737,6 +4795,7 @@ typedef struct VkImagePlaneMemoryRequirementsInfo
const void *pNext;
VkImageAspectFlagBits planeAspect;
} VkImagePlaneMemoryRequirementsInfo;
typedef VkImagePlaneMemoryRequirementsInfo VkImagePlaneMemoryRequirementsInfoKHR;
typedef struct VkImageSubresourceLayers
{
@ -4795,13 +4854,6 @@ typedef struct VkMemoryRequirements
uint32_t memoryTypeBits;
} VkMemoryRequirements;
typedef struct VkMemoryRequirements2KHR
{
VkStructureType sType;
void *pNext;
VkMemoryRequirements WINE_VK_ALIGN(8) memoryRequirements;
} VkMemoryRequirements2KHR;
typedef struct VkMultisamplePropertiesEXT
{
VkStructureType sType;
@ -4841,6 +4893,7 @@ typedef struct VkPhysicalDeviceBufferDeviceAddressFeaturesEXT
VkBool32 bufferDeviceAddressCaptureReplay;
VkBool32 bufferDeviceAddressMultiDevice;
} VkPhysicalDeviceBufferDeviceAddressFeaturesEXT;
typedef VkPhysicalDeviceBufferDeviceAddressFeaturesEXT VkPhysicalDeviceBufferAddressFeaturesEXT;
typedef struct VkPhysicalDeviceConditionalRenderingFeaturesEXT
{
@ -4866,6 +4919,7 @@ typedef struct VkPhysicalDeviceDepthStencilResolveProperties
VkBool32 independentResolveNone;
VkBool32 independentResolve;
} VkPhysicalDeviceDepthStencilResolveProperties;
typedef VkPhysicalDeviceDepthStencilResolveProperties VkPhysicalDeviceDepthStencilResolvePropertiesKHR;
typedef struct VkPhysicalDeviceDescriptorIndexingProperties
{
@ -4895,6 +4949,7 @@ typedef struct VkPhysicalDeviceDescriptorIndexingProperties
uint32_t maxDescriptorSetUpdateAfterBindStorageImages;
uint32_t maxDescriptorSetUpdateAfterBindInputAttachments;
} VkPhysicalDeviceDescriptorIndexingProperties;
typedef VkPhysicalDeviceDescriptorIndexingProperties VkPhysicalDeviceDescriptorIndexingPropertiesEXT;
typedef struct VkPhysicalDeviceDriverProperties
{
@ -4905,6 +4960,7 @@ typedef struct VkPhysicalDeviceDriverProperties
char driverInfo[VK_MAX_DRIVER_INFO_SIZE];
VkConformanceVersion conformanceVersion;
} VkPhysicalDeviceDriverProperties;
typedef VkPhysicalDeviceDriverProperties VkPhysicalDeviceDriverPropertiesKHR;
typedef struct VkPhysicalDeviceFeatures
{
@ -5082,14 +5138,6 @@ typedef struct VkPhysicalDeviceTransformFeedbackFeaturesEXT
VkBool32 geometryStreams;
} VkPhysicalDeviceTransformFeedbackFeaturesEXT;
typedef struct VkPhysicalDeviceVariablePointerFeatures
{
VkStructureType sType;
void *pNext;
VkBool32 variablePointersStorageBuffer;
VkBool32 variablePointers;
} VkPhysicalDeviceVariablePointerFeatures;
typedef struct VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT
{
VkStructureType sType;
@ -5214,6 +5262,7 @@ typedef struct VkPipelineTessellationDomainOriginStateCreateInfo
const void *pNext;
VkTessellationDomainOrigin domainOrigin;
} VkPipelineTessellationDomainOriginStateCreateInfo;
typedef VkPipelineTessellationDomainOriginStateCreateInfo VkPipelineTessellationDomainOriginStateCreateInfoKHR;
typedef struct VkPipelineVertexInputDivisorStateCreateInfoEXT
{
@ -5263,6 +5312,7 @@ typedef struct VkQueueFamilyProperties2
void *pNext;
VkQueueFamilyProperties queueFamilyProperties;
} VkQueueFamilyProperties2;
typedef VkQueueFamilyProperties2 VkQueueFamilyProperties2KHR;
typedef struct VkRenderPassAttachmentBeginInfo
{
@ -5271,6 +5321,7 @@ typedef struct VkRenderPassAttachmentBeginInfo
uint32_t attachmentCount;
const VkImageView *pAttachments;
} VkRenderPassAttachmentBeginInfo;
typedef VkRenderPassAttachmentBeginInfo VkRenderPassAttachmentBeginInfoKHR;
typedef struct VkRenderPassFragmentDensityMapCreateInfoEXT
{
@ -5291,6 +5342,7 @@ typedef struct VkSamplerReductionModeCreateInfo
const void *pNext;
VkSamplerReductionMode reductionMode;
} VkSamplerReductionModeCreateInfo;
typedef VkSamplerReductionModeCreateInfo VkSamplerReductionModeCreateInfoEXT;
typedef struct VkSamplerYcbcrConversionImageFormatProperties
{
@ -5298,6 +5350,7 @@ typedef struct VkSamplerYcbcrConversionImageFormatProperties
void *pNext;
uint32_t combinedImageSamplerDescriptorCount;
} VkSamplerYcbcrConversionImageFormatProperties;
typedef VkSamplerYcbcrConversionImageFormatProperties VkSamplerYcbcrConversionImageFormatPropertiesKHR;
typedef struct VkSemaphoreCreateInfo
{
@ -5340,6 +5393,7 @@ typedef struct VkSparseImageMemoryRequirements2
void *pNext;
VkSparseImageMemoryRequirements WINE_VK_ALIGN(8) memoryRequirements;
} VkSparseImageMemoryRequirements2;
typedef VkSparseImageMemoryRequirements2 VkSparseImageMemoryRequirements2KHR;
typedef struct VkSpecializationInfo
{
@ -5375,12 +5429,14 @@ typedef struct VkSubpassDependency2
VkDependencyFlags dependencyFlags;
int32_t viewOffset;
} VkSubpassDependency2;
typedef VkSubpassDependency2 VkSubpassDependency2KHR;
typedef struct VkSubpassEndInfo
{
VkStructureType sType;
const void *pNext;
} VkSubpassEndInfo;
typedef VkSubpassEndInfo VkSubpassEndInfoKHR;
typedef struct VkSurfaceCapabilitiesKHR
{
@ -5427,6 +5483,7 @@ typedef struct VkTimelineSemaphoreSubmitInfo
uint32_t signalSemaphoreValueCount;
const uint64_t *pSignalSemaphoreValues;
} VkTimelineSemaphoreSubmitInfo;
typedef VkTimelineSemaphoreSubmitInfo VkTimelineSemaphoreSubmitInfoKHR;
typedef struct VkWriteDescriptorSetInlineUniformBlockEXT
{
@ -5453,6 +5510,7 @@ typedef struct VkBindBufferMemoryDeviceGroupInfo
uint32_t deviceIndexCount;
const uint32_t *pDeviceIndices;
} VkBindBufferMemoryDeviceGroupInfo;
typedef VkBindBufferMemoryDeviceGroupInfo VkBindBufferMemoryDeviceGroupInfoKHR;
typedef struct VkBindImageMemorySwapchainInfoKHR
{
@ -5468,6 +5526,8 @@ typedef struct VkBufferDeviceAddressInfo
const void *pNext;
VkBuffer WINE_VK_ALIGN(8) buffer;
} VkBufferDeviceAddressInfo;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoKHR;
typedef VkBufferDeviceAddressInfo VkBufferDeviceAddressInfoEXT;
typedef struct VkBufferOpaqueCaptureAddressCreateInfo
{
@ -5475,6 +5535,7 @@ typedef struct VkBufferOpaqueCaptureAddressCreateInfo
const void *pNext;
uint64_t WINE_VK_ALIGN(8) opaqueCaptureAddress;
} VkBufferOpaqueCaptureAddressCreateInfo;
typedef VkBufferOpaqueCaptureAddressCreateInfo VkBufferOpaqueCaptureAddressCreateInfoKHR;
typedef struct VkClearAttachment
{
@ -5520,6 +5581,7 @@ typedef struct VkDeviceGroupBindSparseInfo
uint32_t resourceDeviceIndex;
uint32_t memoryDeviceIndex;
} VkDeviceGroupBindSparseInfo;
typedef VkDeviceGroupBindSparseInfo VkDeviceGroupBindSparseInfoKHR;
typedef struct VkDeviceGroupSwapchainCreateInfoKHR
{
@ -5551,6 +5613,7 @@ typedef struct VkFramebufferAttachmentsCreateInfo
uint32_t attachmentImageInfoCount;
const VkFramebufferAttachmentImageInfo *pAttachmentImageInfos;
} VkFramebufferAttachmentsCreateInfo;
typedef VkFramebufferAttachmentsCreateInfo VkFramebufferAttachmentsCreateInfoKHR;
typedef struct VkImageBlit
{
@ -5566,6 +5629,7 @@ typedef struct VkImageViewUsageCreateInfo
const void *pNext;
VkImageUsageFlags usage;
} VkImageViewUsageCreateInfo;
typedef VkImageViewUsageCreateInfo VkImageViewUsageCreateInfoKHR;
typedef struct VkMemoryBarrier
{
@ -5581,6 +5645,7 @@ typedef struct VkMemoryRequirements2
void *pNext;
VkMemoryRequirements WINE_VK_ALIGN(8) memoryRequirements;
} VkMemoryRequirements2;
typedef VkMemoryRequirements2 VkMemoryRequirements2KHR;
typedef struct VkOffset2D
{
@ -5624,6 +5689,7 @@ typedef struct VkPhysicalDeviceFeatures2
void *pNext;
VkPhysicalDeviceFeatures features;
} VkPhysicalDeviceFeatures2;
typedef VkPhysicalDeviceFeatures2 VkPhysicalDeviceFeatures2KHR;
typedef struct VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT
{
@ -5644,6 +5710,7 @@ typedef struct VkPhysicalDeviceImageFormatInfo2
VkImageUsageFlags usage;
VkImageCreateFlags flags;
} VkPhysicalDeviceImageFormatInfo2;
typedef VkPhysicalDeviceImageFormatInfo2 VkPhysicalDeviceImageFormatInfo2KHR;
typedef struct VkPhysicalDeviceLimits
{
@ -5761,6 +5828,7 @@ typedef struct VkPhysicalDeviceMemoryProperties2
void *pNext;
VkPhysicalDeviceMemoryProperties WINE_VK_ALIGN(8) memoryProperties;
} VkPhysicalDeviceMemoryProperties2;
typedef VkPhysicalDeviceMemoryProperties2 VkPhysicalDeviceMemoryProperties2KHR;
typedef struct VkPhysicalDeviceProperties
{
@ -5810,6 +5878,7 @@ typedef struct VkPhysicalDeviceUniformBufferStandardLayoutFeatures
void *pNext;
VkBool32 uniformBufferStandardLayout;
} VkPhysicalDeviceUniformBufferStandardLayoutFeatures;
typedef VkPhysicalDeviceUniformBufferStandardLayoutFeatures VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR;
typedef struct VkPhysicalDeviceVulkan11Features
{
@ -5935,6 +6004,7 @@ typedef struct VkSamplerYcbcrConversionInfo
const void *pNext;
VkSamplerYcbcrConversion WINE_VK_ALIGN(8) conversion;
} VkSamplerYcbcrConversionInfo;
typedef VkSamplerYcbcrConversionInfo VkSamplerYcbcrConversionInfoKHR;
typedef struct VkSparseImageMemoryBindInfo
{
@ -6045,6 +6115,7 @@ typedef struct VkDeviceGroupDeviceCreateInfo
uint32_t physicalDeviceCount;
const VkPhysicalDevice *pPhysicalDevices;
} VkDeviceGroupDeviceCreateInfo;
typedef VkDeviceGroupDeviceCreateInfo VkDeviceGroupDeviceCreateInfoKHR;
typedef struct VkDeviceQueueCreateInfo
{
@ -6062,6 +6133,7 @@ typedef struct VkExternalMemoryProperties
VkExternalMemoryHandleTypeFlags exportFromImportedHandleTypes;
VkExternalMemoryHandleTypeFlags compatibleHandleTypes;
} VkExternalMemoryProperties;
typedef VkExternalMemoryProperties VkExternalMemoryPropertiesKHR;
typedef struct VkGeometryAABBNV
{
@ -6129,6 +6201,7 @@ typedef struct VkPhysicalDeviceMultiviewFeatures
VkBool32 multiviewGeometryShader;
VkBool32 multiviewTessellationShader;
} VkPhysicalDeviceMultiviewFeatures;
typedef VkPhysicalDeviceMultiviewFeatures VkPhysicalDeviceMultiviewFeaturesKHR;
typedef struct VkPhysicalDeviceProperties2
{
@ -6136,6 +6209,7 @@ typedef struct VkPhysicalDeviceProperties2
void *pNext;
VkPhysicalDeviceProperties WINE_VK_ALIGN(8) properties;
} VkPhysicalDeviceProperties2;
typedef VkPhysicalDeviceProperties2 VkPhysicalDeviceProperties2KHR;
typedef struct VkPhysicalDeviceVulkan12Properties
{
@ -6275,6 +6349,7 @@ typedef struct VkSparseImageFormatProperties2
void *pNext;
VkSparseImageFormatProperties properties;
} VkSparseImageFormatProperties2;
typedef VkSparseImageFormatProperties2 VkSparseImageFormatProperties2KHR;
typedef struct VkValidationCacheCreateInfoEXT
{
@ -6307,6 +6382,7 @@ typedef struct VkAttachmentReference2
VkImageLayout layout;
VkImageAspectFlags aspectMask;
} VkAttachmentReference2;
typedef VkAttachmentReference2 VkAttachmentReference2KHR;
typedef struct VkCheckpointDataNV
{
@ -6329,6 +6405,7 @@ typedef struct VkDescriptorUpdateTemplateCreateInfo
VkPipelineLayout WINE_VK_ALIGN(8) pipelineLayout;
uint32_t set;
} VkDescriptorUpdateTemplateCreateInfo;
typedef VkDescriptorUpdateTemplateCreateInfo VkDescriptorUpdateTemplateCreateInfoKHR;
typedef struct VkExternalBufferProperties
{
@ -6336,6 +6413,7 @@ typedef struct VkExternalBufferProperties
void *pNext;
VkExternalMemoryProperties externalMemoryProperties;
} VkExternalBufferProperties;
typedef VkExternalBufferProperties VkExternalBufferPropertiesKHR;
typedef struct VkFormatProperties
{
@ -6356,6 +6434,7 @@ typedef struct VkImageFormatProperties2
void *pNext;
VkImageFormatProperties WINE_VK_ALIGN(8) imageFormatProperties;
} VkImageFormatProperties2;
typedef VkImageFormatProperties2 VkImageFormatProperties2KHR;
typedef struct VkPhysicalDeviceExternalSemaphoreInfo
{
@ -6363,6 +6442,7 @@ typedef struct VkPhysicalDeviceExternalSemaphoreInfo
const void *pNext;
VkExternalSemaphoreHandleTypeFlagBits handleType;
} VkPhysicalDeviceExternalSemaphoreInfo;
typedef VkPhysicalDeviceExternalSemaphoreInfo VkPhysicalDeviceExternalSemaphoreInfoKHR;
typedef struct VkPhysicalDeviceSampleLocationsPropertiesEXT
{
@ -6440,6 +6520,7 @@ typedef struct VkSamplerYcbcrConversionCreateInfo
VkFilter chromaFilter;
VkBool32 forceExplicitReconstruction;
} VkSamplerYcbcrConversionCreateInfo;
typedef VkSamplerYcbcrConversionCreateInfo VkSamplerYcbcrConversionCreateInfoKHR;
typedef struct VkSparseImageOpaqueMemoryBindInfo
{
@ -6456,6 +6537,7 @@ typedef struct VkSubpassDescriptionDepthStencilResolve
VkResolveModeFlagBits stencilResolveMode;
const VkAttachmentReference2 *pDepthStencilResolveAttachment;
} VkSubpassDescriptionDepthStencilResolve;
typedef VkSubpassDescriptionDepthStencilResolve VkSubpassDescriptionDepthStencilResolveKHR;
typedef struct VkViewportSwizzleNV
{
@ -6497,6 +6579,7 @@ typedef struct VkFormatProperties2
void *pNext;
VkFormatProperties formatProperties;
} VkFormatProperties2;
typedef VkFormatProperties2 VkFormatProperties2KHR;
typedef struct VkImageSwapchainCreateInfoKHR
{
@ -6521,6 +6604,7 @@ typedef struct VkPhysicalDeviceShaderDrawParametersFeatures
void *pNext;
VkBool32 shaderDrawParameters;
} VkPhysicalDeviceShaderDrawParametersFeatures;
typedef VkPhysicalDeviceShaderDrawParametersFeatures VkPhysicalDeviceShaderDrawParameterFeatures;
typedef struct VkPipelineSampleLocationsStateCreateInfoEXT
{
@ -6566,6 +6650,7 @@ typedef struct VkExternalImageFormatProperties
void *pNext;
VkExternalMemoryProperties externalMemoryProperties;
} VkExternalImageFormatProperties;
typedef VkExternalImageFormatProperties VkExternalImageFormatPropertiesKHR;
typedef struct VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR
{
@ -6596,6 +6681,7 @@ typedef struct VkSubpassDescription2
uint32_t preserveAttachmentCount;
const uint32_t *pPreserveAttachments;
} VkSubpassDescription2;
typedef VkSubpassDescription2 VkSubpassDescription2KHR;
typedef struct VkBindImageMemoryDeviceGroupInfo
{
@ -6606,6 +6692,7 @@ typedef struct VkBindImageMemoryDeviceGroupInfo
uint32_t splitInstanceBindRegionCount;
const VkRect2D *pSplitInstanceBindRegions;
} VkBindImageMemoryDeviceGroupInfo;
typedef VkBindImageMemoryDeviceGroupInfo VkBindImageMemoryDeviceGroupInfoKHR;
typedef struct VkCommandBufferInheritanceRenderPassTransformInfoQCOM
{
@ -6649,6 +6736,7 @@ typedef struct VkPhysicalDeviceDescriptorIndexingFeatures
VkBool32 descriptorBindingVariableDescriptorCount;
VkBool32 runtimeDescriptorArray;
} VkPhysicalDeviceDescriptorIndexingFeatures;
typedef VkPhysicalDeviceDescriptorIndexingFeatures VkPhysicalDeviceDescriptorIndexingFeaturesEXT;
typedef struct VkPipelineDiscardRectangleStateCreateInfoEXT
{
@ -6685,6 +6773,7 @@ typedef struct VkRenderPassCreateInfo2
uint32_t correlatedViewMaskCount;
const uint32_t *pCorrelatedViewMasks;
} VkRenderPassCreateInfo2;
typedef VkRenderPassCreateInfo2 VkRenderPassCreateInfo2KHR;
typedef struct VkAccelerationStructureInfoNV
{
@ -6705,6 +6794,7 @@ typedef struct VkDeviceGroupRenderPassBeginInfo
uint32_t deviceRenderAreaCount;
const VkRect2D *pDeviceRenderAreas;
} VkDeviceGroupRenderPassBeginInfo;
typedef VkDeviceGroupRenderPassBeginInfo VkDeviceGroupRenderPassBeginInfoKHR;
typedef struct VkPhysicalDeviceVariablePointersFeatures
{
@ -6713,6 +6803,9 @@ typedef struct VkPhysicalDeviceVariablePointersFeatures
VkBool32 variablePointersStorageBuffer;
VkBool32 variablePointers;
} VkPhysicalDeviceVariablePointersFeatures;
typedef VkPhysicalDeviceVariablePointersFeatures VkPhysicalDeviceVariablePointersFeaturesKHR;
typedef VkPhysicalDeviceVariablePointersFeatures VkPhysicalDeviceVariablePointerFeaturesKHR;
typedef VkPhysicalDeviceVariablePointersFeatures VkPhysicalDeviceVariablePointerFeatures;
typedef struct VkRenderPassBeginInfo
{