Lines Matching defs:log

471 bool verifyImageSingleColoredRow (tcu::TestLog& log, const tcu::ConstPixelBufferAccess image, const float rowWidthRatio, const tcu::Vec4& barColor, bool topRightCleared = false, bool bottomRightCleared = false)
487 log << tcu::TestLog::Message
522 log << tcu::TestLog::Message << "Image is valid." << tcu::TestLog::EndMessage
530 log << tcu::TestLog::Message << "Image verification failed. Got unexpected pixels." << tcu::TestLog::EndMessage
539 log << tcu::TestLog::Image("LayerContent", "Layer content", image);
544 static bool verifyImageMultipleBars (tcu::TestLog& log,
587 log << tcu::TestLog::Message
630 log << tcu::TestLog::Message << "Image is valid." << tcu::TestLog::EndMessage
637 log << tcu::TestLog::Message << "Image verification failed. Got unexpected pixels." << tcu::TestLog::EndMessage
672 bool verifyEmptyImage (tcu::TestLog& log, const tcu::ConstPixelBufferAccess image)
674 log << tcu::TestLog::Message << "Expecting empty image" << tcu::TestLog::EndMessage;
686 log << tcu::TestLog::Message
696 log << tcu::TestLog::Message << "Image is valid" << tcu::TestLog::EndMessage;
701 bool verifyLayerContent (tcu::TestLog& log, const TestType testType, const tcu::ConstPixelBufferAccess image, const int layerNdx, const int numLayers, const bool depthCheck, const bool stencilCheck)
711 return verifyImageSingleColoredRow(log, image, 0.5f, white);
713 return verifyEmptyImage(log, image);
717 return verifyImageSingleColoredRow(log, image, 0.5f, white);
719 return verifyEmptyImage(log, image);
723 return verifyImageSingleColoredRow(log, image, 0.5f, s_colors[layerNdx % DE_LENGTH_OF_ARRAY(s_colors)]);
728 return verifyEmptyImage(log, image);
730 return verifyImageSingleColoredRow(log, image, variableBarRatio, white);
739 return verifyImageSingleColoredRow(log, image, 0.5f, layerColor);
760 result = verifyImageMultipleBars(log, depthAsColor, barWidthRatios, barDepths, barsCount, numUsedChannels, checkType);
775 result = verifyImageMultipleBars(log, stencilAsColor, barWidthRatios, barStencils, barsCount, numUsedChannels, checkType);
784 result = verifyImageMultipleBars(log, image, barWidthRatios, barColors, barsCount, numUsedChannels, checkType);
799 return verifyImageSingleColoredRow(log, image, 0.5f, secondDraw, layerNdx < numLayers / 2, layerNdx >= numLayers / 2);
823 bool verifyResults (tcu::TestLog& log, const TestParams& params, const VkFormat imageFormat, const void* resultData, const bool depthCheck = false, const bool stencilCheck = false)
833 log << tcu::TestLog::Message << "Verifying " << getLayerDescription(params.image.viewType, layerNdx) << tcu::TestLog::EndMessage;
835 if (verifyLayerContent(log, params.testType, layerImage, layerNdx, image.getNumLayersOrSlices(), depthCheck, stencilCheck))