Lines Matching refs:AttachmentRef
635 template <typename AttachmentRef>
636 AttachmentRef createAttachmentReference (const AttachmentReference& referenceInfo)
638 const AttachmentRef reference // VkAttachmentReference || VkAttachmentReference2
650 template <typename SubpassDesc, typename AttachmentRef>
652 std::vector<AttachmentRef>* attachmentReferenceLists,
655 std::vector<AttachmentRef>& inputAttachmentReferences = attachmentReferenceLists[0];
656 std::vector<AttachmentRef>& colorAttachmentReferences = attachmentReferenceLists[1];
657 std::vector<AttachmentRef>& resolveAttachmentReferences = attachmentReferenceLists[2];
658 std::vector<AttachmentRef>& depthStencilAttachmentReferences = attachmentReferenceLists[3];
661 colorAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getColorAttachments()[attachmentNdx]));
664 inputAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getInputAttachments()[attachmentNdx]));
667 resolveAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getResolveAttachments()[attachmentNdx]));
669 depthStencilAttachmentReferences.push_back(createAttachmentReference<AttachmentRef>(subpass.getDepthStencilAttachment()));
765 template<typename AttachmentDesc, typename AttachmentRef, typename SubpassDesc, typename SubpassDep, typename RenderPassCreateInfo>
776 std::vector<std::vector<AttachmentRef> > attachmentReferenceLists(renderPassInfo.getSubpasses().size() * perSubpassAttachmentReferenceLists);