Lines Matching refs:subpass_deps
187 std::array<VkSubpassDependency, 2> subpass_deps; in create_render_pass() local
188 subpass_deps[0].srcSubpass = VK_SUBPASS_EXTERNAL; in create_render_pass()
189 subpass_deps[0].dstSubpass = 0; in create_render_pass()
190 subpass_deps[0].srcStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; in create_render_pass()
191 subpass_deps[0].dstStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; in create_render_pass()
192 subpass_deps[0].srcAccessMask = VK_ACCESS_MEMORY_READ_BIT; in create_render_pass()
193 subpass_deps[0].dstAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | in create_render_pass()
195 subpass_deps[0].dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT; in create_render_pass()
197 subpass_deps[1].srcSubpass = 0; in create_render_pass()
198 subpass_deps[1].dstSubpass = VK_SUBPASS_EXTERNAL; in create_render_pass()
199 subpass_deps[1].srcStageMask = VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT; in create_render_pass()
200 subpass_deps[1].dstStageMask = VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT; in create_render_pass()
201 subpass_deps[1].srcAccessMask = VK_ACCESS_COLOR_ATTACHMENT_READ_BIT | in create_render_pass()
203 subpass_deps[1].dstAccessMask = VK_ACCESS_MEMORY_READ_BIT; in create_render_pass()
204 subpass_deps[1].dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT; in create_render_pass()
212 render_pass_info.dependencyCount = (uint32_t)subpass_deps.size(); in create_render_pass()
213 render_pass_info.pDependencies = subpass_deps.data(); in create_render_pass()