Lines Matching refs:Attachment

515 class Attachment
518 Attachment (VkFormat format,
573 RenderPass (const vector<Attachment>& attachments,
582 const vector<Attachment>& getAttachments (void) const { return m_attachments; }
587 const vector<Attachment> m_attachments;
664 const vector<Attachment>& attachments = renderPass.getAttachments();
668 const tcu::ScopedLogSection attachmentSection (log, "Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attachmentNdx));
669 const Attachment& attachment = attachments[attachmentNdx];
708 log << TestLog::Message << "Attachment: " << inputAttachment.getAttachment() << TestLog::EndMessage;
718 log << TestLog::Message << "Attachment: " << depthStencilAttachment.getAttachment() << TestLog::EndMessage;
731 log << TestLog::Message << "Attachment: " << colorAttachment.getAttachment() << TestLog::EndMessage;
745 log << TestLog::Message << "Attachment: " << resolveAttachment.getAttachment() << TestLog::EndMessage;
759 log << TestLog::Message << "Attachment: " << preserveAttachment.getAttachment() << TestLog::EndMessage;
878 VkClearColorValue randomColorClearValue (const Attachment& attachment, de::Random& rng)
940 VkAttachmentDescription createAttachmentDescription (const Attachment& attachment)
1153 VkClearValue randomClearValue (const Attachment& attachment, de::Random& rng)
1191 const Attachment& attachmentInfo,
1468 const Attachment& getColorAttachment (deUint32 attachmentNdx) const { return m_colorAttachmentInfo[attachmentNdx]; }
1471 const Maybe<Attachment>& getDepthStencilAttachment (void) const { return m_depthStencilAttachmentInfo; }
1486 vector<Attachment> m_colorAttachmentInfo;
1489 Maybe<Attachment> m_depthStencilAttachmentInfo;
1513 const Attachment& attachment = renderInfo.getColorAttachment(attachmentNdx);
1538 const Attachment& attachment = *renderInfo.getDepthStencilAttachment();
1866 const vector<Attachment>& attachmentInfo,
2063 const vector<Attachment>& attachmentInfo,
2293 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
2332 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
2359 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
2431 const Attachment attachment = renderPassInfo.getAttachments()[subpass.getColorAttachments()[attachmentRefNdx].getAttachment()];
2490 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
3254 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
3291 log << TestLog::Image("Attachment" + de::toString(attachmentNdx) + "Depth", "Attachment " + de::toString(attachmentNdx) + " Depth", depthAccess);
3292 log << TestLog::Image("Attachment" + de::toString(attachmentNdx) + "Stencil", "Attachment " + de::toString(attachmentNdx) + " Stencil", stencilAccess);
3294 log << TestLog::Image("AttachmentReference" + de::toString(attachmentNdx), "Attachment reference " + de::toString(attachmentNdx), referenceAttachments[attachmentNdx].getAccess());
3299 log << TestLog::Image("AttachmentError" + de::toString(attachmentNdx), "Attachment Error " + de::toString(attachmentNdx), errorImage.getAccess());
3323 log << TestLog::Image("Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attachmentNdx), access);
3324 log << TestLog::Image("AttachmentReference" + de::toString(attachmentNdx), "Attachment reference " + de::toString(attachmentNdx), referenceAttachments[attachmentNdx].getAccess());
3329 log << TestLog::Image("AttachmentError" + de::toString(attachmentNdx), "Attachment Error " + de::toString(attachmentNdx), errorImage.getAccess());
3426 void initializeAttachmentIsLazy (vector<bool>& attachmentIsLazy, const vector<Attachment>& attachments, TestConfig::ImageMemory imageMemory)
3544 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentNdx];
3589 void initializeImageClearValues (de::Random& rng, vector<Maybe<VkClearValue> >& clearValues, const vector<Attachment>& attachments, const vector<bool>& isLazy)
3600 void initializeRenderPassClearValues (de::Random& rng, vector<Maybe<VkClearValue> >& clearValues, const vector<Attachment>& attachments)
3628 const Attachment& attachment = renderPass.getAttachments()[attachmentRef.getAttachment()];
3694 const tcu::ScopedLogSection section (log, "Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attachmentNdx));
3703 log << TestLog::Message << "Attachment is cleared to " << clearValueToString(renderPass.getAttachments()[attachmentNdx].getFormat(), *renderPassClearValues[attachmentNdx]) << " in the beginning of the render pass." << TestLog::EndMessage;
3742 const Attachment& attachment = renderPass.getAttachments()[attachmentRef.getAttachment()];
3753 const Attachment& attachment = renderPass.getAttachments()[subpass.getDepthStencilAttachment().getAttachment()];
3778 const vector<Attachment>& attachments)
3784 const Attachment& attachment = attachments[attachmentNdx];
3866 const Attachment& attachmentInfo = renderPassInfo.getAttachments()[attachmentNdx];
4061 de::MovePtr<tcu::TestCaseGroup> group (new tcu::TestCaseGroup(testCtx, "attachment", "Attachment format and count tests with load and store ops and image layouts"));
4073 vector<Attachment> attachments;
4090 attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStoreOp, initialLayout, finalizeLayout));
4108 attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStoreOp, initialLayout, finalizeLayout));
4233 de::MovePtr<tcu::TestCaseGroup> group (new tcu::TestCaseGroup(testCtx, "attachment_allocation", "Attachment allocation tests"));
4245 vector<Attachment> attachments;
4261 attachments.push_back(Attachment(format, sampleCount, loadOp, storeOp, stencilLoadOp, stencilStoreOp, initialLayout, finalizeLayout));
4398 const RenderPass renderPass (vector<Attachment>(1, Attachment(VK_FORMAT_R8G8B8A8_UNORM,
4420 const RenderPass renderPass (vector<Attachment>(1, Attachment(VK_FORMAT_X8_D24_UNORM_PACK32,
4442 const RenderPass renderPass (vector<Attachment>(1, Attachment(VK_FORMAT_S8_UINT,
4464 const RenderPass renderPass (vector<Attachment>(1, Attachment(VK_FORMAT_D24_UNORM_S8_UINT,
4486 const Attachment attachments[] =
4488 Attachment(VK_FORMAT_R8G8B8A8_UNORM,
4496 Attachment(VK_FORMAT_X8_D24_UNORM_PACK32,
4506 const RenderPass renderPass (vector<Attachment>(DE_ARRAY_BEGIN(attachments), DE_ARRAY_END(attachments)),
4521 const Attachment attachments[] =
4523 Attachment(VK_FORMAT_R8G8B8A8_UNORM,
4531 Attachment(VK_FORMAT_S8_UINT,
4541 const RenderPass renderPass (vector<Attachment>(DE_ARRAY_BEGIN(attachments), DE_ARRAY_END(attachments)),
4557 const Attachment attachments[] =
4559 Attachment(VK_FORMAT_R8G8B8A8_UNORM,
4567 Attachment(VK_FORMAT_D24_UNORM_S8_UINT,
4577 const RenderPass renderPass (vector<Attachment>(DE_ARRAY_BEGIN(attachments), DE_ARRAY_END(attachments)),
4646 const RenderPass renderPass (vector<Attachment>(1, Attachment(format,
4688 const RenderPass renderPass (vector<Attachment>(1, Attachment(vkFormat,