Skip to content

Commit

Permalink
Merge equivalent require blocks
Browse files Browse the repository at this point in the history
Addresses #2404
Merges extension require blocks that have identical children,
extending the depends attribute with a logical or.
  • Loading branch information
Waffl3x committed Aug 14, 2024
1 parent e090b10 commit 24f7cc0
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions xml/vk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18125,11 +18125,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
<command name="vkCmdPushDescriptorSetKHR"/>
<type name="VkPhysicalDevicePushDescriptorPropertiesKHR"/>
</require>
<require depends="VK_VERSION_1_1">
<command name="vkCmdPushDescriptorSetWithTemplateKHR"/>
<enum value="1" extends="VkDescriptorUpdateTemplateType" name="VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR" comment="Create descriptor update template for pushed descriptor updates"/>
</require>
<require depends="VK_KHR_descriptor_update_template">
<require depends="VK_VERSION_1_1,VK_KHR_descriptor_update_template">
<command name="vkCmdPushDescriptorSetWithTemplateKHR"/>
<enum value="1" extends="VkDescriptorUpdateTemplateType" name="VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR" comment="Create descriptor update template for pushed descriptor updates"/>
</require>
Expand Down Expand Up @@ -20515,10 +20511,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
<enum offset="1" extends="VkStructureType" name="VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT"/>
<type name="VkSurfaceFullScreenExclusiveWin32InfoEXT"/>
</require>
<require depends="VK_KHR_device_group">
<command name="vkGetDeviceGroupSurfacePresentModes2EXT"/>
</require>
<require depends="VK_VERSION_1_1">
<require depends="VK_KHR_device_group,VK_VERSION_1_1">
<command name="vkGetDeviceGroupSurfacePresentModes2EXT"/>
</require>
</extension>
Expand Down

0 comments on commit 24f7cc0

Please sign in to comment.