Lines Matching refs:getAttachments

737 	const vector<Attachment>&							getAttachments	(void) const { return m_attachments;	}
851 const vector<Attachment>& attachments = renderPass.getAttachments();
1277 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
1278 attachments.push_back(createAttachmentDescription<AttachmentDesc>(renderPassInfo.getAttachments()[attachmentNdx]));
1737 m_colorAttachmentInfo.push_back(renderPass.getAttachments()[getAttachmentNdx(m_colorAttachments, attachmentNdx)]);
1742 m_depthStencilAttachmentInfo = tcu::just(renderPass.getAttachments()[renderPass.getSubpasses()[subpassIndex].getDepthStencilAttachment().getAttachment()]);
2160 const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex];
2171 const Attachment& resolveAttachmentInfo = renderPassInfo.getAttachments()[resolveAttachmentIndex];
2215 const Attachment& dsAttachmentInfo = renderPassInfo.getAttachments()[dsAttachmentIndex];
2298 const vector<Attachment>& attachmentInfos = renderPassInfo.getAttachments();
2974 const Attachment& colorAttachmentInfo = renderPassInfo.getAttachments()[colorAttachmentIndex];
3036 const Attachment& dsAttachmentInfo = renderPassInfo.getAttachments()[dsAttachmentIndex];
3569 vector<bool> attachmentUsed (renderPassInfo.getAttachments().size(), false);
3571 referenceAttachments.resize(renderPassInfo.getAttachments().size());
3573 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
3575 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
3598 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3622 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3652 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3669 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3708 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3733 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3773 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3784 const Attachment& attachment (renderPassInfo.getAttachments()[subpass.getDepthStencilAttachment().getAttachment()]);
3800 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3824 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3893 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3912 for (size_t attachmentIndex = 0; attachmentIndex < renderPassInfo.getAttachments().size(); attachmentIndex++)
3914 const Attachment attachment = renderPassInfo.getAttachments()[attachmentIndex];
3920 if (attachmentUsed[attachmentIndex] && renderPassInfo.getAttachments()[attachmentIndex].getStoreOp() == VK_ATTACHMENT_STORE_OP_DONT_CARE)
3928 if (attachmentUsed[attachmentIndex] && isStencilAttachment && renderPassInfo.getAttachments()[attachmentIndex].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_DONT_CARE)
3941 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
3943 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
4237 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
4242 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx];
4264 if (renderPassInfo.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE
4270 if (renderPassInfo.getAttachments()[attachmentNdx].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_STORE
4315 if ((renderPassInfo.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInfo.getAttachments()[attachmentNdx].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_STORE)
4323 if ((renderPassInfo.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInfo.getAttachments()[attachmentNdx].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_STORE)
4331 if ((renderPassInfo.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInfo.getAttachments()[attachmentNdx].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_STORE)
4462 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4493 const std::string attachmentType = getAttachmentType(config.renderPass.getAttachments()[getAttachmentNdx(subpass.getColorAttachments(), attachmentNdx)].getFormat(), config.useFormatCompCount);
4512 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4558 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4573 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4609 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4646 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4647 const std::string attachmentType = getAttachmentType(config.renderPass.getAttachments()[attachmentIndex].getFormat(), config.useFormatCompCount);
4828 attachmentImageUsage.resize(renderPassInfo.getAttachments().size(), VkImageUsageFlags(0));
4840 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
4842 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentNdx];
4967 DE_ASSERT(attachmentIsLazy.size() == renderPass.getAttachments().size());
4968 DE_ASSERT(imageClearValues.size() == renderPass.getAttachments().size());
4969 DE_ASSERT(renderPassClearValues.size() == renderPass.getAttachments().size());
4982 log << TestLog::Message << "Image is cleared to " << clearValueToString(renderPass.getAttachments()[attachmentNdx].getFormat(),
4985 if (renderPass.getAttachments()[attachmentNdx].getLoadOp() == VK_ATTACHMENT_LOAD_OP_CLEAR && renderPassClearValues[attachmentNdx])
4986 log << TestLog::Message << "Attachment is cleared to " << clearValueToString(renderPass.getAttachments()[attachmentNdx].getFormat(),
5036 const Attachment& attachment = renderPass.getAttachments()[attachmentRef.getAttachment()];
5047 const Attachment& attachment = renderPass.getAttachments()[subpass.getDepthStencilAttachment().getAttachment()];
5122 for (const auto& att : renderPassInfo.getAttachments())
5153 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
5155 if (renderPassInfo.getAttachments()[attachmentNdx].getInitialLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL
5156 || renderPassInfo.getAttachments()[attachmentNdx].getInitialLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL
5157 || renderPassInfo.getAttachments()[attachmentNdx].getFinalLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL
5158 || renderPassInfo.getAttachments()[attachmentNdx].getFinalLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL)
5211 initializeAttachmentIsLazy(attachmentIsLazy, renderPassInfo.getAttachments(), config.imageMemory);
5212 initializeImageClearValues(rng, imageClearValues, renderPassInfo.getAttachments(), attachmentIsLazy, config.useFormatCompCount, config.depthValues);
5214 initializeRenderPassClearValues(rng, renderPassClearValues, renderPassInfo.getAttachments(), config.useFormatCompCount, config.depthValues);
5221 checkTextureFormatSupport(log, context.getInstanceInterface(), context.getPhysicalDevice(), config.renderPass.getAttachments());
5259 for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentNdx++)
5261 const Attachment& attachmentInfo = renderPassInfo.getAttachments()[attachmentNdx];
5271 pushImageInitializationCommands(vk, *initializeImagesCommandBuffer, renderPassInfo.getAttachments(), attachmentResources, queueIndex, imageClearValues);
5303 pushReadImagesToBuffers(vk, *readImagesToBuffersCommandBuffer, queueIndex, attachmentResources, renderPassInfo.getAttachments(), attachmentIsLazy, targetSize);