Lines Matching defs:attachmentNdxes

872 void initializeAttachments(const TestParams& params, WorkingData& wd, std::vector<VkImage>& images, std::vector<VkImageView>& attachments, const size_t passNdx, deInt32 attachmentNdxes[8])
882 attachmentNdxes[0] = currentNdx++;
888 attachmentNdxes[1] = currentNdx++;
894 attachmentNdxes[2] = currentNdx++;
900 attachmentNdxes[3] = currentNdx++;
908 attachmentNdxes[4] = currentNdx++;
914 attachmentNdxes[5] = currentNdx++;
920 attachmentNdxes[6] = currentNdx++;
926 attachmentNdxes[7] = currentNdx++;
931 const bool preCleared, const deInt32 attachmentNdxes[8], deUint32& attachmentUseMask)
940 if (attachmentNdxes[0] >= 0)
962 if (attachmentNdxes[1] >= 0)
984 if (attachmentNdxes[2] >= 0)
1006 if (attachmentNdxes[3] >= 0)
1031 if (attachmentNdxes[4] >= 0)
1046 if (attachmentNdxes[5] >= 0)
1061 if (attachmentNdxes[6] >= 0)
1076 if (attachmentNdxes[7] >= 0)
1097 const deInt32 attachmentNdxes[8],
1126 if (attachmentNdxes[0] >= 0)
1144 if (attachmentNdxes[4] >= 0)
1160 if (attachmentNdxes[1] >= 0)
1177 if (attachmentNdxes[5] >= 0)
1193 if (attachmentNdxes[2] >= 0)
1210 if (attachmentNdxes[6] >= 0)
1226 if (attachmentNdxes[3] >= 0)
1244 if (attachmentNdxes[7] >= 0)
1459 const deInt32 attachmentNdxes[8])
1471 attachmentNdxes[0], VK_FORMAT_UNDEFINED, false);
1474 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[0]))
1476 if (attachmentNdxes[0] != -1)
1477 preserveAttachments->push_back(attachmentNdxes[0]);
1482 attachmentNdxes[1], VK_FORMAT_UNDEFINED, false);
1485 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[1]))
1487 if (attachmentNdxes[1] != -1)
1488 preserveAttachments->push_back(attachmentNdxes[1]);
1493 attachmentNdxes[2], VK_FORMAT_UNDEFINED, false);
1496 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[2]))
1498 if (attachmentNdxes[2] != -1)
1499 preserveAttachments->push_back(attachmentNdxes[2]);
1504 attachmentNdxes[3], params.depthStencilFormat, false);
1507 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[3]))
1509 if (attachmentNdxes[3] != -1)
1510 preserveAttachments->push_back(attachmentNdxes[3]);
1517 attachmentNdxes[4], VK_FORMAT_UNDEFINED, false);
1519 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[4]))
1521 if (attachmentNdxes[4] != -1)
1522 preserveAttachments->push_back(attachmentNdxes[4]);
1527 attachmentNdxes[5], VK_FORMAT_UNDEFINED, false);
1529 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[5]))
1531 if (attachmentNdxes[5] != -1)
1532 preserveAttachments->push_back(attachmentNdxes[5]);
1537 attachmentNdxes[6], VK_FORMAT_UNDEFINED, false);
1539 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[6]))
1541 if (attachmentNdxes[6] != -1)
1542 preserveAttachments->push_back(attachmentNdxes[6]);
1548 if (attachmentNdxes[0] >= 0 && isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[0]))
1550 if (attachmentNdxes[1] >= 0 && isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[1]))
1552 if (attachmentNdxes[2] >= 0 && isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[2]))
1554 if (attachmentNdxes[3] >= 0 && isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[3]))
1566 attachmentNdxes[7], params.depthStencilFormat, false);
1579 else if (preserveAttachments && !isInAttachmentReferences(inputAttachmentReferences, attachmentNdxes[7]))
1581 if (attachmentNdxes[7] != -1)
1582 preserveAttachments->push_back(attachmentNdxes[7]);
2999 deInt32 attachmentNdxes[8] = {-1, -1, -1, -1,
3003 initializeAttachments(params, wd, images, attachments, 0, attachmentNdxes);
3012 attachmentNdxes,
3036 initializeAttachmentDescriptions(params, attachmentDescriptions, params.clearBeforeRenderPass, attachmentNdxes, attachmentUseMask);
3047 attachmentNdxes);
3324 deInt32 attachmentNdxes[8] = {-1, -1, -1, -1,
3328 initializeAttachments(params, wd, images, attachments, 0, attachmentNdxes);
3337 attachmentNdxes,
3361 initializeAttachmentDescriptions(params, attachmentDescriptions, params.clearBeforeRenderPass, attachmentNdxes, attachmentUseMask);
3372 attachmentNdxes);
3686 deInt32 attachmentNdxes[8] = {-1, -1, -1, -1,
3690 initializeAttachments(params, wd, images, attachments, params.perPass.size(), attachmentNdxes);
3691 initializeAttachmentDescriptions(params, attachmentDescriptions, params.clearBeforeRenderPass, attachmentNdxes, attachmentUseMask);
3704 attachmentNdxes);
3798 deInt32 attachmentNdxes[8] = {-1, -1, -1, -1,
3807 initializeAttachments(params, wd, images, attachments, renderPassNdx, attachmentNdxes);
3815 attachmentNdxes,
3839 initializeAttachmentDescriptions(params, attachmentDescriptions, params.clearBeforeRenderPass, attachmentNdxes, attachmentUseMask);
3850 attachmentNdxes);
3855 if (attachmentNdxes[0] >= 0)
3857 if (attachmentNdxes[1] >= 0)
3859 if (attachmentNdxes[2] >= 0)
3861 if (attachmentNdxes[3] >= 0)
4514 deInt32 attachmentNdxes[8] = {-1, -1, -1, -1,
4518 initializeAttachments(params, wd, images, attachments, params.perPass.size(), attachmentNdxes);
4519 initializeAttachmentDescriptions(params, attachmentDescriptions, params.clearBeforeRenderPass, attachmentNdxes, attachmentUseMask);
4530 initializeAttachmentReference(inputAttachmentReferences[0], attachmentNdxes[0], VK_FORMAT_UNDEFINED, true);
4531 initializeAttachmentReference(inputAttachmentReferences[1], attachmentNdxes[3], params.depthStencilFormat, true);
4546 attachmentNdxes);