Lines Matching defs:ndx
425 for (deUint32 ndx = 0 ; ndx < colorAttachmentCount; ++ndx)
832 for(deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ndx++)
833 attachmentBindInfos.push_back(*m_colorAttachmentView[ndx]);
848 for (deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ndx++)
849 attachmentBindInfos.push_back(*m_colorAttachmentView[ndx]);
923 for(deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ++ndx)
925 m_imageColor[ndx] = makeImage(vk, device, imageInfo);
926 m_imageColorAlloc[ndx] = bindImage(vk, device, allocator, *m_imageColor[ndx], MemoryRequirement::Any);
927 m_imageBuffer[ndx] = Buffer::createAndAlloc(vk, device, bufferInfo,
929 m_colorAttachmentView[ndx] = makeImageView(vk, device, *m_imageColor[ndx],
932 const Allocation alloc = m_imageBuffer[ndx]->getBoundMemory();
984 for (deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ++ndx)
987 m_parameters.renderSize, ndx));
1114 for (deUint32 ndx = 0; ndx < colorAtchCount; ++ndx)
1119 imagesLayout.oldColors[ndx],
1121 *m_imageColor[ndx],
1124 imagesLayout.oldColors[ndx] = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL;
1182 for (deUint32 ndx = 0; ndx < colorAtchCount; ++ndx)
1188 attachmentBindInfos[ndx], // VkImageView imageView;
1271 for (deUint32 ndx = 0; ndx < colorAtchCount; ndx++)
1273 vk::copyImageToBuffer(vk, commandBuffer, *m_imageColor[ndx], m_imageBuffer[ndx]->object(),
1275 VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, imagesLayout.oldColors[ndx], 1u,
1277 imagesLayout.oldColors[ndx] = VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL;
1307 for (deUint32 ndx = 0; ndx < colorAtchCount; ndx++)
1309 const Allocation allocColor = m_imageBuffer[ndx]->getBoundMemory();
1314 m_referenceImages[ndx].getAccess(), resultColorImage,
3838 for (deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ++ndx)
3839 src << "layout(location = " << ndx << ") out highp vec4 fsColor" << ndx << ";\n";
3845 for (deUint32 ndx = 0; ndx < COLOR_ATTACHMENTS_NUMBER; ++ndx)
3847 src << " color.z = 0.15f * " << ndx << ".0f;\n"
3848 << " fsColor" << ndx << " = color;\n";