Lines Matching refs:subpass

1876 …                        spirv_inst_iter entrypoint, RENDER_PASS_NODE const *rp, uint32_t subpass) {  in validate_fs_outputs_against_render_pass()  argument
1877 const std::vector<VkFormat> &color_formats = rp->subpassColorFormats[subpass]; in validate_fs_outputs_against_render_pass()
2800 pCreateInfo->subpass) && in validate_pipeline_shaders()
3076 pPipeline->graphicsPipelineCI.subpass >= rp_data->second->pCreateInfo->subpassCount) { in verifyPipelineCreateState()
3080 … pPipeline->graphicsPipelineCI.subpass, rp_data->second->pCreateInfo->subpassCount - 1); in verifyPipelineCreateState()
6995 if (pInfo->subpass >= rp_data->second->pCreateInfo->subpassCount) { in vkBeginCommandBuffer()
7001 … (void *)commandBuffer, pInfo->subpass, rp_data->second->pCreateInfo->subpassCount); in vkBeginCommandBuffer()
9011 VkBool32 CheckDependencyExists(const layer_data *my_data, const int subpass, const std::vector<uint… in CheckDependencyExists() argument
9016 if (subpass == dependent_subpasses[k]) in CheckDependencyExists()
9018 const DAGNode &node = subpass_to_node[subpass]; in CheckDependencyExists()
9025 if (FindDependency(subpass, dependent_subpasses[k], subpass_to_node, processed_nodes) || in CheckDependencyExists()
9026 FindDependency(dependent_subpasses[k], subpass, subpass_to_node, processed_nodes)) { in CheckDependencyExists()
9031 subpass, dependent_subpasses[k]); in CheckDependencyExists()
9035 … "A dependency between subpasses %d and %d must exist but one is not specified.", subpass, in CheckDependencyExists()
9048 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[index]; in CheckPreserved() local
9049 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in CheckPreserved()
9050 if (attachment == subpass.pColorAttachments[j].attachment) in CheckPreserved()
9053 …if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMEN… in CheckPreserved()
9054 if (attachment == subpass.pDepthStencilAttachment->attachment) in CheckPreserved()
9064 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[index]; in CheckPreserved() local
9066 for (uint32_t j = 0; j < subpass.preserveAttachmentCount; ++j) { in CheckPreserved()
9067 if (subpass.pPreserveAttachments[j] == attachment) { in CheckPreserved()
9155 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; in ValidateDependencies() local
9156 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in ValidateDependencies()
9157 uint32_t attachment = subpass.pInputAttachments[j].attachment; in ValidateDependencies()
9163 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in ValidateDependencies()
9164 uint32_t attachment = subpass.pColorAttachments[j].attachment; in ValidateDependencies()
9170 …if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMEN… in ValidateDependencies()
9171 uint32_t attachment = subpass.pDepthStencilAttachment->attachment; in ValidateDependencies()
9180 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; in ValidateDependencies() local
9182 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in ValidateDependencies()
9183 const uint32_t &attachment = subpass.pInputAttachments[j].attachment; in ValidateDependencies()
9187 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in ValidateDependencies()
9188 const uint32_t &attachment = subpass.pColorAttachments[j].attachment; in ValidateDependencies()
9192 …if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMEN… in ValidateDependencies()
9193 const uint32_t &attachment = subpass.pDepthStencilAttachment->attachment; in ValidateDependencies()
9201 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; in ValidateDependencies() local
9202 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in ValidateDependencies()
9203 …CheckPreserved(my_data, pCreateInfo, i, subpass.pInputAttachments[j].attachment, subpass_to_node, … in ValidateDependencies()
9213 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; in ValidateLayouts() local
9214 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in ValidateLayouts()
9215 … if (subpass.pInputAttachments[j].layout != VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL && in ValidateLayouts()
9216 subpass.pInputAttachments[j].layout != VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL) { in ValidateLayouts()
9217 if (subpass.pInputAttachments[j].layout == VK_IMAGE_LAYOUT_GENERAL) { in ValidateLayouts()
9226 string_VkImageLayout(subpass.pInputAttachments[j].layout)); in ValidateLayouts()
9230 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in ValidateLayouts()
9231 if (subpass.pColorAttachments[j].layout != VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL) { in ValidateLayouts()
9232 if (subpass.pColorAttachments[j].layout == VK_IMAGE_LAYOUT_GENERAL) { in ValidateLayouts()
9241 string_VkImageLayout(subpass.pColorAttachments[j].layout)); in ValidateLayouts()
9245 …if ((subpass.pDepthStencilAttachment != NULL) && (subpass.pDepthStencilAttachment->attachment != V… in ValidateLayouts()
9246 … if (subpass.pDepthStencilAttachment->layout != VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL) { in ValidateLayouts()
9247 if (subpass.pDepthStencilAttachment->layout == VK_IMAGE_LAYOUT_GENERAL) { in ValidateLayouts()
9257 string_VkImageLayout(subpass.pDepthStencilAttachment->layout)); in ValidateLayouts()
9351 VkSubpassDescription *subpass = (VkSubpassDescription *)&localRPCI->pSubpasses[i]; in vkCreateRenderPass() local
9352 const uint32_t attachmentCount = subpass->inputAttachmentCount + in vkCreateRenderPass()
9353subpass->colorAttachmentCount * (1 + (subpass->pResolveAttachments ? 1 : 0)) + in vkCreateRenderPass()
9354 … ((subpass->pDepthStencilAttachment) ? 1 : 0) + subpass->preserveAttachmentCount; in vkCreateRenderPass()
9357 …memcpy(attachments, subpass->pInputAttachments, sizeof(attachments[0]) * subpass->inputAttachmentC… in vkCreateRenderPass()
9358 subpass->pInputAttachments = attachments; in vkCreateRenderPass()
9359 attachments += subpass->inputAttachmentCount; in vkCreateRenderPass()
9361 …memcpy(attachments, subpass->pColorAttachments, sizeof(attachments[0]) * subpass->colorAttachmentC… in vkCreateRenderPass()
9362 subpass->pColorAttachments = attachments; in vkCreateRenderPass()
9363 attachments += subpass->colorAttachmentCount; in vkCreateRenderPass()
9365 if (subpass->pResolveAttachments) { in vkCreateRenderPass()
9366 …memcpy(attachments, subpass->pResolveAttachments, sizeof(attachments[0]) * subpass->colorAttachmen… in vkCreateRenderPass()
9367 subpass->pResolveAttachments = attachments; in vkCreateRenderPass()
9368 attachments += subpass->colorAttachmentCount; in vkCreateRenderPass()
9371 if (subpass->pDepthStencilAttachment) { in vkCreateRenderPass()
9372 … memcpy(attachments, subpass->pDepthStencilAttachment, sizeof(attachments[0]) * 1); in vkCreateRenderPass()
9373 subpass->pDepthStencilAttachment = attachments; in vkCreateRenderPass()
9377 …memcpy(attachments, subpass->pPreserveAttachments, sizeof(attachments[0]) * subpass->preserveAttac… in vkCreateRenderPass()
9378 subpass->pPreserveAttachments = &attachments->attachment; in vkCreateRenderPass()
9404 const VkSubpassDescription &subpass = pCreateInfo->pSubpasses[i]; in vkCreateRenderPass() local
9405 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in vkCreateRenderPass()
9406 uint32_t attachment = subpass.pInputAttachments[j].attachment; in vkCreateRenderPass()
9410 … attachment_first_layout.insert(std::make_pair(attachment, subpass.pInputAttachments[j].layout)); in vkCreateRenderPass()
9412 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in vkCreateRenderPass()
9413 uint32_t attachment = subpass.pColorAttachments[j].attachment; in vkCreateRenderPass()
9417 … attachment_first_layout.insert(std::make_pair(attachment, subpass.pColorAttachments[j].layout)); in vkCreateRenderPass()
9419 …if (subpass.pDepthStencilAttachment && subpass.pDepthStencilAttachment->attachment != VK_ATTACHMEN… in vkCreateRenderPass()
9420 uint32_t attachment = subpass.pDepthStencilAttachment->attachment; in vkCreateRenderPass()
9424 …attachment_first_layout.insert(std::make_pair(attachment, subpass.pDepthStencilAttachment->layout)… in vkCreateRenderPass()
9519 const VkSubpassDescription &subpass = pRenderPassInfo->pSubpasses[subpass_index]; in TransitionSubpassLayouts() local
9520 for (uint32_t j = 0; j < subpass.inputAttachmentCount; ++j) { in TransitionSubpassLayouts()
9521 …const VkImageView &image_view = framebufferInfo.pAttachments[subpass.pInputAttachments[j].attachme… in TransitionSubpassLayouts()
9522 SetLayout(dev_data, pCB, image_view, subpass.pInputAttachments[j].layout); in TransitionSubpassLayouts()
9524 for (uint32_t j = 0; j < subpass.colorAttachmentCount; ++j) { in TransitionSubpassLayouts()
9525 …const VkImageView &image_view = framebufferInfo.pAttachments[subpass.pColorAttachments[j].attachme… in TransitionSubpassLayouts()
9526 SetLayout(dev_data, pCB, image_view, subpass.pColorAttachments[j].layout); in TransitionSubpassLayouts()
9528 …if ((subpass.pDepthStencilAttachment != NULL) && (subpass.pDepthStencilAttachment->attachment != V… in TransitionSubpassLayouts()
9529 …const VkImageView &image_view = framebufferInfo.pAttachments[subpass.pDepthStencilAttachment->atta… in TransitionSubpassLayouts()
9530 SetLayout(dev_data, pCB, image_view, subpass.pDepthStencilAttachment->layout); in TransitionSubpassLayouts()
9783 … VkCommandBuffer secondaryBuffer, VkRenderPass secondaryPass, const int subpass, bool is_multi) { in validateSubpassCompatibility() argument
9787 … const VkSubpassDescription &primary_desc = primary_data->second->pCreateInfo->pSubpasses[subpass]; in validateSubpassCompatibility()
9788 …st VkSubpassDescription &secondary_desc = secondary_data->second->pCreateInfo->pSubpasses[subpass]; in validateSubpassCompatibility()