Lines Matching refs:subpass
47 const auto& subpass = pCreateInfo->pSubpasses[i]; in RenderPass() local
54 if(subpass.inputAttachmentCount > 0) in RenderPass()
56 size_t inputAttachmentsSize = subpass.inputAttachmentCount * sizeof(VkAttachmentReference); in RenderPass()
63 if(subpass.colorAttachmentCount > 0) in RenderPass()
65 size_t colorAttachmentsSize = subpass.colorAttachmentCount * sizeof(VkAttachmentReference); in RenderPass()
71 if(subpass.pResolveAttachments != nullptr) in RenderPass()
80 if(subpass.pDepthStencilAttachment != nullptr) in RenderPass()
88 if(subpass.preserveAttachmentCount > 0) in RenderPass()
90 size_t preserveAttachmentSize = subpass.preserveAttachmentCount * sizeof(uint32_t); in RenderPass()
117 const auto& subpass = pCreateInfo->pSubpasses[i]; in ComputeRequiredAllocationSize() local
118 uint32_t nbAttachments = subpass.inputAttachmentCount + subpass.colorAttachmentCount; in ComputeRequiredAllocationSize()
119 if(subpass.pResolveAttachments != nullptr) in ComputeRequiredAllocationSize()
121 nbAttachments += subpass.colorAttachmentCount; in ComputeRequiredAllocationSize()
123 if(subpass.pDepthStencilAttachment != nullptr) in ComputeRequiredAllocationSize()
129 sizeof(uint32_t) * subpass.preserveAttachmentCount; in ComputeRequiredAllocationSize()