summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEllie Hermaszewska <git@monoid.al>2023-10-19 15:09:50 +0800
committerGitHub <noreply@github.com>2023-10-19 00:09:50 -0700
commitf3f8a5da40fcaf05f979917393522b107ebef92c (patch)
tree3e05ce1014d0c200aaf1c4b45fd4d897b3ba8fc0
parentbb6783481f96d778772ea9607e2991c27e2bbe96 (diff)
downloadgfxstream-protocols-f3f8a5da40fcaf05f979917393522b107ebef92c.tar.gz
Add/correct a couple of optional attributes (#2252)
* 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
-rw-r--r--xml/vk.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/xml/vk.xml b/xml/vk.xml
index b3a939bc..1b5630e7 100644
--- a/xml/vk.xml
+++ b/xml/vk.xml
@@ -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>
@@ -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">
@@ -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"/>