Lines Matching refs:layerNdx
701 …t TestType testType, const tcu::ConstPixelBufferAccess image, const int layerNdx, const int numLay… in verifyLayerContent() argument
705 const float variableBarRatio = static_cast<float>(layerNdx) / static_cast<float>(numLayers); in verifyLayerContent()
710 if (layerNdx == 0) in verifyLayerContent()
716 if (layerNdx == targetLayer) in verifyLayerContent()
723 …return verifyImageSingleColoredRow(log, image, 0.5f, s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colo… in verifyLayerContent()
727 if (layerNdx == 0) in verifyLayerContent()
735 const tcu::Vec4 layerColor( (layerNdx % 2) == 1 ? 1.0f : 0.5f, in verifyLayerContent()
736 ((layerNdx/2) % 2) == 1 ? 1.0f : 0.5f, in verifyLayerContent()
737 layerNdx == 0 ? 1.0f : 0.0f, in verifyLayerContent()
751 …const float pass0depth = static_cast<float>(layerNdx + 1) / static_cast<float>(2 * numLayers… in verifyLayerContent()
752 …const float pass1depth = static_cast<float>(layerNdx + 0) / static_cast<float>(2 * numLayers… in verifyLayerContent()
780 const tcu::Vec4 baseColor (s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]); in verifyLayerContent()
792 …const tcu::Vec4 clearColor = secondaryCmdBufClearColors[layerNdx % DE_LENGTH_OF_ARRAY(secondaryCmd… in verifyLayerContent()
793 const tcu::Vec4 quadColor = s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]; in verifyLayerContent()
799 … verifyImageSingleColoredRow(log, image, 0.5f, secondDraw, layerNdx < numLayers / 2, layerNdx >= n… in verifyLayerContent()
829 for (int layerNdx = 0; layerNdx < image.getNumLayersOrSlices(); ++layerNdx) in verifyResults() local
831 const tcu::ConstPixelBufferAccess layerImage = image.getLayer(layerNdx); in verifyResults()
833 …::Message << "Verifying " << getLayerDescription(params.image.viewType, layerNdx) << tcu::TestLog:… in verifyResults()
835 …if (verifyLayerContent(log, params.testType, layerImage, layerNdx, image.getNumLayersOrSlices(), d… in verifyResults()
1397 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in testLayeredReadBack() local
1403 const deUint32 layer = (VK_IMAGE_VIEW_TYPE_3D == params.image.viewType) ? 0u : layerNdx; in testLayeredReadBack()
1404 …const deUint32 imageDepth = (VK_IMAGE_VIEW_TYPE_3D == params.image.viewType) ? layerNdx : 0… in testLayeredReadBack()
1407 …const tcu::Vec4 clearColor = scaleColor(s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)], … in testLayeredReadBack()
1409 const VkDeviceSize bufferOffset = layerNdx * bufferSliceSize; in testLayeredReadBack()
1422 const VkDeviceSize bufferOffset = layerNdx * bufferSliceSize; in testLayeredReadBack()
1423 …Layers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_DEPTH_BIT, 0u, layerNdx, 1u); in testLayeredReadBack()
1435 const VkDeviceSize bufferOffset = layerNdx * bufferSliceSize; in testLayeredReadBack()
1436 …yers imageSubresource = makeImageSubresourceLayers(VK_IMAGE_ASPECT_STENCIL_BIT, 0u, layerNdx, 1u); in testLayeredReadBack()
1680 for (deUint32 layerNdx = 0; layerNdx < numLayers; ++layerNdx) in testSecondaryCmdBuffer() local
1682 …const deUint32 imageDepth = (VK_IMAGE_VIEW_TYPE_3D == params.image.viewType) ? layerNdx : 0… in testSecondaryCmdBuffer()
1683 const deUint32 layer = (VK_IMAGE_VIEW_TYPE_3D == params.image.viewType) ? 0u : layerNdx; in testSecondaryCmdBuffer()
1688 …const tcu::Vec4 storageImageClearColor = secondaryCmdBufClearColors[layerNdx % DE_LENGTH_OF_AR… in testSecondaryCmdBuffer()
1690 const VkDeviceSize bufferOffset = layerNdx * bufferSliceSize; in testSecondaryCmdBuffer()