From 6ee17091708a41c4aa81adf65e37f915977b8e16 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 24 Apr 2018 08:30:24 -0700 Subject: vulkan: Update the XML and headers to 1.1.86 Reviewed-by: Bas Nieuwenhuizen --- src/vulkan/registry/vk.xml | 857 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 791 insertions(+), 66 deletions(-) (limited to 'src/vulkan/registry/vk.xml') diff --git a/src/vulkan/registry/vk.xml b/src/vulkan/registry/vk.xml index 9cd1c72de64..3eb0fe02fe5 100644 --- a/src/vulkan/registry/vk.xml +++ b/src/vulkan/registry/vk.xml @@ -147,7 +147,7 @@ server. // Vulkan 1.1 version number #define VK_API_VERSION_1_1 VK_MAKE_VERSION(1, 1, 0)// Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 84 +#define VK_HEADER_VERSION 86 #define VK_DEFINE_HANDLE(object) typedef struct object##_T* object; @@ -247,6 +247,9 @@ server. typedef VkFlags VkSubgroupFeatureFlags; typedef VkFlags VkIndirectCommandsLayoutUsageFlagsNVX; typedef VkFlags VkObjectEntryUsageFlagsNVX; + typedef VkFlags VkGeometryFlagsNVX; + typedef VkFlags VkGeometryInstanceFlagsNVX; + typedef VkFlags VkBuildAccelerationStructureFlagsNVX; typedef VkFlags VkDescriptorUpdateTemplateCreateFlags; @@ -341,6 +344,7 @@ server. VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSamplerYcbcrConversion) VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkValidationCacheEXT) + VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkAccelerationStructureNVX) WSI extensions VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayKHR) @@ -458,6 +462,12 @@ server. + + + + + + WSI extensions @@ -513,8 +523,11 @@ server. Enumerated types in the header, but not used by the API + + + - The PFN_vk*Function types are used by VkAllocationCallbacks below + The PFN_vk*Function types are used by VkAllocationCallbacks below typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)( void* pUserData, size_t size, @@ -1144,8 +1157,8 @@ server. VkPipelineCreateFlags flagsPipeline creation flags uint32_t stageCount const VkPipelineShaderStageCreateInfo* pStagesOne entry for each active shader stage - const VkPipelineVertexInputStateCreateInfo* pVertexInputState - const VkPipelineInputAssemblyStateCreateInfo* pInputAssemblyState + const VkPipelineVertexInputStateCreateInfo* pVertexInputState + const VkPipelineInputAssemblyStateCreateInfo* pInputAssemblyState const VkPipelineTessellationStateCreateInfo* pTessellationState const VkPipelineViewportStateCreateInfo* pViewportState const VkPipelineRasterizationStateCreateInfo* pRasterizationState @@ -1960,6 +1973,20 @@ server. void* pNext uint32_t maxPushDescriptors + + uint8_t major + uint8_t minor + uint8_t subminor + uint8_t patch + + + VkStructureType sType + void* pNext + uint32_t driverID + char driverName[VK_MAX_DRIVER_NAME_SIZE_KHR] + char driverInfo[VK_MAX_DRIVER_INFO_SIZE_KHR] + VkConformanceVersionKHR conformanceVersion + VkStructureType sType const void* pNext @@ -2833,7 +2860,7 @@ server. uint32_t maxDescriptorSetInlineUniformBlocks uint32_t maxDescriptorSetUpdateAfterBindInlineUniformBlocks - + VkStructureType sType const void* pNext uint32_t dataSize @@ -3072,7 +3099,7 @@ server. VkStructureType sType const void* pNext uint32_t bindingCount - const VkDescriptorBindingFlagsEXT* pBindingFlags + const VkDescriptorBindingFlagsEXT* pBindingFlags VkStructureType sType @@ -3231,6 +3258,12 @@ server. VkBool32 vulkanMemoryModel VkBool32 vulkanMemoryModelDeviceScope + + VkStructureType sType + void* pNext + VkBool32 shaderBufferInt64Atomics + VkBool32 shaderSharedInt64Atomics + VkStructureType sType void* pNext @@ -3258,6 +3291,234 @@ server. void* pNext VkBool32 decodeModeSharedExponent + + VkStructureTypesType + void* pNext + VkBool32 representativeFragmentTest + + + VkStructureType sType + const void* pNext + VkBool32 representativeFragmentTestEnable + + + VkStructureType sType + void* pNext + VkBool32 exclusiveScissor + + + VkStructureType sType + const void* pNext + uint32_t exclusiveScissorCount + const VkRect2D* pExclusiveScissors + + + VkStructureType sType + void* pNext + VkBool32 cornerSampledImage + + + VkStructureType sType + void* pNext + VkBool32 computeDerivativeGroupQuads + VkBool32 computeDerivativeGroupLinear + + + VkStructureType sType + void* pNext + VkBool32 fragmentShaderBarycentric + + + VkStructureType sType + void* pNext + VkBool32 imageFootprint + + + uint32_t shadingRatePaletteEntryCount + const VkShadingRatePaletteEntryNV* pShadingRatePaletteEntries + + + VkStructureType sType + const void* pNext + VkBool32 shadingRateImageEnable + uint32_t viewportCount + const VkShadingRatePaletteNV* pShadingRatePalettes + + + VkStructureType sType + void* pNext + VkBool32 shadingRateImage + VkBool32 shadingRateCoarseSampleOrder + + + VkStructureType sType + void* pNext + VkExtent2D shadingRateTexelSize + uint32_t shadingRatePaletteSize + uint32_t shadingRateMaxCoarseSamples + + + uint32_t pixelX + uint32_t pixelY + uint32_t sample + + + VkShadingRatePaletteEntryNV shadingRate + uint32_t sampleCount + uint32_t sampleLocationCount + const VkCoarseSampleLocationNV* pSampleLocations + + + VkStructureType sType + const void* pNext + VkCoarseSampleOrderTypeNV sampleOrderType + uint32_t customSampleOrderCount + const VkCoarseSampleOrderCustomNV* pCustomSampleOrders + + + VkStructureType sType + void* pNext + VkBool32 taskShader + VkBool32 meshShader + + + VkStructureType sType + void* pNext + uint32_t maxDrawMeshTasksCount + uint32_t maxTaskWorkGroupInvocations + uint32_t maxTaskWorkGroupSize[3] + uint32_t maxTaskTotalMemorySize + uint32_t maxTaskOutputCount + uint32_t maxMeshWorkGroupInvocations + uint32_t maxMeshWorkGroupSize[3] + uint32_t maxMeshTotalMemorySize + uint32_t maxMeshOutputVertices + uint32_t maxMeshOutputPrimitives + uint32_t maxMeshMultiviewViewCount + uint32_t meshOutputPerVertexGranularity + uint32_t meshOutputPerPrimitiveGranularity + + + uint32_t taskCount + uint32_t firstTask + + + VkStructureType sType + const void* pNext + VkPipelineCreateFlags flagsPipeline creation flags + uint32_t stageCount + const VkPipelineShaderStageCreateInfo* pStagesOne entry for each active shader stage + const uint32_t* pGroupNumbersOne entry for each stage used as the query index and for grouping + uint32_t maxRecursionDepth + VkPipelineLayout layoutInterface layout of the pipeline + VkPipeline basePipelineHandleIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of + int32_t basePipelineIndexIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of + + + VkStructureType sType + const void* pNext + VkBuffer vertexData + VkDeviceSize vertexOffset + uint32_t vertexCount + VkDeviceSize vertexStride + VkFormat vertexFormatVK_FORMAT_R32G32B32_SFLOAT, VK_FORMAT_R32G32B32A32_SFLOAT, VK_FORMAT_R16G16B16_SFLOAT, or VK_FORMAT_R16G16B16A16_SFLOAT + VkBuffer indexData + VkDeviceSize indexOffset + uint32_t indexCount + VkIndexType indexType + VkBuffer transformDataOptional reference to array of floats representing a 3x4 row major affine transformation matrix. + VkDeviceSize transformOffset + + + VkStructureType sType + const void* pNext + VkBuffer aabbData + uint32_t numAABBs + uint32_t strideStride in bytes between AABBs + VkDeviceSize offsetOffset in bytes of the first AABB in aabbData + + + VkGeometryTrianglesNVX triangles + VkGeometryAABBNVX aabbs + + + VkStructureType sType + const void* pNext + VkGeometryTypeNVX geometryType + VkGeometryDataNVX geometry + VkGeometryFlagsNVX flags + + + VkStructureType sType + const void* pNext + VkAccelerationStructureTypeNVX type + VkBuildAccelerationStructureFlagsNVXflags + VkDeviceSize compactedSize + uint32_t instanceCount + uint32_t geometryCount + const VkGeometryNVX* pGeometries + + + VkStructureType sType + const void* pNext + VkAccelerationStructureNVX accelerationStructure + VkDeviceMemory memory + VkDeviceSize memoryOffset + uint32_t deviceIndexCount + const uint32_t* pDeviceIndices + + + VkStructureType sType + const void* pNext + uint32_t accelerationStructureCount + const VkAccelerationStructureNVX* pAccelerationStructures + + + VkStructureType sType + const void* pNext + VkAccelerationStructureNVX accelerationStructure + + + VkStructureType sType + void* pNext + uint32_t shaderHeaderSize + uint32_t maxRecursionDepth + uint32_t maxGeometryCount + + + VkStructureType sType + void* pNext + uint32_t drmFormatModifierCount + VkDrmFormatModifierPropertiesEXT* pDrmFormatModifierProperties + + + uint64_t drmFormatModifier + uint32_t drmFormatModifierPlaneCount + VkFormatFeatureFlags drmFormatModifierTilingFeatures + + + VkStructureType sType + const void* pNext + uint64_t drmFormatModifier + + + VkStructureType sType + const void* pNext + uint32_t drmFormatModifierCount + const uint64_t* pDrmFormatModifiers + + + VkStructureType sType + const void* pNext + uint64_t drmFormatModifier + uint32_t drmFormatModifierPlaneCount + const VkSubresourceLayout* pPlaneLayouts + + + VkStructureType sType + void* pNext + uint64_t drmFormatModifier + Vulkan enumerant (token) definitions @@ -3285,6 +3546,8 @@ server. + + @@ -3837,6 +4100,7 @@ server. + @@ -4343,9 +4607,72 @@ server. + + Driver IDs are now represented as enums instead of the old + <driverids> tag, allowing them to be included in the + API headers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6313,6 +6640,170 @@ server. uint32_t* pCheckpointDataCount VkCheckpointDataNV* pCheckpointData + + void vkCmdSetExclusiveScissorNV + VkCommandBuffer commandBuffer + uint32_t firstExclusiveScissor + uint32_t exclusiveScissorCount + const VkRect2D* pExclusiveScissors + + + void vkCmdBindShadingRateImageNV + VkCommandBuffer commandBuffer + VkImageView imageView + VkImageLayout imageLayout + + + void vkCmdSetViewportShadingRatePaletteNV + VkCommandBuffer commandBuffer + uint32_t firstViewport + uint32_t viewportCount + const VkShadingRatePaletteNV* pShadingRatePalettes + + + void vkCmdSetCoarseSampleOrderNV + VkCommandBuffer commandBuffer + VkCoarseSampleOrderTypeNV sampleOrderType + uint32_t customSampleOrderCount + const VkCoarseSampleOrderCustomNV* pCustomSampleOrders + + + void vkCmdDrawMeshTasksNV + VkCommandBuffer commandBuffer + uint32_t taskCount + uint32_t firstTask + + + void vkCmdDrawMeshTasksIndirectNV + VkCommandBuffer commandBuffer + VkBuffer buffer + VkDeviceSize offset + uint32_t drawCount + uint32_t stride + + + void vkCmdDrawMeshTasksIndirectCountNV + VkCommandBuffer commandBuffer + VkBuffer buffer + VkDeviceSize offset + VkBuffer countBuffer + VkDeviceSize countBufferOffset + uint32_t maxDrawCount + uint32_t stride + + + VkResult vkCompileDeferredNVX + VkDevice device + VkPipeline pipeline + uint32_t shader + + + VkResult vkCreateAccelerationStructureNVX + VkDevice device + const VkAccelerationStructureCreateInfoNVX* pCreateInfo + const VkAllocationCallbacks* pAllocator + VkAccelerationStructureNVX* pAccelerationStructure + + + void vkDestroyAccelerationStructureNVX + VkDevice device + VkAccelerationStructureNVX accelerationStructure + const VkAllocationCallbacks* pAllocator + + + void vkGetAccelerationStructureMemoryRequirementsNVX + VkDevice device + const VkAccelerationStructureMemoryRequirementsInfoNVX* pInfo + VkMemoryRequirements2KHR* pMemoryRequirements + + + void vkGetAccelerationStructureScratchMemoryRequirementsNVX + VkDevice device + const VkAccelerationStructureMemoryRequirementsInfoNVX* pInfo + VkMemoryRequirements2KHR* pMemoryRequirements + + + VkResult vkBindAccelerationStructureMemoryNVX + VkDevice device + uint32_t bindInfoCount + const VkBindAccelerationStructureMemoryInfoNVX* pBindInfos + + + void vkCmdCopyAccelerationStructureNVX + VkCommandBuffer commandBuffer + VkAccelerationStructureNVX dst + VkAccelerationStructureNVX src + VkCopyAccelerationStructureModeNVX mode + + + void vkCmdWriteAccelerationStructurePropertiesNVX + VkCommandBuffer commandBuffer + VkAccelerationStructureNVX accelerationStructure + VkQueryType queryType + VkQueryPool queryPool + uint32_t query + + + void vkCmdBuildAccelerationStructureNVX + VkCommandBuffer commandBuffer + VkAccelerationStructureTypeNVX type + uint32_t instanceCount + VkBuffer instanceData + VkDeviceSize instanceOffset + uint32_t geometryCount + const VkGeometryNVX* pGeometries + VkBuildAccelerationStructureFlagsNVX flags + VkBool32 update + VkAccelerationStructureNVX dst + VkAccelerationStructureNVX src + VkBuffer scratch + VkDeviceSize scratchOffset + + + void vkCmdTraceRaysNVX + VkCommandBuffer commandBuffer + VkBuffer raygenShaderBindingTableBuffer + VkDeviceSize raygenShaderBindingOffset + VkBuffer missShaderBindingTableBuffer + VkDeviceSize missShaderBindingOffset + VkDeviceSize missShaderBindingStride + VkBuffer hitShaderBindingTableBuffer + VkDeviceSize hitShaderBindingOffset + VkDeviceSize hitShaderBindingStride + uint32_t width + uint32_t height + + + VkResult vkGetRaytracingShaderHandlesNVX + VkDevice device + VkPipeline pipeline + uint32_t firstGroup + uint32_t groupCount + size_t dataSize + void* pData + + + VkResult vkGetAccelerationStructureHandleNVX + VkDevice device + VkAccelerationStructureNVX accelerationStructure + size_t dataSize + void* pData + + + VkResult vkCreateRaytracingPipelinesNVX + VkDevice device + VkPipelineCache pipelineCache + uint32_t createInfoCount + const VkRaytracingPipelineCreateInfoNVX* pCreateInfos + const VkAllocationCallbacks* pAllocator + VkPipeline* pPipelines + + + VkResult vkGetImageDrmFormatModifierPropertiesEXT + VkDevice device + VkImage image + VkImageDrmFormatModifierPropertiesEXT* pProperties + @@ -6625,6 +7116,7 @@ server. + @@ -7320,11 +7812,13 @@ server. - + - - - + + + + + @@ -8699,10 +9193,38 @@ server. - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8760,36 +9282,108 @@ server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8895,10 +9489,12 @@ server. - + - - + + + + @@ -9000,10 +9596,16 @@ server. - + - - + + + + + + + + @@ -9031,38 +9633,58 @@ server. - + - - + + + + - + - - - - - - + + + + + + + + + + + + + + - + - - + + + + - + - - + + + + - + - - + + + + + + + + @@ -9162,5 +9784,108 @@ server. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3