Lines Matching refs:subpass_deps
192 std::array<VkSubpassDependency, 2> subpass_deps; in create_render_pass() local
193 subpass_deps[0].srcSubpass = VK_SUBPASS_EXTERNAL; in create_render_pass()
194 subpass_deps[0].dstSubpass = 0; in create_render_pass()
195 subpass_deps[0].srcStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; in create_render_pass()
196 subpass_deps[0].dstStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; in create_render_pass()
197 subpass_deps[0].srcAccessMask = VK_ACCESS_MEMORY_READ_BIT; in create_render_pass()
198 subpass_deps[0].dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | in create_render_pass()
200 subpass_deps[0].dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT; in create_render_pass()
202 subpass_deps[1].srcSubpass = 0; in create_render_pass()
203 subpass_deps[1].dstSubpass = VK_SUBPASS_EXTERNAL; in create_render_pass()
204 subpass_deps[1].srcStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; in create_render_pass()
205 subpass_deps[1].dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; in create_render_pass()
206 subpass_deps[1].srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | in create_render_pass()
208 subpass_deps[1].dstAccessMask = VK_ACCESS_MEMORY_READ_BIT; in create_render_pass()
209 subpass_deps[1].dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT; in create_render_pass()
217 render_pass_info.dependencyCount = (uint32_t)subpass_deps.size(); in create_render_pass()
218 render_pass_info.pDependencies = subpass_deps.data(); in create_render_pass()