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/
DtcuImageCompare.cpp519 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatUlpThresholdCompare() local
521 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in floatUlpThresholdCompare()
531 if (!compareOk) in floatUlpThresholdCompare()
550 return compareOk; in floatUlpThresholdCompare()
606 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare() local
608 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in floatThresholdCompare()
618 if (!compareOk) in floatThresholdCompare()
637 return compareOk; in floatThresholdCompare()
700 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare() local
702 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in floatThresholdCompare()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
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
734compareOk = verifyTextureResult(m_testCtx, result, redTex, &texCoord[0], sampleParams, lookupPrec,… 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 ? "Pass" : "Image comparison failed"); in iterate()
[all …]
/third_party/vk-gl-cts/executor/tools/
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/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
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()
[all …]
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 && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
[all …]
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 = false; in verifyImage() local
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp1420 deBool compareOk = DE_TRUE; in verifyTestResult() local
1508 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1520 if (!compareOk) in verifyTestResult()
2109 deBool compareOk = DE_TRUE; in verifyTestResult() local
2170 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
2178 if (!compareOk) in verifyTestResult()
DvktPipelineInputAssemblyTests.cpp1556 bool compareOk = false; in verifyImage() local
1610 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1621 if (compareOk) in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
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()
[all …]
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 && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
[all …]
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 = false; in verifyImage() local
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp1420 deBool compareOk = DE_TRUE; in verifyTestResult() local
1508 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1520 if (!compareOk) in verifyTestResult()
2109 deBool compareOk = DE_TRUE; in verifyTestResult() local
2170 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
2178 if (!compareOk) in verifyTestResult()
DvktPipelineInputAssemblyTests.cpp1556 bool compareOk = false; in verifyImage() local
1610 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1621 if (compareOk) in verifyImage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp74 bool compareOk = false; in iterate() local
95compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate()
97 if (compareOk) in iterate()
DvktShaderRenderBuiltinVarTests.cpp2029 bool compareOk = false; in iterate() local
2105compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result",… in iterate()
2107 if (compareOk) in iterate()
2266 bool compareOk = false; in iterate() local
2315compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate()
2317 if (compareOk) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderLimitTests.cpp74 bool compareOk = false; in iterate() local
95compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate()
97 if (compareOk) in iterate()
DvktShaderRenderBuiltinVarTests.cpp2029 bool compareOk = false; in iterate() local
2105compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result",… in iterate()
2107 if (compareOk) in iterate()
2266 bool compareOk = false; in iterate() local
2315compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate()
2317 if (compareOk) in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp378 bool compareOk; in iterate() local
385 compareOk = tcu::bilinearCompare(m_testCtx.getLog(), in iterate()
394 compareOk = tcu::intThresholdCompare(m_testCtx.getLog(), in iterate()
402 …m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndM… in iterate()
404 if (!compareOk) in iterate()
409 if (compareOk && !gotError && !isLastIter) in iterate()
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; in iterate() local
377 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
380 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
383 compareOk = true; in iterate()
386 if (!compareOk) in iterate()
466 bool compareOk; in iterate() local
478 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
[all …]
Des2fDepthStencilTests.cpp702 …bool compareOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison… in iterate() local
705 …m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndM… in iterate()
706 if (!compareOk) in iterate()
709 if (compareOk && !isLastIter) in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fRandomFragmentOpTests.cpp378 bool compareOk; in iterate() local
385 compareOk = tcu::bilinearCompare(m_testCtx.getLog(), in iterate()
394 compareOk = tcu::intThresholdCompare(m_testCtx.getLog(), in iterate()
402 …m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndM… in iterate()
404 if (!compareOk) in iterate()
409 if (compareOk && !gotError && !isLastIter) in iterate()
Des3fASTCDecompressionCases.cpp464 …const bool compareOk = compareBlockImages(referenceFrame, renderedFrame, threshold, blockSize, cur… 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", "Compari… in iterate() local
597 if (!compareOk) in iterate()
Des3fRasterizationTests.cpp467 bool compareOk; in iterate() local
479 compareOk = verifyTriangleGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
481 if (!compareOk) in iterate()
592 bool compareOk; in iterate() local
608 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
611 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
614 compareOk = true; in iterate()
617 if (!compareOk) in iterate()
736 bool compareOk; in iterate() local
748 compareOk = verifyPointGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
[all …]
Des3fDepthStencilTests.cpp702 …bool compareOk = tcu::pixelThresholdCompare(m_testCtx.getLog(), "CompareResult", "Image Comparison… in iterate() local
705 …m_testCtx.getLog() << TestLog::Message << (compareOk ? " Passed." : " FAILED!") << TestLog::EndM… in iterate()
706 if (!compareOk) in iterate()
709 if (compareOk && !isLastIter) in iterate()
/third_party/vk-gl-cts/modules/glshared/
DglsFragOpInteractionCase.cpp612 …const bool compareOk = tcu::bilinearCompare(m_testCtx.getLog(), "CompareResult", "Image compari… in iterate() local
614 if (!compareOk) in iterate()

12