From 5ff06ddf3bc96b03465d1304eab2fbc000df53ef Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 15 Sep 2017 15:10:53 +0100 Subject: vulkan: update headers & registry to VK 1.0.61 Signed-off-by: Lionel Landwerlin Acked-by: Jason Ekstrand --- src/vulkan/registry/vk.xml | 540 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 448 insertions(+), 92 deletions(-) (limited to 'src/vulkan/registry/vk.xml') diff --git a/src/vulkan/registry/vk.xml b/src/vulkan/registry/vk.xml index f0a1cd625be..f4182d85e66 100644 --- a/src/vulkan/registry/vk.xml +++ b/src/vulkan/registry/vk.xml @@ -31,6 +31,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. + @@ -106,7 +107,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. // Vulkan 1.0 version number #define VK_API_VERSION_1_0 VK_MAKE_VERSION(1, 0, 0)// Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 59 +#define VK_HEADER_VERSION 61 #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object; @@ -243,6 +244,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. typedef VkFlags VkPipelineDiscardRectangleStateCreateFlagsEXT; typedef VkFlags VkPipelineCoverageToColorStateCreateFlagsNV; typedef VkFlags VkPipelineCoverageModulationStateCreateFlagsNV; + typedef VkFlags VkValidationCacheCreateFlagsEXT; Types which can be void pointers or class pointers, selected at compile time VK_DEFINE_HANDLE(VkInstance) @@ -273,6 +275,8 @@ private version is maintained in the 1.0 branch of the member gitlab server. VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkObjectTableNVX) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkIndirectCommandsLayoutNVX) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorUpdateTemplateKHR) + VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSamplerYcbcrConversionKHR) + VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkValidationCacheEXT) WSI extensions VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayKHR) @@ -379,7 +383,9 @@ private version is maintained in the 1.0 branch of the member gitlab server. + + WSI extensions @@ -409,6 +415,10 @@ private version is maintained in the 1.0 branch of the member gitlab server. + + + + @@ -843,7 +853,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. const void* pNext VkShaderModuleCreateFlags flags size_t codeSizeSpecified in bytes - const uint32_t* pCodeBinary code of size codeSize + const uint32_t* pCodeBinary code of size codeSize uint32_t bindingBinding number for this entry @@ -971,7 +981,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkSampleCountFlagBits rasterizationSamplesNumber of samples used for rasterization VkBool32 sampleShadingEnableoptional (GL45) float minSampleShadingoptional (GL45) - const VkSampleMask* pSampleMaskArray of sampleMask words + const VkSampleMask* pSampleMaskArray of sampleMask words VkBool32 alphaToCoverageEnable VkBool32 alphaToOneEnable @@ -2148,21 +2158,29 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkMemoryAllocateFlagsKHX flags uint32_t deviceMask - - VkStructureType sType + + VkStructureType sType const void* pNext VkBuffer buffer VkDeviceMemory memory VkDeviceSize memoryOffset + + + VkStructureType sType + const void* pNext uint32_t deviceIndexCount const uint32_t* pDeviceIndices - - VkStructureType sType + + VkStructureType sType const void* pNext VkImage image - VkDeviceMemory memory + VkDeviceMemory memory VkDeviceSize memoryOffset + + + VkStructureType sType + const void* pNext uint32_t deviceIndexCount const uint32_t* pDeviceIndices uint32_t SFRRectCount @@ -2207,7 +2225,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. const void* pNext VkSwapchainKHR swapchain - + VkStructureType sType const void* pNext VkSwapchainKHR swapchain @@ -2353,6 +2371,17 @@ private version is maintained in the 1.0 branch of the member gitlab server. void* pNext VkBool32 perViewPositionAllComponents + + uint32_t subpass + uint32_t inputAttachmentIndex + VkImageAspectFlags aspectMask + + + VkStructureType sType + const void* pNext + uint32_t aspectReferenceCount + const VkInputAttachmentAspectReferenceKHR* pAspectReferences + VkStructureType sType const void* pNext @@ -2406,6 +2435,11 @@ private version is maintained in the 1.0 branch of the member gitlab server. void* pNext VkSparseImageMemoryRequirements memoryRequirements + + VkStructureType sType + void* pNext + VkPointClippingBehaviorKHR pointClippingBehavior + VkStructureType sType void* pNext @@ -2418,6 +2452,53 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkImage imageImage that this allocation will be bound to VkBuffer bufferBuffer that this allocation will be bound to + + VkStructureType sType + const void* pNext + VkImageUsageFlags usage + + + VkStructureType sType + const void* pNext + VkTessellationDomainOriginKHR domainOrigin + + + VkStructureType sType + const void* pNext + VkSamplerYcbcrConversionKHR conversion + + + VkStructureType sType + const void* pNext + VkFormat format + VkSamplerYcbcrModelConversionKHR ycbcrModel + VkSamplerYcbcrRangeKHR ycbcrRange + VkComponentMapping components + VkChromaLocationKHR xChromaOffset + VkChromaLocationKHR yChromaOffset + VkFilter chromaFilter + VkBool32 forceExplicitReconstruction + + + VkStructureType sType + const void* pNext + VkImageAspectFlagBits planeAspect + + + VkStructureType sType + const void* pNext + VkImageAspectFlagBits planeAspect + + + VkStructureType sType + void* pNext + VkBool32 samplerYcbcrConversionSampler color conversion supported + + + VkStructureType sType + void* pNext + uint32_t combinedImageSamplerDescriptorCount + VkStructureType sType void* pNext @@ -2436,6 +2517,54 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkBool32 filterMinmaxSingleComponentFormats VkBool32 filterMinmaxImageComponentMapping + + float x + float y + + + VkStructureType sType + const void* pNext + VkSampleCountFlagBits sampleLocationsPerPixel + VkExtent2D sampleLocationGridSize + uint32_t sampleLocationsCount + const VkSampleLocationEXT* pSampleLocations + + + uint32_t attachmentIndex + VkSampleLocationsInfoEXT sampleLocationsInfo + + + uint32_t subpassIndex + VkSampleLocationsInfoEXT sampleLocationsInfo + + + VkStructureType sType + const void* pNext + uint32_t attachmentInitialSampleLocationsCount + const VkAttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations + uint32_t postSubpassSampleLocationsCount + const VkSubpassSampleLocationsEXT* pSubpassSampleLocations + + + VkStructureType sType + const void* pNext + VkBool32 sampleLocationsEnable + VkSampleLocationsInfoEXT sampleLocationsInfo + + + VkStructureType sType + void* pNext + VkSampleCountFlags sampleLocationSampleCounts + VkExtent2D maxSampleLocationGridSize + float sampleLocationCoordinateRange[2] + uint32_t sampleLocationSubPixelBits + VkBool32 variableSampleLocations + + + VkStructureType sType + void* pNext + VkExtent2D maxSampleLocationGridSize + VkStructureType sType const void* pNext @@ -2472,6 +2601,24 @@ private version is maintained in the 1.0 branch of the member gitlab server. uint32_t coverageModulationTableCount const float* pCoverageModulationTable + + VkStructureType sType + const void* pNext + uint32_t viewFormatCount + const VkFormat* pViewFormats + + + VkStructureType sType + const void* pNext + VkValidationCacheCreateFlagsEXT flags + size_t initialDataSize + const void* pInitialData + + + VkStructureType sType + const void* pNext + VkValidationCacheEXT validationCache + Vulkan enumerant (token) definitions @@ -3317,6 +3464,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. + @@ -3455,11 +3603,34 @@ private version is maintained in the 1.0 branch of the member gitlab server. + + + + + + + + + + + + + + + + + + + + + + + @@ -3471,6 +3642,9 @@ private version is maintained in the 1.0 branch of the member gitlab server. + + + @@ -4937,7 +5111,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkResult vkRegisterDeviceEventEXT VkDevice device const VkDeviceEventInfoEXT* pDeviceEventInfo - const VkAllocationCallbacks* pAllocator + const VkAllocationCallbacks* pAllocator VkFence* pFence @@ -4945,7 +5119,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkDevice device VkDisplayKHR display const VkDisplayEventInfoEXT* pDisplayEventInfo - const VkAllocationCallbacks* pAllocator + const VkAllocationCallbacks* pAllocator VkFence* pFence @@ -4976,16 +5150,16 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkPeerMemoryFeatureFlagsKHX* pPeerMemoryFeatures - VkResult vkBindBufferMemory2KHX + VkResult vkBindBufferMemory2KHR VkDevice device uint32_t bindInfoCount - const VkBindBufferMemoryInfoKHX* pBindInfos + const VkBindBufferMemoryInfoKHR* pBindInfos - VkResult vkBindImageMemory2KHX + VkResult vkBindImageMemory2KHR VkDevice device uint32_t bindInfoCount - const VkBindImageMemoryInfoKHX* pBindInfos + const VkBindImageMemoryInfoKHR* pBindInfos void vkCmdSetDeviceMaskKHX @@ -5107,6 +5281,17 @@ private version is maintained in the 1.0 branch of the member gitlab server. uint32_t discardRectangleCount const VkRect2D* pDiscardRectangles + + void vkCmdSetSampleLocationsEXT + VkCommandBuffer commandBuffer + const VkSampleLocationsInfoEXT* pSampleLocationsInfo + + + void vkGetPhysicalDeviceMultisamplePropertiesEXT + VkPhysicalDevice physicalDevice + VkSampleCountFlagBits samples + VkMultisamplePropertiesEXT* pMultisampleProperties + VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR VkPhysicalDevice physicalDevice @@ -5139,6 +5324,46 @@ private version is maintained in the 1.0 branch of the member gitlab server. uint32_t* pSparseMemoryRequirementCount VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements + + VkResult vkCreateSamplerYcbcrConversionKHR + VkDevice device + const VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo + const VkAllocationCallbacks* pAllocator + VkSamplerYcbcrConversionKHR* pYcbcrConversion + + + void vkDestroySamplerYcbcrConversionKHR + VkDevice device + VkSamplerYcbcrConversionKHR ycbcrConversion + const VkAllocationCallbacks* pAllocator + + + VkResult vkCreateValidationCacheEXT + VkDevice device + const VkValidationCacheCreateInfoEXT* pCreateInfo + const VkAllocationCallbacks* pAllocator + VkValidationCacheEXT* pValidationCache + + + void vkDestroyValidationCacheEXT + VkDevice device + VkValidationCacheEXT validationCache + const VkAllocationCallbacks* pAllocator + + + VkResult vkGetValidationCacheDataEXT + VkDevice device + VkValidationCacheEXT validationCache + size_t* pDataSize + void* pData + + + VkResult vkMergeValidationCachesEXT + VkDevice device + VkValidationCacheEXT dstCache + uint32_t srcCacheCount + const VkValidationCacheEXT* pSrcCaches + @@ -5367,7 +5592,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5382,7 +5607,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5399,7 +5624,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5425,7 +5650,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5435,7 +5660,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5446,7 +5671,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5457,7 +5682,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5468,7 +5693,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5479,7 +5704,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5489,7 +5714,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5536,7 +5761,6 @@ private version is maintained in the 1.0 branch of the member gitlab server. - @@ -5848,7 +6072,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5859,7 +6083,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -5898,56 +6122,62 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + - + - - + offset 1 reserved for the old VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHX enum + offset 2 reserved for the old VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHX enum - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6065,7 +6295,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6081,7 +6311,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6095,7 +6325,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6130,7 +6360,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6146,7 +6376,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6282,7 +6512,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6302,7 +6532,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6360,7 +6590,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6439,7 +6669,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6479,7 +6709,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6550,10 +6780,25 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + - - + + + + + + + + + + + + + + + + + @@ -6628,7 +6873,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + @@ -6692,16 +6937,16 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + - + - - + + @@ -6734,10 +6979,27 @@ private version is maintained in the 1.0 branch of the member gitlab server. - - - - + + + + + + + + + + + + + + + + + + + + + @@ -6771,10 +7033,12 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + - - + + + + @@ -6887,16 +7151,84 @@ private version is maintained in the 1.0 branch of the member gitlab server. - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6911,10 +7243,22 @@ private version is maintained in the 1.0 branch of the member gitlab server. - + - - + + + + + + + + + + + + + + @@ -6959,5 +7303,17 @@ private version is maintained in the 1.0 branch of the member gitlab server. + + + + + + + + + + + + -- cgit v1.2.3