Merge pull request #589 from krOoze/make_dyn_state_implicit_len

Make dynamic state array len VU implicit
This commit is contained in:
Jon Leech 2017-12-20 16:08:24 -08:00 committed by GitHub
commit 3cf31ce093
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View File

@ -75,9 +75,6 @@ pname:viewportCount)#.
* [[VUID-vkCmdSetViewportWScalingNV-firstViewport-01324]] * [[VUID-vkCmdSetViewportWScalingNV-firstViewport-01324]]
The sum of pname:firstViewport and pname:viewportCount must: be between The sum of pname:firstViewport and pname:viewportCount must: be between
`1` and slink:VkPhysicalDeviceLimits::pname:maxViewports, inclusive `1` and slink:VkPhysicalDeviceLimits::pname:maxViewports, inclusive
* [[VUID-vkCmdSetViewportWScalingNV-pViewportScalings-01325]]
pname:pViewportScalings must: be a pointer to an array of
pname:viewportCount valid sname:VkViewportWScalingNV structures
**** ****
include::../../validity/protos/vkCmdSetViewportWScalingNV.txt[] include::../../validity/protos/vkCmdSetViewportWScalingNV.txt[]

View File

@ -614,9 +614,6 @@ replace the current state for the viewport index [eq]#pname:firstViewport
* [[VUID-vkCmdSetViewport-viewportCount-01225]] * [[VUID-vkCmdSetViewport-viewportCount-01225]]
If the <<features-features-multiViewport,multiple viewports>> feature is If the <<features-features-multiViewport,multiple viewports>> feature is
not enabled, pname:viewportCount must: be `1` not enabled, pname:viewportCount must: be `1`
* [[VUID-vkCmdSetViewport-pViewports-01226]]
pname:pViewports must: be a valid pointer to an array of
pname:viewportCount valid sname:VkViewport structures
**** ****
include::../validity/protos/vkCmdSetViewport.txt[] include::../validity/protos/vkCmdSetViewport.txt[]

View File

@ -4320,7 +4320,7 @@ private version is maintained in the 1.0 branch of the member gitlab server.
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param> <param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<param><type>uint32_t</type> <name>firstViewport</name></param> <param><type>uint32_t</type> <name>firstViewport</name></param>
<param><type>uint32_t</type> <name>viewportCount</name></param> <param><type>uint32_t</type> <name>viewportCount</name></param>
<param len="viewportCount" noautovalidity="true">const <type>VkViewport</type>* <name>pViewports</name></param> <param len="viewportCount">const <type>VkViewport</type>* <name>pViewports</name></param>
</command> </command>
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary"> <command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
<proto><type>void</type> <name>vkCmdSetScissor</name></proto> <proto><type>void</type> <name>vkCmdSetScissor</name></proto>
@ -5327,7 +5327,7 @@ private version is maintained in the 1.0 branch of the member gitlab server.
<param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param> <param externsync="true"><type>VkCommandBuffer</type> <name>commandBuffer</name></param>
<param><type>uint32_t</type> <name>firstViewport</name></param> <param><type>uint32_t</type> <name>firstViewport</name></param>
<param><type>uint32_t</type> <name>viewportCount</name></param> <param><type>uint32_t</type> <name>viewportCount</name></param>
<param len="viewportCount" noautovalidity="true">const <type>VkViewportWScalingNV</type>* <name>pViewportWScalings</name></param> <param len="viewportCount">const <type>VkViewportWScalingNV</type>* <name>pViewportWScalings</name></param>
</command> </command>
<command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary"> <command queues="graphics" renderpass="both" cmdbufferlevel="primary,secondary">
<proto><type>void</type> <name>vkCmdSetDiscardRectangleEXT</name></proto> <proto><type>void</type> <name>vkCmdSetDiscardRectangleEXT</name></proto>