Lines Matching refs:attachmentIndex

3594 			const deUint32 attachmentIndex = getAttachmentNdx(colorAttachments, attachmentNdx);
3596 if (!attachmentUsed[attachmentIndex] && colorAttachments[attachmentNdx].getAttachment() != VK_ATTACHMENT_UNUSED)
3598 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3599 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3606 clearReferenceValues(reference, targetSize, renderPos, renderSize, BVec4(true), clearValueToPixelValue(*renderPassClearValues[attachmentIndex], format, depthValues));
3610 attachmentUsed[attachmentIndex] = true;
3617 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
3620 if (!attachmentUsed[attachmentIndex])
3622 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3623 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3629 clearReferenceValues(reference, targetSize, renderPos, renderSize, BVec4(true, false, false, false), clearValueToPixelValue(*renderPassClearValues[attachmentIndex], format, depthValues));
3637 clearReferenceValues(reference, targetSize, renderPos, renderSize, BVec4(false, true, false, false), clearValueToPixelValue(*renderPassClearValues[attachmentIndex], format, depthValues));
3642 attachmentUsed[attachmentIndex] = true;
3651 const deUint32 attachmentIndex = subpass.getColorAttachments()[colorClearNdx].getAttachment();
3652 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3654 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3667 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
3669 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3675 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3703 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentRefNdx].getAttachment();
3705 if (attachmentIndex == VK_ATTACHMENT_UNUSED)
3708 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3711 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3718 const size_t index = subpassNdx + attachmentIndex + compNdx;
3731 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
3733 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3735 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3772 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentRefNdx].getAttachment();
3773 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3798 const deUint32 attachmentIndex = subpass.getInputAttachments()[inputAttachmentNdx].getAttachment();
3800 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3809 inputs.push_back(referenceAttachments[attachmentIndex][x + y * targetSize.x()].getValue(compNdx));
3823 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentRefNdx].getAttachment();
3824 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3826 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3831 const size_t index = subpassNdx + attachmentIndex + outputValueNdx;
3860 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
3861 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3862 const size_t index = subpassNdx + attachmentIndex;
3892 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
3893 const Attachment& attachment = renderPassInfo.getAttachments()[attachmentIndex];
3895 vector<PixelValue>& reference = referenceAttachments[attachmentIndex];
3912 for (size_t attachmentIndex = 0; attachmentIndex < renderPassInfo.getAttachments().size(); attachmentIndex++)
3914 const Attachment attachment = renderPassInfo.getAttachments()[attachmentIndex];
3916 vector<PixelValue>& reference = referenceAttachments[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)
4460 const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment();
4462 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4507 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment();
4509 if (attachmentIndex == VK_ATTACHMENT_UNUSED)
4512 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4521 const size_t index = subpassNdx + attachmentIndex + compNdx;
4556 const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment();
4558 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4572 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment();
4573 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4607 const deUint32 attachmentIndex = subpass.getInputAttachments()[attachmentNdx].getAttachment();
4609 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4645 const deUint32 attachmentIndex = subpass.getColorAttachments()[attachmentNdx].getAttachment();
4646 const Attachment attachment = config.renderPass.getAttachments()[attachmentIndex];
4647 const std::string attachmentType = getAttachmentType(config.renderPass.getAttachments()[attachmentIndex].getFormat(), config.useFormatCompCount);
4653 const size_t index = subpassNdx + attachmentIndex + outputValueNdx;
4688 const deUint32 attachmentIndex = subpass.getDepthStencilAttachment().getAttachment();
4689 const size_t index = subpassNdx + attachmentIndex;
6079 for (deUint32 attachmentIndex = 0; attachmentIndex < attachmentCount; attachmentIndex++)
6106 definedAttachments.insert(attachmentIndex);
6108 depthStencilAttachments.insert(attachmentIndex);
6117 definedAttachments.insert(attachmentIndex);
6119 colorAttachments.insert(attachmentIndex);
6315 for (deUint32 attachmentIndex = 0; attachmentIndex < (deUint32)attachments.size(); attachmentIndex++)
6317 if (lastUseOfAttachment[attachmentIndex] && (*lastUseOfAttachment[attachmentIndex]) != subpassIndex)
6318 preserveAttachments.push_back(attachmentIndex);