From 5c3af4b3389500f4873696fc88cb0891cd181afa Mon Sep 17 00:00:00 2001 From: Petr Kraus Date: Thu, 12 Jul 2018 19:29:35 +0200 Subject: [PATCH] Fix ifdef inside VU entry in VkSubpassDependency --- chapters/renderpass.txt | 20 +++----------------- chapters/synchronization.txt | 5 +++-- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/chapters/renderpass.txt b/chapters/renderpass.txt index c9231233..91a71c55 100644 --- a/chapters/renderpass.txt +++ b/chapters/renderpass.txt @@ -1099,23 +1099,9 @@ layouts as follows: ename:VK_SUBPASS_EXTERNAL * [[VUID-VkSubpassDependency-srcSubpass-00866]] If pname:srcSubpass is equal to pname:dstSubpass, pname:srcStageMask and - pname:dstStageMask must: only contain one of - ename:VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, -ifdef::VK_EXT_conditional_rendering[] - ename:VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, -endif::VK_EXT_conditional_rendering[] - ename:VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT, - ename:VK_PIPELINE_STAGE_VERTEX_INPUT_BIT, - ename:VK_PIPELINE_STAGE_VERTEX_SHADER_BIT, - ename:VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, - ename:VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, - ename:VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT, - ename:VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, - ename:VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT, - ename:VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT, - ename:VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT, - ename:VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT, or - ename:VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT + pname:dstStageMask must: only contain + ename:VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT, or one of the + <> * [[VUID-VkSubpassDependency-srcSubpass-00867]] If pname:srcSubpass is equal to pname:dstSubpass and not all of the stages in pname:srcStageMask and pname:dstStageMask are diff --git a/chapters/synchronization.txt b/chapters/synchronization.txt index 64de9700..d0b91f76 100644 --- a/chapters/synchronization.txt +++ b/chapters/synchronization.txt @@ -549,8 +549,9 @@ guaranteed: * ename:VK_PIPELINE_STAGE_HOST_BIT ifdef::VK_EXT_conditional_rendering[] -For conditional rendering operations, the pipeline stage where predicate -read happens has no particular order relative to other stages. +The conditional rendering stage is formally part of both the graphics, and +the compute pipeline. The pipeline stage where the predicate read happens +has unspecified order relative to other stages of these pipelines: * ename:VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT endif::VK_EXT_conditional_rendering[]