Update for Vulkan-Docs 1.3.239
This commit is contained in:
@@ -945,6 +945,8 @@ class Registry:
|
||||
if alias is None:
|
||||
name = elem.get('name')
|
||||
typeinfo = self.lookupElementInfo(name, dict)
|
||||
if not typeinfo:
|
||||
self.gen.logMsg('error', name, 'is not a known name')
|
||||
alias = typeinfo.elem.get('alias')
|
||||
|
||||
return alias
|
||||
|
||||
42
registry/stripAPI.py
Executable file
42
registry/stripAPI.py
Executable file
@@ -0,0 +1,42 @@
|
||||
#!/usr/bin/python3
|
||||
#
|
||||
# Copyright 2023 The Khronos Group Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import argparse
|
||||
import xml.etree.ElementTree as etree
|
||||
from reg import stripNonmatchingAPIs
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser(prog='stripAPI',
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
description='''\
|
||||
Filters out elements with non-matching explicit 'api' attributes from API XML.
|
||||
To remove Vulkan SC-only elements from the combined API XML:
|
||||
python3 scripts/stripAPI.py -input xml/vk.xml -output vulkan-only.xml -keepAPI vulkan
|
||||
To remove Vulkan-only elements:
|
||||
python3 scripts/stripAPI.py -input xml/vk.xml -output vulkansc-only.xml -keepAPI vulkansc
|
||||
If you are parsing the XML yourself but using the xml.etree package, the
|
||||
equivalent runtime code is:
|
||||
import reg
|
||||
reg.stripNonmatchingAPIs(tree.getroot(), keepAPI, actuallyDelete=True)
|
||||
where 'tree' is an ElementTree created from the XML file using
|
||||
etree.parse(filename)''')
|
||||
|
||||
parser.add_argument('-input', action='store',
|
||||
required=True,
|
||||
help='Specify input registry XML')
|
||||
parser.add_argument('-output', action='store',
|
||||
required=True,
|
||||
help='Specify output registry XML')
|
||||
parser.add_argument('-keepAPI', action='store',
|
||||
default=None,
|
||||
help='Specify API name whose \'api\' tags are kept')
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
tree = etree.parse(args.input)
|
||||
if args.keepAPI is not None:
|
||||
stripNonmatchingAPIs(tree.getroot(), args.keepAPI, actuallyDelete = True)
|
||||
tree.write(args.output)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -159,7 +159,7 @@ branch of the member gitlab server.
|
||||
<type category="define" requires="VK_MAKE_API_VERSION">// Vulkan 1.3 version number
|
||||
#define <name>VK_API_VERSION_1_3</name> <type>VK_MAKE_API_VERSION</type>(0, 1, 3, 0)// Patch version should always be set to 0</type>
|
||||
<type category="define">// Version of this file
|
||||
#define <name>VK_HEADER_VERSION</name> 238</type>
|
||||
#define <name>VK_HEADER_VERSION</name> 239</type>
|
||||
<type category="define" requires="VK_HEADER_VERSION">// Complete version of this file
|
||||
#define <name>VK_HEADER_VERSION_COMPLETE</name> <type>VK_MAKE_API_VERSION</type>(0, 1, 3, VK_HEADER_VERSION)</type>
|
||||
|
||||
@@ -5062,6 +5062,13 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member limittype="max,pot"><type>uint32_t</type> <name>maxSubpassShadingWorkgroupSizeAspectRatio</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI" structextends="VkPhysicalDeviceProperties2" returnedonly="true">
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member limittype="max,pot"><type>uint32_t</type> <name>maxWorkGroupCount</name>[3]</member>
|
||||
<member limittype="max,pot"><type>uint32_t</type> <name>maxWorkGroupSize</name>[3]</member>
|
||||
<member limittype="max"><type>uint32_t</type> <name>maxOutputClusterCount</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkMemoryOpaqueCaptureAddressAllocateInfo" structextends="VkMemoryAllocateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
@@ -5666,6 +5673,12 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<member optional="true"><type>void</type>* <name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>subpassShading</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI" structextends="VkPhysicalDeviceFeatures2,VkDeviceCreateInfo">
|
||||
<member values="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true"><type>void</type>*<name>pNext</name></member>
|
||||
<member><type>VkBool32</type> <name>clustercullingShader</name></member>
|
||||
<member><type>VkBool32</type> <name>multiviewClusterCullingShader</name></member>
|
||||
</type>
|
||||
<type category="struct" name="VkBufferCopy2">
|
||||
<member values="VK_STRUCTURE_TYPE_BUFFER_COPY_2"><type>VkStructureType</type> <name>sType</name></member>
|
||||
<member optional="true">const <type>void</type>* <name>pNext</name></member>
|
||||
@@ -8942,6 +8955,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<enum value="22" name="VK_DRIVER_ID_MESA_VENUS" comment="Mesa open source project"/>
|
||||
<enum value="23" name="VK_DRIVER_ID_MESA_DOZEN" comment="Mesa open source project"/>
|
||||
<enum value="24" name="VK_DRIVER_ID_MESA_NVK" comment="Mesa open source project"/>
|
||||
<enum value="25" name="VK_DRIVER_ID_IMAGINATION_OPEN_SOURCE_MESA" comment="Imagination Technologies"/>
|
||||
</enums>
|
||||
<enums name="VkConditionalRenderingFlagBitsEXT" type="bitmask">
|
||||
<enum bitpos="0" name="VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT"/>
|
||||
@@ -10540,6 +10554,19 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<proto><type>void</type> <name>vkCmdSubpassShadingHUAWEI</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="inside" cmdbufferlevel="primary,secondary" tasks="action">
|
||||
<proto><type>void</type> <name>vkCmdDrawClusterHUAWEI</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>uint32_t</type> <name>groupCountX</name></param>
|
||||
<param><type>uint32_t</type> <name>groupCountY</name></param>
|
||||
<param><type>uint32_t</type> <name>groupCountZ</name></param>
|
||||
</command>
|
||||
<command queues="graphics" renderpass="inside" cmdbufferlevel="primary,secondary" tasks="action">
|
||||
<proto><type>void</type> <name>vkCmdDrawClusterIndirectHUAWEI</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
<param><type>VkBuffer</type> <name>buffer</name></param>
|
||||
<param><type>VkDeviceSize</type> <name>offset</name></param>
|
||||
</command>
|
||||
<command queues="transfer,graphics,compute" renderpass="outside" cmdbufferlevel="primary,secondary" tasks="action">
|
||||
<proto><type>void</type> <name>vkCmdCopyBuffer</name></proto>
|
||||
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
|
||||
@@ -16185,6 +16212,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<require>
|
||||
<enum value="0" name="VK_NV_EXTENSION_104_SPEC_VERSION"/>
|
||||
<enum value=""VK_NV_extension_104"" name="VK_NV_EXTENSION_104_EXTENSION_NAME"/>
|
||||
<enum bitpos="0" extends="VkPrivateDataSlotCreateFlagBits" name="VK_PRIVATE_DATA_SLOT_CREATE_RESERVED_0_BIT_NV"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_EXT_swapchain_colorspace" number="105" type="instance" author="GOOGLE" contact="Courtney Goeltzenleuchter @courtney-g" requires="VK_KHR_surface" supported="vulkan">
|
||||
@@ -20079,12 +20107,19 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<enum value=""VK_FB_extension_404"" name="VK_FB_EXTENSION_404_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_HUAWEI_extension_405" number="405" author="HUAWEI" contact="Hueilong Wang @wyvernathuawei" supported="disabled">
|
||||
<extension name="VK_HUAWEI_cluster_culling_shader" number="405" type="device" requires="VK_KHR_get_physical_device_properties2" author="HUAWEI" contact="Yuchang Wang @richard_Wang2" supported="vulkan">
|
||||
<require>
|
||||
<enum value="0" name="VK_HUAWEI_EXTENSION_405_SPEC_VERSION"/>
|
||||
<enum value=""VK_HUAWEI_extension_405"" name="VK_HUAWEI_EXTENSION_405_EXTENSION_NAME"/>
|
||||
<enum bitpos="41" extends="VkPipelineStageFlagBits2" name="VK_PIPELINE_STAGE_2_RESEVED_41_BIT_HUAWEI"/>
|
||||
<enum bitpos="19" extends="VkShaderStageFlagBits" name="VK_SHADER_STAGE_RESERVED_19_BIT_HUAWEI"/>
|
||||
<enum value="1" name="VK_HUAWEI_CLUSTER_CULLING_SHADER_SPEC_VERSION"/>
|
||||
<enum value=""VK_HUAWEI_cluster_culling_shader"" name="VK_HUAWEI_CLUSTER_CULLING_SHADER_EXTENSION_NAME"/>
|
||||
<enum offset="0" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_FEATURES_HUAWEI"/>
|
||||
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CLUSTER_CULLING_SHADER_PROPERTIES_HUAWEI"/>
|
||||
<enum bitpos="41" extends="VkPipelineStageFlagBits2" name="VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI"/>
|
||||
<enum bitpos="19" extends="VkShaderStageFlagBits" name="VK_SHADER_STAGE_CLUSTER_CULLING_BIT_HUAWEI"/>
|
||||
<enum bitpos="13" extends="VkQueryPipelineStatisticFlagBits" name="VK_QUERY_PIPELINE_STATISTIC_CLUSTER_CULLING_SHADER_INVOCATIONS_BIT_HUAWEI"/>
|
||||
<command name="vkCmdDrawClusterHUAWEI"/>
|
||||
<command name="vkCmdDrawClusterIndirectHUAWEI"/>
|
||||
<type name="VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI"/>
|
||||
<type name="VkPhysicalDeviceClusterCullingShaderPropertiesHUAWEI"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_HUAWEI_extension_406" number="406" author="HUAWEI" contact="Hueilong Wang @wyvernathuawei" supported="disabled">
|
||||
@@ -20971,6 +21006,36 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<enum value=""VK_NV_extension_506"" name="VK_NV_EXTENSION_506_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_KHR_extension_507" number="507" author="KHR" contact="Kevin Petit @kevinpetit" type="device" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_KHR_EXTENSION_507_SPEC_VERSION"/>
|
||||
<enum value=""VK_KHR_extension_507"" name="VK_KHR_EXTENSION_507_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_EXT_extension_508" number="508" author="EXT" contact="Kevin Petit @kevinpetit" type="device" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_EXT_EXTENSION_508_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_extension_508"" name="VK_EXT_EXTENSION_508_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_EXT_extension_509" number="509" author="EXT" contact="Kevin Petit @kevinpetit" type="device" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_EXT_EXTENSION_509_SPEC_VERSION"/>
|
||||
<enum value=""VK_EXT_extension_509"" name="VK_EXT_EXTENSION_509_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_MESA_extension_510" number="510" author="MESA" contact="Dave Airlie @airlied" type="device" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_MESA_EXTENSION_510_SPEC_VERSION"/>
|
||||
<enum value=""VK_MESA_extension_510"" name="VK_MESA_EXTENSION_510_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="VK_QCOM_extension_511" number="511" author="QCOM" contact="Jeff Leger @jackohound" type="device" supported="disabled">
|
||||
<require>
|
||||
<enum value="0" name="VK_QCOM_EXTENSION_511_SPEC_VERSION"/>
|
||||
<enum value=""VK_QCOM_extension_511"" name="VK_QCOM_EXTENSION_511_EXTENSION_NAME"/>
|
||||
</require>
|
||||
</extension>
|
||||
</extensions>
|
||||
<formats>
|
||||
<format name="VK_FORMAT_R4G4_UNORM_PACK8" class="8-bit" blockSize="1" texelsPerBlock="1" packed="8">
|
||||
@@ -23028,5 +23093,8 @@ typedef void* <name>MTLSharedEvent_id</name>;
|
||||
<spirvcapability name="ShaderInvocationReorderNV">
|
||||
<enable extension="VK_NV_ray_tracing_invocation_reorder"/>
|
||||
</spirvcapability>
|
||||
<spirvcapability name="ClusterCullingShadingHUAWEI">
|
||||
<enable struct="VkPhysicalDeviceClusterCullingShaderFeaturesHUAWEI" feature="clustercullingShader" requires="VK_HUAWEI_cluster_culling_shader"/>
|
||||
</spirvcapability>
|
||||
</spirvcapabilities>
|
||||
</registry>
|
||||
|
||||
Reference in New Issue
Block a user