Home
last modified time | relevance | path

Searched refs:compareOk (Results 1 - 25 of 48) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
H A DtcuImageCompare.cpp292 bool compareOk = true; in bitwiseCompare() local
305 compareOk &= isOk; in bitwiseCompare()
310 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in bitwiseCompare()
330 if (!compareOk) in bitwiseCompare()
349 return compareOk; in bitwiseCompare()
614 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatUlpThresholdCompare() local
616 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in floatUlpThresholdCompare()
626 if (!compareOk) in floatUlpThresholdCompare()
645 return compareOk; in floatUlpThresholdCompare()
701 bool compareOk in floatThresholdCompare() local
795 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); floatThresholdCompare() local
882 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); floatThresholdCompare() local
978 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold64)); intThresholdCompare() local
1090 bool compareOk = (maxDiff <= threshold) && allStencilOk; dsThresholdCompare() local
1161 const bool compareOk = numFailingPixels == 0; intThresholdPositionDeviationCompare() local
1240 const bool compareOk = numFailingPixels <= maxAllowedFailingPixels; intThresholdPositionDeviationErrorThresholdCompare() local
[all...]
/third_party/vk-gl-cts/executor/tools/
H A DxeTestLogCompare.cpp268 bool compareOk = true; in runCompare() local
350 compareOk = numEqual == numCases; in runCompare()
355 dst << " Comparison " << (compareOk ? "passed" : "FAILED") << "!\n"; in runCompare()
361 compareOk = false; in runCompare()
364 return compareOk; in runCompare()
401 bool compareOk = runCompare(cmdLine, std::cout); in main() local
402 return compareOk ? 0 : -1; in main()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp560 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), stencilOnlyLevel, readLevel); in iterate() local
561 m_testCtx.setTestResult(compareOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
562 compareOk ? "Pass" : "Image comparison failed"); in iterate()
723 bool compareOk; in iterate() local
734 compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec, lodPrec, tcu::PixelFormat(8, 8, 8, 8)); in iterate()
736 m_testCtx.setTestResult(compareOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
737 compareOk ? "Pass" : "Image comparison failed"); in iterate()
792 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), reference, result); in iterate() local
793 m_testCtx.setTestResult(compareOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, in iterate()
794 compareOk in iterate()
866 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), reference, result); iterate() local
925 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), stencilOnlyLevel, readLevel); iterate() local
986 const bool compareOk = compareStencilToRed(m_testCtx.getLog(), stencilOnlyLevel, readLevel); iterate() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRenderLimitTests.cpp74 bool compareOk = false; in iterate() local
95 compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
97 if (compareOk) in iterate()
H A DvktShaderRenderBuiltinVarTests.cpp2029 bool compareOk = false; in iterate() local
2105 compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
2107 if (compareOk) in iterate()
2266 bool compareOk = false; in iterate() local
2315 compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
2317 if (compareOk) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
H A DvktShaderRenderLimitTests.cpp74 bool compareOk = false; in iterate() local
95 compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
97 if (compareOk) in iterate()
H A DvktShaderRenderBuiltinVarTests.cpp2029 bool compareOk = false; in iterate() local
2105 compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
2107 if (compareOk) in iterate()
2266 bool compareOk = false; in iterate() local
2315 compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result", refImage, resImage, threshold, COMPARE_LOG_RESULT); in iterate()
2317 if (compareOk) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomFragmentOpTests.cpp378 bool compareOk; member
385 compareOk = tcu::bilinearCompare(m_testCtx.getLog(),
394 compareOk = tcu::intThresholdCompare(m_testCtx.getLog(), member
402 m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndMessage;
404 if (!compareOk)
409 if (compareOk && !gotError && !isLastIter)
H A Des3fASTCDecompressionCases.cpp464 const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, curNumUsedBlocks, firstFailedBlockCoord, errorMask, maxDiff); in iterate() local
466 if (m_currentIteration == 0 || !compareOk) in iterate()
478 if (!compareOk) in iterate()
594 const bool compareOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "ComparisonResult", "Comparison Result", referenceFrame, renderedFrame, threshold,
597 if (!compareOk)
H A Des3fRasterizationTests.cpp467 bool compareOk;
479 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
481 if (!compareOk)
592 bool compareOk;
608 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
611 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk)
614 compareOk = true;
617 if (!compareOk)
736 bool compareOk;
748 compareOk
[all...]
H A Des3fDepthStencilTests.cpp702 bool compareOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison Result", *m_refColorBuffer, renderedImg, threshold, in iterate() local
705 m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndMessage; in iterate()
706 if (!compareOk) in iterate()
709 if (compareOk && !isLastIter) in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomFragmentOpTests.cpp378 bool compareOk; member
385 compareOk = tcu::bilinearCompare(m_testCtx.getLog(),
394 compareOk = tcu::intThresholdCompare(m_testCtx.getLog(), member
402 m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndMessage;
404 if (!compareOk)
409 if (compareOk && !gotError && !isLastIter)
H A Des2fRasterizationTests.cpp264 bool compareOk; in iterate() local
276 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
278 if (!compareOk) in iterate()
361 bool compareOk;
377 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog());
380 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk)
383 compareOk = true;
386 if (!compareOk)
466 bool compareOk; in iterate() local
478 compareOk in iterate()
[all...]
H A Des2fDepthStencilTests.cpp702 bool compareOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison Result", *m_refColorBuffer, renderedImg, threshold, in iterate() local
705 m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndMessage; in iterate()
706 if (!compareOk) in iterate()
709 if (compareOk && !isLastIter) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineDepthRangeUnrestrictedTests.cpp929 deBool compareOk = DE_TRUE; in verifyTestResult() local
981 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyTestResult()
994 if (!compareOk) in verifyTestResult()
1004 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1011 if (!compareOk) in verifyTestResult()
1029 compareOk = DE_FALSE; in verifyTestResult()
1040 compareOk = DE_FALSE; in verifyTestResult()
1066 compareOk = DE_FALSE; in verifyTestResult()
1086 compareOk = DE_FALSE; in verifyTestResult()
1089 if (!compareOk) in verifyTestResult()
1222 deBool compareOk = DE_TRUE; verifyTestResult() local
[all...]
H A DvktPipelineBlendTests.cpp1091 bool compareOk = false; in verifyImage() local
1145 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1155 if (!compareOk && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
1160 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1169 if (!compareOk) in verifyImage()
1174 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1185 if (compareOk) in verifyImage()
1498 bool compareOk = false; in verifyImage() local
1598 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1608 if (!compareOk in verifyImage()
2000 const bool compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), "BlendClampCompare", "Blend clamping pixel comparison", referenceColor, pixelBufferAccess, threshold, tcu::COMPARE_LOG_ON_ERROR); iterate() local
[all...]
H A DvktPipelinePushDescriptorTests.cpp612 bool compareOk = false; in verifyImage() local
628 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
639 if (compareOk) in verifyImage()
1736 bool compareOk = false; in verifyImage() local
1784 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1795 if (compareOk) in verifyImage()
3094 bool compareOk = false; in verifyImage() local
3110 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
3121 if (compareOk) in verifyImage()
4160 bool compareOk in verifyImage() local
[all...]
H A DvktPipelineBlendOperationAdvancedTests.cpp1429 deBool compareOk = DE_TRUE;
1517 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(),
1529 if (!compareOk)
2129 deBool compareOk = DE_TRUE;
2190 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(),
2198 if (!compareOk)
H A DvktPipelineImageSamplingInstance.cpp1589 bool compareOk = validateResultImage(*texture, in verifyImage() local
1601 if (!compareOk) in verifyImage()
1606 compareOkAll = compareOkAll && compareOk; in verifyImage()
H A DvktPipelineInputAssemblyTests.cpp1552 bool compareOk = false; in verifyImage() local
1606 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1617 if (compareOk) in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineDepthRangeUnrestrictedTests.cpp924 deBool compareOk = DE_TRUE; in verifyTestResult() local
976 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyTestResult()
989 if (!compareOk) in verifyTestResult()
999 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1006 if (!compareOk) in verifyTestResult()
1024 compareOk = DE_FALSE; in verifyTestResult()
1035 compareOk = DE_FALSE; in verifyTestResult()
1061 compareOk = DE_FALSE; in verifyTestResult()
1081 compareOk = DE_FALSE; in verifyTestResult()
1084 if (!compareOk) in verifyTestResult()
1215 deBool compareOk = DE_TRUE; verifyTestResult() local
[all...]
H A DvktPipelineBlendTests.cpp1093 bool compareOk = false; in verifyImage() local
1147 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1157 if (!compareOk && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
1162 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1171 if (!compareOk) in verifyImage()
1176 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1187 if (compareOk) in verifyImage()
1500 bool compareOk = false; in verifyImage() local
1600 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1610 if (!compareOk in verifyImage()
2002 const bool compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), "BlendClampCompare", "Blend clamping pixel comparison", referenceColor, pixelBufferAccess, threshold, tcu::COMPARE_LOG_ON_ERROR); iterate() local
[all...]
H A DvktPipelinePushDescriptorTests.cpp601 bool compareOk = false; in verifyImage() local
617 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
628 if (compareOk) in verifyImage()
1724 bool compareOk = false; in verifyImage() local
1772 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1783 if (compareOk) in verifyImage()
3076 bool compareOk = false; in verifyImage() local
3092 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
3103 if (compareOk) in verifyImage()
4140 bool compareOk in verifyImage() local
[all...]
H A DvktPipelineBlendOperationAdvancedTests.cpp1420 deBool compareOk = DE_TRUE;
1508 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(),
1520 if (!compareOk)
2109 deBool compareOk = DE_TRUE;
2170 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(),
2178 if (!compareOk)
/third_party/vk-gl-cts/modules/glshared/
H A DglsFragOpInteractionCase.cpp612 const bool compareOk = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image comparison result", reference.getAccess(), rendered.getAccess(), threshold, tcu::COMPARE_LOG_RESULT);
614 if (!compareOk)

Completed in 54 milliseconds

12