Lines Matching refs:attachmentNdx
832 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in logRenderPassInfo() local
834 …hmentSection (log, "Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attach… in logRenderPassInfo()
835 const Attachment& attachment = attachments[attachmentNdx]; in logRenderPassInfo()
1162 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getColorAttachments().size(); attachmentNdx… in createSubpassDescription() local
1163 ….push_back(createAttachmentReference<AttachmentRef>(subpass.getColorAttachments()[attachmentNdx])); in createSubpassDescription()
1165 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getInputAttachments().size(); attachmentNdx… in createSubpassDescription() local
1166 ….push_back(createAttachmentReference<AttachmentRef>(subpass.getInputAttachments()[attachmentNdx])); in createSubpassDescription()
1168 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getResolveAttachments().size(); attachmentN… in createSubpassDescription() local
1169 …ush_back(createAttachmentReference<AttachmentRef>(subpass.getResolveAttachments()[attachmentNdx])); in createSubpassDescription()
1173 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getPreserveAttachments().size(); attachment… in createSubpassDescription() local
1174 preserveAttachmentReferences->push_back(subpass.getPreserveAttachments()[attachmentNdx]); in createSubpassDescription()
1254 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in createRenderPass() local
1255 …_back(createAttachmentDescription<AttachmentDesc>(renderPassInfo.getAttachments()[attachmentNdx])); in createRenderPass()
1713 …for (deUint32 attachmentNdx = 0; attachmentNdx < (deUint32)m_colorAttachments.size(); attachmentNd… in SubpassRenderInfo() local
1714 …ntInfo.push_back(renderPass.getAttachments()[getAttachmentNdx(m_colorAttachments, attachmentNdx)]); in SubpassRenderInfo()
1736 …t32 getInputAttachmentIndex (deUint32 attachmentNdx) const { return m_inputAttachments[atta… in getInputAttachmentIndex()
1737 …yout getInputAttachmentLayout (deUint32 attachmentNdx) const { return m_inputAttachments[atta… in getInputAttachmentLayout()
1740 …yout getColorAttachmentLayout (deUint32 attachmentNdx) const { return m_colorAttachments[atta… in getColorAttachmentLayout()
1741 …t32 getColorAttachmentIndex (deUint32 attachmentNdx) const { return m_colorAttachments[atta… in getColorAttachmentIndex()
1742 …achment& getColorAttachment (deUint32 attachmentNdx) const { return m_colorAttachmentInfo[at… in getColorAttachment()
1848 …for (deUint32 attachmentNdx = 0; attachmentNdx < renderInfo.getColorAttachmentCount(); attachmentN… in createSubpassPipeline() local
1850 const Attachment& attachment = renderInfo.getColorAttachment(attachmentNdx); in createSubpassPipeline()
1866 (attachmentNdx < renderInfo.getDrawStartNdx() ? (deUint32)0 : in createSubpassPipeline()
2105 …const deUint32 attachmentNdx = (renderInfo.getColorAttachmentIndex(colorAttachmentNdx) == VK_ATTAC… in SubpassRenderer() local
2108 m_colorAttachmentImages.push_back(attachmentImages[attachmentNdx]); in SubpassRenderer()
2370 …for (deUint32 attachmentNdx = 0; attachmentNdx < m_renderInfo.getColorAttachmentCount(); attachmen… in pushRenderCommands() local
2372 const ColorClear& colorClear = colorClears[attachmentNdx]; in pushRenderCommands()
2376 attachmentNdx, in pushRenderCommands()
2396 const deUint32 attachmentNdx = m_renderInfo.getColorAttachmentCount(); in pushRenderCommands() local
2403 attachmentNdx, in pushRenderCommands()
2554 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushImageInitializationCommands() local
2556 if (!clearValues[attachmentNdx]) in pushImageInitializationCommands()
2573 attachmentResources[attachmentNdx]->getImage(), // image; in pushImageInitializationCommands()
2575 getImageAspectFlags(attachmentInfo[attachmentNdx].getFormat()), // aspect; in pushImageInitializationCommands()
2594 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushImageInitializationCommands() local
2596 if (!clearValues[attachmentNdx]) in pushImageInitializationCommands()
2599 const tcu::TextureFormat format = mapVkFormat(attachmentInfo[attachmentNdx].getFormat()); in pushImageInitializationCommands()
2604 …const float clearDepth = hasDepthComponent(format.order) ? clearValues[attachmentNdx]->depth… in pushImageInitializationCommands()
2605 …const deUint32 clearStencil = hasStencilComponent(format.order) ? clearValues[attachmentNdx]->… in pushImageInitializationCommands()
2621 …vk.cmdClearDepthStencilImage(commandBuffer, attachmentResources[attachmentNdx]->getImage(), VK_IMA… in pushImageInitializationCommands()
2633 const VkClearColorValue clearColor = clearValues[attachmentNdx]->color; in pushImageInitializationCommands()
2635 …vk.cmdClearColorImage(commandBuffer, attachmentResources[attachmentNdx]->getImage(), VK_IMAGE_LAYO… in pushImageInitializationCommands()
2642 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushImageInitializationCommands() local
2644 …const VkImageLayout oldLayout = clearValues[attachmentNdx] ? VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMA… in pushImageInitializationCommands()
2651 …getAllMemoryReadFlags() | getMemoryFlagsForLayout(attachmentInfo[attachmentNdx].getInitialLayout()… in pushImageInitializationCommands()
2654 attachmentInfo[attachmentNdx].getInitialLayout(), // newLayout; in pushImageInitializationCommands()
2659 attachmentResources[attachmentNdx]->getImage(), // image; in pushImageInitializationCommands()
2661 getImageAspectFlags(attachmentInfo[attachmentNdx].getFormat()), // aspect; in pushImageInitializationCommands()
2696 for (size_t attachmentNdx = 0; attachmentNdx < renderPassClearValues.size(); attachmentNdx++) in pushRenderPassCommands() local
2698 if (renderPassClearValues[attachmentNdx]) in pushRenderPassCommands()
2699 attachmentClearValues.push_back(*renderPassClearValues[attachmentNdx]); in pushRenderPassCommands()
3068 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushReadImagesToBuffers() local
3070 if (isLazy[attachmentNdx]) in pushReadImagesToBuffers()
3073 const VkImageLayout oldLayout = attachmentInfo[attachmentNdx].getFinalLayout(); in pushReadImagesToBuffers()
3088 attachmentResources[attachmentNdx]->getImage(), // image in pushReadImagesToBuffers()
3090 getImageAspectFlags(attachmentInfo[attachmentNdx].getFormat()), // aspect; in pushReadImagesToBuffers()
3111 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushReadImagesToBuffers() local
3113 if (isLazy[attachmentNdx]) in pushReadImagesToBuffers()
3116 …const tcu::TextureFormat::ChannelOrder order = mapVkFormat(attachmentInfo[attachmentNdx].getFormat… in pushReadImagesToBuffers()
3123 …(vk::VkImageAspectFlags)getPrimaryImageAspect(mapVkFormat(attachmentInfo[attachmentNdx].getFormat(… in pushReadImagesToBuffers()
3132 …uffer, attachmentResources[attachmentNdx]->getImage(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, attac… in pushReadImagesToBuffers()
3151 …uffer, attachmentResources[attachmentNdx]->getImage(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, attac… in pushReadImagesToBuffers()
3158 for (size_t attachmentNdx = 0; attachmentNdx < attachmentInfo.size(); attachmentNdx++) in pushReadImagesToBuffers() local
3160 if (isLazy[attachmentNdx]) in pushReadImagesToBuffers()
3163 …const tcu::TextureFormat::ChannelOrder order = mapVkFormat(attachmentInfo[attachmentNdx].getForm… in pushReadImagesToBuffers()
3175 attachmentResources[attachmentNdx]->getBuffer(), in pushReadImagesToBuffers()
3177 attachmentResources[attachmentNdx]->getBufferSize() in pushReadImagesToBuffers()
3195 attachmentResources[attachmentNdx]->getSecondaryBuffer(), in pushReadImagesToBuffers()
3197 attachmentResources[attachmentNdx]->getSecondaryBufferSize() in pushReadImagesToBuffers()
3445 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in renderReferenceValues() local
3447 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx]; in renderReferenceValues()
3449 vector<PixelValue>& reference = referenceAttachments[attachmentNdx]; in renderReferenceValues()
3453 if (imageClearValues[attachmentNdx]) in renderReferenceValues()
3454 …0), targetSize, BVec4(true), clearValueToPixelValue(*imageClearValues[attachmentNdx], format, dept… in renderReferenceValues()
3464 for (size_t attachmentNdx = 0; attachmentNdx < colorAttachments.size(); attachmentNdx++) in renderReferenceValues() local
3466 const deUint32 attachmentIndex = getAttachmentNdx(colorAttachments, attachmentNdx); in renderReferenceValues()
3468 …if (!attachmentUsed[attachmentIndex] && colorAttachments[attachmentNdx].getAttachment() != VK_ATTA… in renderReferenceValues()
3813 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in renderReferenceImagesFromValues() local
3815 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx]; in renderReferenceImagesFromValues()
3817 const vector<PixelValue>& reference = referenceValues[attachmentNdx]; in renderReferenceImagesFromValues()
3821 tcu::TextureLevel& referenceImage = referenceImages[attachmentNdx]; in renderReferenceImagesFromValues()
4109 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in logAndVerifyImages() local
4111 if (!attachmentIsLazy[attachmentNdx]) in logAndVerifyImages()
4114 const Attachment attachment = renderPassInfo.getAttachments()[attachmentNdx]; in logAndVerifyImages()
4120 void* const depthPtr = attachmentResources[attachmentNdx]->getResultMemory().getHostPtr(); in logAndVerifyImages()
4123 …void* const stencilPtr = attachmentResources[attachmentNdx]->getSecondaryResultMemory().getH… in logAndVerifyImages()
4125 invalidateAlloc(vk, device, attachmentResources[attachmentNdx]->getResultMemory()); in logAndVerifyImages()
4126 invalidateAlloc(vk, device, attachmentResources[attachmentNdx]->getSecondaryResultMemory()); in logAndVerifyImages()
4136 if (renderPassInfo.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE in logAndVerifyImages()
4137 …&& !verifyDepthAttachment(referenceValues[attachmentNdx], depthAccess, depthErrorImage.getAccess()… in logAndVerifyImages()
4142 …if (renderPassInfo.getAttachments()[attachmentNdx].getStencilStoreOp() == VK_ATTACHMENT_STORE_OP_S… in logAndVerifyImages()
4143 …&& !verifyStencilAttachment(referenceValues[attachmentNdx], stencilAccess, stencilErrorImage.getAc… in logAndVerifyImages()
4150 const auto attachmentNdxStr = de::toString(attachmentNdx); in logAndVerifyImages()
4159 …ntNdxStr, "Reference images " + attachmentNdxStr, referenceAttachments[attachmentNdx].getAccess()); in logAndVerifyImages()
4175 void* const ptr = attachmentResources[attachmentNdx]->getResultMemory().getHostPtr(); in logAndVerifyImages()
4177 invalidateAlloc(vk, device, attachmentResources[attachmentNdx]->getResultMemory()); in logAndVerifyImages()
4187 …Info.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInf… in logAndVerifyImages()
4188 …&& !verifyDepthAttachment(referenceValues[attachmentNdx], access, errorImage.getAccess(), config.d… in logAndVerifyImages()
4195 …Info.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInf… in logAndVerifyImages()
4196 && !verifyStencilAttachment(referenceValues[attachmentNdx], access, errorImage.getAccess())) in logAndVerifyImages()
4203 …Info.getAttachments()[attachmentNdx].getStoreOp() == VK_ATTACHMENT_STORE_OP_STORE || renderPassInf… in logAndVerifyImages()
4204 …&& !verifyColorAttachment(referenceValues[attachmentNdx], access, errorImage.getAccess(), config.u… in logAndVerifyImages()
4216 … << TestLog::Image("Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attach… in logAndVerifyImages()
4217 …ference" + de::toString(attachmentNdx), "Attachment reference " + de::toString(attachmentNdx), ref… in logAndVerifyImages()
4224 …const auto referenceForLog = renderColorImageForLog(referenceValues[attachmentNdx], targetSize, nu… in logAndVerifyImages()
4230 … << TestLog::Image("Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attach… in logAndVerifyImages()
4231 …mage("AttachmentReference" + de::toString(attachmentNdx), "Attachment reference " + de::toString(a… in logAndVerifyImages()
4233 …Log::Image("AttachmentError" + de::toString(attachmentNdx), "Attachment Error " + de::toString(att… in logAndVerifyImages()
4330 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getInputAttachments().siz… in createTestShaders() local
4332 … const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4333 const VkImageLayout layout = subpass.getInputAttachments()[attachmentNdx].getImageLayout(); in createTestShaders()
4344 …nt_index = " << attachmentNdx << ", set=0, binding=" << inputAttachmentBinding << ") uniform highp… in createTestShaders()
4350 …_index = " << attachmentNdx << ", set=0, binding=" << inputAttachmentBinding << ") uniform highp u… in createTestShaders()
4358 …ex = " << attachmentNdx << ", set=0, binding=" << inputAttachmentBinding << ") uniform highp " << … in createTestShaders()
4363 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getColorAttachments().siz… in createTestShaders() local
4365 …Pass.getAttachments()[getAttachmentNdx(subpass.getColorAttachments(), attachmentNdx)].getFormat(),… in createTestShaders()
4366 …ntShader << "layout(location = " << attachmentNdx << ") out highp " << attachmentType << " o_color… in createTestShaders()
4377 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getColorAttachments().siz… in createTestShaders() local
4379 … const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4389 …fragmentShader << "\to_color" << attachmentNdx << " = " << attachmentType << "(" << attachmentType… in createTestShaders()
4426 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getInputAttachments().siz… in createTestShaders() local
4428 … const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4429 const VkImageLayout layout = subpass.getInputAttachments()[attachmentNdx].getImageLayout(); in createTestShaders()
4442 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getColorAttachments().siz… in createTestShaders() local
4444 … const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4473 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getInputAttachments().siz… in createTestShaders() local
4479 … const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4480 … const VkImageLayout layout = subpass.getInputAttachments()[attachmentNdx].getImageLayout(); in createTestShaders()
4492 ".0f/255.0f, float(subpassLoad(i_depth" << attachmentNdx << ").x), " << in createTestShaders()
4499 …< "\tinputs[" << inputValueNdx << "] = 255u == subpassLoad(i_stencil" << attachmentNdx << ").x;\n"; in createTestShaders()
4507 …nputs[" << inputValueNdx << "] = 1.0 == float(subpassLoad(i_color" << attachmentNdx << ")." << com… in createTestShaders()
4515 …for (size_t attachmentNdx = config.drawStartNdx; attachmentNdx < subpass.getColorAttachments().siz… in createTestShaders() local
4517 … const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment(); in createTestShaders()
4538 fragmentShader << "\to_color" << attachmentNdx << " = " << attachmentType << "("; in createTestShaders()
4590 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in initializeAttachmentIsLazy() local
4592 if (attachments[attachmentNdx].getLoadOp() != VK_ATTACHMENT_LOAD_OP_LOAD in initializeAttachmentIsLazy()
4593 && attachments[attachmentNdx].getStoreOp() != VK_ATTACHMENT_STORE_OP_STORE in initializeAttachmentIsLazy()
4594 && attachments[attachmentNdx].getStencilLoadOp() != VK_ATTACHMENT_LOAD_OP_LOAD in initializeAttachmentIsLazy()
4595 && attachments[attachmentNdx].getStencilStoreOp() != VK_ATTACHMENT_STORE_OP_STORE) in initializeAttachmentIsLazy()
4712 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in initializeAttachmentImageUsage() local
4714 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentNdx]; in initializeAttachmentImageUsage()
4719 attachmentImageUsage[attachmentNdx] |= VK_IMAGE_USAGE_SAMPLED_BIT; in initializeAttachmentImageUsage()
4722 attachmentImageUsage[attachmentNdx] |= VK_IMAGE_USAGE_STORAGE_BIT; in initializeAttachmentImageUsage()
4724 attachmentImageUsage[attachmentNdx] |= getImageUsageFromLayout(attachment.getInitialLayout()); in initializeAttachmentImageUsage()
4725 attachmentImageUsage[attachmentNdx] |= getImageUsageFromLayout(attachment.getFinalLayout()); in initializeAttachmentImageUsage()
4727 if (!attachmentIsLazy[attachmentNdx]) in initializeAttachmentImageUsage()
4729 if (clearValues[attachmentNdx]) in initializeAttachmentImageUsage()
4730 attachmentImageUsage[attachmentNdx] |= VK_IMAGE_USAGE_TRANSFER_DST_BIT; in initializeAttachmentImageUsage()
4732 attachmentImageUsage[attachmentNdx] |= VK_IMAGE_USAGE_TRANSFER_SRC_BIT; in initializeAttachmentImageUsage()
4738 attachmentImageUsage[attachmentNdx] &= allowedTransientBits; in initializeAttachmentImageUsage()
4739 attachmentImageUsage[attachmentNdx] |= VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT; in initializeAttachmentImageUsage()
4767 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in initializeImageClearValues() local
4769 if (!isLazy[attachmentNdx]) in initializeImageClearValues()
4770 …clearValues.push_back(just(randomClearValue(attachments[attachmentNdx], rng, useFormatCompCount, d… in initializeImageClearValues()
4778 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in initializeRenderPassClearValues() local
4780 if (attachments[attachmentNdx].getLoadOp() == VK_ATTACHMENT_LOAD_OP_CLEAR in initializeRenderPassClearValues()
4781 || attachments[attachmentNdx].getStencilLoadOp() == VK_ATTACHMENT_LOAD_OP_CLEAR) in initializeRenderPassClearValues()
4783 …clearValues.push_back(just(randomClearValue(attachments[attachmentNdx], rng, useFormatCompCount, d… in initializeRenderPassClearValues()
4799 for (deUint32 attachmentNdx = 0; attachmentNdx < info.getColorClears().size(); attachmentNdx++) in logSubpassRenderInfo() local
4801 const ColorClear& colorClear = info.getColorClears()[attachmentNdx]; in logSubpassRenderInfo()
4803 log << TestLog::Message << "Clearing color attachment " << attachmentNdx in logSubpassRenderInfo()
4806 …<< ", Color: " << clearColorToString(info.getColorAttachment(attachmentNdx).getFormat(), colorClea… in logSubpassRenderInfo()
4846 for (size_t attachmentNdx = 0; attachmentNdx < attachmentIsLazy.size(); attachmentNdx++) in logTestCaseInfo() local
4848 …tion section (log, "Attachment" + de::toString(attachmentNdx), "Attachment " + de::toString(attach… in logTestCaseInfo()
4850 if (attachmentIsLazy[attachmentNdx]) in logTestCaseInfo()
4853 if (imageClearValues[attachmentNdx]) in logTestCaseInfo()
4854 …Image is cleared to " << clearValueToString(renderPass.getAttachments()[attachmentNdx].getFormat(), in logTestCaseInfo()
4855 …*imageClearValues[attachmentNdx], config.useFormatCompCount) << " before rendering." << TestLog::E… in logTestCaseInfo()
4857 …renderPass.getAttachments()[attachmentNdx].getLoadOp() == VK_ATTACHMENT_LOAD_OP_CLEAR && renderPas… in logTestCaseInfo()
4858 …hment is cleared to " << clearValueToString(renderPass.getAttachments()[attachmentNdx].getFormat(), in logTestCaseInfo()
4859 …*renderPassClearValues[attachmentNdx], config.useFormatCompCount) << " in the beginning of the ren… in logTestCaseInfo()
4954 for (size_t attachmentNdx = 0; attachmentNdx < attachments.size(); attachmentNdx++) in checkTextureFormatSupport() local
4956 const Attachment& attachment = attachments[attachmentNdx]; in checkTextureFormatSupport()
5014 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in renderPassTest() local
5016 …if (renderPassInfo.getAttachments()[attachmentNdx].getInitialLayout() == VK_IMAGE_LAYOUT_DEPTH_ATT… in renderPassTest()
5017 …|| renderPassInfo.getAttachments()[attachmentNdx].getInitialLayout() == VK_IMAGE_LAYOUT_DEPTH_READ… in renderPassTest()
5018 …|| renderPassInfo.getAttachments()[attachmentNdx].getFinalLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTACH… in renderPassTest()
5019 …|| renderPassInfo.getAttachments()[attachmentNdx].getFinalLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_O… in renderPassTest()
5030 …for (size_t attachmentNdx = 0; attachmentNdx < subpass.getColorAttachments().size(); attachmentNdx… in renderPassTest() local
5032 …if (subpass.getColorAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTACHM… in renderPassTest()
5033 …|| subpass.getColorAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_ONL… in renderPassTest()
5040 …for (size_t attachmentNdx = 0; !requireDepthStencilLayout && attachmentNdx < subpass.getInputAttac… in renderPassTest() local
5042 …if (subpass.getInputAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTACHM… in renderPassTest()
5043 …|| subpass.getInputAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_ONL… in renderPassTest()
5050 …for (size_t attachmentNdx = 0; !requireDepthStencilLayout && attachmentNdx < subpass.getResolveAtt… in renderPassTest() local
5052 …if (subpass.getResolveAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_ATTAC… in renderPassTest()
5053 …|| subpass.getResolveAttachments()[attachmentNdx].getImageLayout() == VK_IMAGE_LAYOUT_DEPTH_READ_O… in renderPassTest()
5120 …for (size_t attachmentNdx = 0; attachmentNdx < renderPassInfo.getAttachments().size(); attachmentN… in renderPassTest() local
5122 const Attachment& attachmentInfo = renderPassInfo.getAttachments()[attachmentNdx]; in renderPassTest()
5124 …locator, queueIndex, targetSize, attachmentInfo, attachmentImageUsage[attachmentNdx], config.alloc… in renderPassTest()
5125 attachmentViews.push_back(attachmentResources[attachmentNdx]->getAttachmentView()); in renderPassTest()
5126 attachmentImages.push_back(attachmentResources[attachmentNdx]->getImage()); in renderPassTest()
5128 inputAttachmentViews.push_back(attachmentResources[attachmentNdx]->getInputAttachmentViews()); in renderPassTest()
5360 for (size_t attachmentNdx = 0; attachmentNdx < attachmentCount; attachmentNdx++) in addAttachmentTests() local
5390 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentTests()
5490 for (deUint32 attachmentNdx = 0; attachmentNdx < attachmentCount; attachmentNdx++) in addAttachmentWriteMaskTests() local
5504 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentWriteMaskTests()
6022 for (size_t attachmentNdx = 0; attachmentNdx < attachmentCount; attachmentNdx++) in addAttachmentAllocationTests() local
6044 for (size_t attachmentNdx = 0; attachmentNdx < subpassNdx + 1; attachmentNdx++) in addAttachmentAllocationTests() local
6048 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentAllocationTests()
6065 … for (size_t attachmentNdx = 0; attachmentNdx < (attachmentCount - subpassNdx); attachmentNdx++) in addAttachmentAllocationTests() local
6069 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentAllocationTests()
6086 for (size_t attachmentNdx = 0; attachmentNdx < attachmentCount / 2; attachmentNdx++) in addAttachmentAllocationTests() local
6090 …hmentReferences.push_back(AttachmentReference((deUint32)(subpassNdx + attachmentNdx), subpassLayou… in addAttachmentAllocationTests()
6107 for (size_t attachmentNdx = 0; attachmentNdx < subpassNdx + 1; attachmentNdx++) in addAttachmentAllocationTests() local
6111 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentAllocationTests()
6125 … for (size_t attachmentNdx = 0; attachmentNdx < (attachmentCount - subpassNdx); attachmentNdx++) in addAttachmentAllocationTests() local
6129 … colorAttachmentReferences.push_back(AttachmentReference((deUint32)attachmentNdx, subpassLayout)); in addAttachmentAllocationTests()