Merge pull request #586 from krOoze/remove_vkCmdSetDiscardRectangleEXT_redundant_vu

Remove redundant vkCmdSetDiscardRectangleEXT VUs + tweaks
This commit is contained in:
Jon Leech 2017-12-19 01:12:29 -08:00 committed by GitHub
commit 31837ad244
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,26 +125,22 @@ pname:discardRectangleCount)#.
* [[VUID-vkCmdSetDiscardRectangleEXT-None-00583]] * [[VUID-vkCmdSetDiscardRectangleEXT-None-00583]]
The currently bound graphics pipeline must: have been created with the The currently bound graphics pipeline must: have been created with the
ename:VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT dynamic state enabled ename:VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT dynamic state enabled
* [[VUID-vkCmdSetDiscardRectangleEXT-firstDiscardRectangle-00584]]
pname:firstDiscardRectangle must: be less than
slink:VkPhysicalDeviceDiscardRectanglePropertiesEXT::pname:maxDiscardRectangles
* [[VUID-vkCmdSetDiscardRectangleEXT-firstDiscardRectangle-00585]] * [[VUID-vkCmdSetDiscardRectangleEXT-firstDiscardRectangle-00585]]
The sum of pname:firstDiscardRectangle and pname:discardRectangleCount The sum of pname:firstDiscardRectangle and pname:discardRectangleCount
must: be between `1` and must: be less than or equal to
sname:VkPhysicalDeviceDiscardRectanglePropertiesEXT::pname:maxDiscardRectangles, slink:VkPhysicalDeviceDiscardRectanglePropertiesEXT::pname:maxDiscardRectangles
inclusive
* [[VUID-vkCmdSetDiscardRectangleEXT-pDiscardRectangles-00586]]
pname:pDiscardRectangles must: be a valid pointer to an array of
pname:discardRectangleCount valid sname:VkRect2D structures
* [[VUID-vkCmdSetDiscardRectangleEXT-x-00587]] * [[VUID-vkCmdSetDiscardRectangleEXT-x-00587]]
The pname:x and pname:y members of pname:offset in sname:VkRect2D must: The pname:x and pname:y member of pname:offset in each slink:VkRect2D
be greater than or equal to `0` element of pname:pDiscardRectangles must: be greater than or equal to
`0`
* [[VUID-vkCmdSetDiscardRectangleEXT-offset-00588]] * [[VUID-vkCmdSetDiscardRectangleEXT-offset-00588]]
Evaluation of [eq]#(pname:offset.x {plus} pname:extent.width)# in Evaluation of [eq]#(pname:offset.x {plus} pname:extent.width)# in
sname:VkRect2D must: not cause a signed integer addition overflow each slink:VkRect2D element of pname:pDiscardRectangles must: not cause
a signed integer addition overflow
* [[VUID-vkCmdSetDiscardRectangleEXT-offset-00589]] * [[VUID-vkCmdSetDiscardRectangleEXT-offset-00589]]
Evaluation of [eq]#(pname:offset.y {plus} pname:extent.height)# in Evaluation of [eq]#(pname:offset.y {plus} pname:extent.height)# in
sname:VkRect2D must: not cause a signed integer addition overflow each slink:VkRect2D element of pname:pDiscardRectangles must: not cause
a signed integer addition overflow
**** ****
include::../validity/protos/vkCmdSetDiscardRectangleEXT.txt[] include::../validity/protos/vkCmdSetDiscardRectangleEXT.txt[]