From 3d18d2d947451e1b8c54aa31d1e26b140470c93e Mon Sep 17 00:00:00 2001 From: Petr Kraus Date: Sat, 14 Oct 2017 02:29:57 +0200 Subject: [PATCH] Make dynamic state array len VU implicit - make implicit for `vkCmdSetViewport` - make implicit for `vkCmdSetViewportWScalingNV` - removed redundant explicit duplicate for `vkCmdSetDiscardRectangleEXT` --- .../chapters/VK_NV_clip_space_w_scaling/vertexpostproc.txt | 3 --- doc/specs/vulkan/chapters/vertexpostproc.txt | 3 --- src/spec/vk.xml | 4 ++-- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/doc/specs/vulkan/chapters/VK_NV_clip_space_w_scaling/vertexpostproc.txt b/doc/specs/vulkan/chapters/VK_NV_clip_space_w_scaling/vertexpostproc.txt index a17e11cd..d102b916 100644 --- a/doc/specs/vulkan/chapters/VK_NV_clip_space_w_scaling/vertexpostproc.txt +++ b/doc/specs/vulkan/chapters/VK_NV_clip_space_w_scaling/vertexpostproc.txt @@ -75,9 +75,6 @@ pname:viewportCount)#. * [[VUID-vkCmdSetViewportWScalingNV-firstViewport-01324]] The sum of pname:firstViewport and pname:viewportCount must: be between `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[] diff --git a/doc/specs/vulkan/chapters/vertexpostproc.txt b/doc/specs/vulkan/chapters/vertexpostproc.txt index 6cc6a744..43d66060 100644 --- a/doc/specs/vulkan/chapters/vertexpostproc.txt +++ b/doc/specs/vulkan/chapters/vertexpostproc.txt @@ -614,9 +614,6 @@ replace the current state for the viewport index [eq]#pname:firstViewport * [[VUID-vkCmdSetViewport-viewportCount-01225]] If the <> feature is 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[] diff --git a/src/spec/vk.xml b/src/spec/vk.xml index c0869973..8d436983 100644 --- a/src/spec/vk.xml +++ b/src/spec/vk.xml @@ -4320,7 +4320,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkCommandBuffer commandBuffer uint32_t firstViewport uint32_t viewportCount - const VkViewport* pViewports + const VkViewport* pViewports void vkCmdSetScissor @@ -5327,7 +5327,7 @@ private version is maintained in the 1.0 branch of the member gitlab server. VkCommandBuffer commandBuffer uint32_t firstViewport uint32_t viewportCount - const VkViewportWScalingNV* pViewportWScalings + const VkViewportWScalingNV* pViewportWScalings void vkCmdSetDiscardRectangleEXT