Skip to content

Commit

Permalink
Add/correct a couple of optional attributes (#2252)
Browse files Browse the repository at this point in the history
* Add missing optional attribute to pFaultCount

To bring it in line with other dual-use count parameters

* Correct optional attribute on VkLatencySurfaceCapabilitiesNV::presentModeCount

This brings it in line with other counter members, such as the one in VkSurfacePresentModeCompatibilityEXT

* remove extraneous space after attribute name
  • Loading branch information
expipiplus1 authored Oct 19, 2023
1 parent bb67834 commit f3f8a5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xml/vk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8776,7 +8776,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
<type category="struct" name="VkLatencySurfaceCapabilitiesNV" structextends="VkSurfaceCapabilities2KHR">
<member values="VK_STRUCTURE_TYPE_LATENCY_SURFACE_CAPABILITIES_NV"><type>VkStructureType</type> <name>sType</name></member>
<member optional="true">const <type>void</type>* <name>pNext</name></member>
<member optional="false,true"><type>uint32_t</type> <name>presentModeCount</name></member>
<member optional="true"><type>uint32_t</type> <name>presentModeCount</name></member>
<member optional="true" len="presentModeCount"><type>VkPresentModeKHR</type>* <name>pPresentModes</name></member>
</type>
</types>
Expand Down Expand Up @@ -13748,7 +13748,7 @@ typedef void* <name>MTLSharedEvent_id</name>;
<param><type>VkDevice</type> <name>device</name></param>
<param><type>VkFaultQueryBehavior</type> <name>faultQueryBehavior</name></param>
<param><type>VkBool32</type>* <name>pUnrecordedFaults</name></param>
<param><type>uint32_t</type>* <name>pFaultCount</name></param>
<param optional="false,true"><type>uint32_t</type>* <name>pFaultCount</name></param>
<param optional="true" len="pFaultCount"><type>VkFaultData</type>* <name>pFaults</name></param>
</command>
<command successcodes="VK_SUCCESS,VK_INCOMPLETE" errorcodes="VK_ERROR_OUT_OF_HOST_MEMORY">
Expand Down Expand Up @@ -22683,8 +22683,8 @@ typedef void* <name>MTLSharedEvent_id</name>;
<command name="vkCmdBindIndexBuffer2KHR"/>
<command name="vkGetRenderingAreaGranularityKHR"/>
<type name="VkRenderingAreaInfoKHR"/>
<command name ="vkGetDeviceImageSubresourceLayoutKHR"/>
<command name ="vkGetImageSubresourceLayout2KHR"/>
<command name="vkGetDeviceImageSubresourceLayoutKHR"/>
<command name="vkGetImageSubresourceLayout2KHR"/>
<type name="VkDeviceImageSubresourceInfoKHR"/>
<type name="VkImageSubresource2KHR"/>
<type name="VkSubresourceLayout2KHR"/>
Expand Down

0 comments on commit f3f8a5d

Please sign in to comment.