Merge pull request #756 from krOoze/selfdependency_barrier_vu

Merge self-dependency barrier VUs referring to the same subpass dependency
This commit is contained in:
Jon Leech 2018-10-06 03:31:42 -07:00 committed by GitHub
commit c75ae4fb18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 14 deletions

View File

@ -3541,8 +3541,7 @@ framebuffer-space>> pipeline stages is
feature is not enabled, pname:dstStageMask must: not contain
ename:VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT or
ename:VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT
* [[VUID-vkCmdPipelineBarrier-pDependencies-02024]]
If fname:vkCmdPipelineBarrier is called within a render pass instance,
* If fname:vkCmdPipelineBarrier is called within a render pass instance,
the render pass must: have been created with at least one
sname:VkSubpassDependency instance in
sname:VkRenderPassCreateInfo::pname:pDependencies that expresses a
@ -3550,18 +3549,14 @@ framebuffer-space>> pipeline stages is
pname:srcStageMask contains a subset of the bit values in
sname:VkSubpassDependency::pname:srcStageMask, pname:dstStageMask
contains a subset of the bit values in
sname:VkSubpassDependency::pname:dstStageMask, and pname:dependencyFlags
is equal to sname:VkSubpassDependency::pname:dependencyFlags.
* [[VUID-vkCmdPipelineBarrier-pMemoryBarriers-02026]]
If fname:vkCmdPipelineBarrier is called within a render pass instance,
for each element of pname:pMemoryBarriers and
pname:pImageMemoryBarriers, the render pass must: have been defined with
a sname:VkSubpassDependency self-dependency for the current subpass with
valid pname:srcStageMask, pname:dstStageMask, and pname:dependencyFlags
values such that stext:Vk*Barrier::pname:srcAccessMask contains a subset
of the bit values in sname:VkSubpassDependency::pname:srcAccessMask and
stext:Vk*Barrier::pname:dstAccessMask contains a subset of the bit
values in sname:VkSubpassDependency::pname:dstAccessMask.
sname:VkSubpassDependency::pname:dstStageMask, pname:dependencyFlags is
equal to sname:VkSubpassDependency::pname:dependencyFlags,
pname:srcAccessMask member of each each element of pname:pMemoryBarriers
and pname:pImageMemoryBarriers contains a subset of the bit values in
sname:VkSubpassDependency::pname:srcAccessMask, and
pname:dstAccessMask member of each element of pname:pMemoryBarriers and
pname:pImageMemoryBarriers contains a subset of the bit values in
sname:VkSubpassDependency::pname:dstAccessMask
* [[VUID-vkCmdPipelineBarrier-bufferMemoryBarrierCount-01178]]
If fname:vkCmdPipelineBarrier is called within a render pass instance,
pname:bufferMemoryBarrierCount must: be `0`