Home
last modified time | relevance | path

Searched refs:compareOk (Results 1 – 25 of 31) 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()
690 bool compareOk = boolAll(lessThanEqual(maxDiff, threshold)); in floatThresholdCompare() local
692 if (!compareOk || logMode == COMPARE_LOG_EVERYTHING) in floatThresholdCompare()
[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/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 …]
Des31fShaderImageLoadStoreTests.cpp1269 …const bool compareOk = readTextureAndVerify(renderCtx, glLog, *texture, *textureBuf, m_textureType… in iterate() local
1271 …m_testCtx.setTestResult(compareOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, compareOk ? "Pass" … in iterate()
1559 …const bool compareOk = readTextureAndVerify(renderCtx, glLog, *texture1, *texture1Buf, m_textureTy… in iterate() local
1561 …m_testCtx.setTestResult(compareOk ? QP_TEST_RESULT_PASS : QP_TEST_RESULT_FAIL, compareOk ? "Pass" … in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDepthRangeUnrestrictedTests.cpp1003 deBool compareOk = DE_TRUE; in verifyTestResult() local
1055 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1064 if (!compareOk) in verifyTestResult()
1073 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1080 if (!compareOk) in verifyTestResult()
1098 compareOk = DE_FALSE; in verifyTestResult()
1109 compareOk = DE_FALSE; in verifyTestResult()
1135 compareOk = DE_FALSE; in verifyTestResult()
1155 compareOk = DE_FALSE; in verifyTestResult()
1159 if (!compareOk) in verifyTestResult()
[all …]
DvktPipelineBlendTests.cpp1077 bool compareOk = false; in verifyImage() local
1131 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1141 if (!compareOk && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
1146 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1155 if (!compareOk) in verifyImage()
1160 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1171 if (compareOk) in verifyImage()
1480 bool compareOk = false; in verifyImage() local
1580 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyImage()
1590 if (!compareOk && isSmallerThan8BitFormat(tcuColorFormat.type)) in verifyImage()
[all …]
DvktPipelinePushDescriptorTests.cpp583 bool compareOk = false; in verifyImage() local
599 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
610 if (compareOk) in verifyImage()
1696 bool compareOk = false; in verifyImage() local
1744 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1755 if (compareOk) in verifyImage()
3037 bool compareOk = false; in verifyImage() local
3053 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
3064 if (compareOk) in verifyImage()
4088 bool compareOk = false; in verifyImage() local
[all …]
DvktPipelineBlendOperationAdvancedTests.cpp1535 deBool compareOk = DE_TRUE; in verifyTestResult() local
1614 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
1621 if (!compareOk) in verifyTestResult()
2317 deBool compareOk = DE_TRUE; in verifyTestResult() local
2376 compareOk = tcu::floatThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult()
2383 if (!compareOk) in verifyTestResult()
DvktPipelineDynamicOffsetTests.cpp667 bool compareOk = false; in verifyImage() local
698 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
709 if (compareOk) in verifyImage()
DvktPipelineInputAssemblyTests.cpp1590 bool compareOk = false; in verifyImage() local
1644 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1655 if (compareOk) in verifyImage()
DvktPipelineImageSamplingInstance.cpp1545 bool compareOk = validateResultImage(*texture, in verifyImage() local
1557 if (!compareOk) in verifyImage()
1562 compareOkAll = compareOkAll && compareOk; in verifyImage()
DvktPipelineVertexInputTests.cpp1668 bool compareOk = false; in verifyImage() local
1696 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
1707 if (compareOk) in verifyImage()
DvktPipelinePushConstantTests.cpp621 bool compareOk = false; in verifyImage() local
664 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage()
675 if (compareOk) in verifyImage()
DvktPipelineCacheTests.cpp1076 bool compareOk = tcu::intThresholdCompare(m_context.getTestContext().getLog(), in verifyTestResult() local
1084 if (compareOk) in verifyTestResult()
/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.cpp2019 bool compareOk = false; in iterate() local
2095compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result",… in iterate()
2097 if (compareOk) in iterate()
2256 bool compareOk = false; in iterate() local
2305compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate()
2307 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
376 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
379 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
382 compareOk = true; in iterate()
385 if (!compareOk) in iterate()
465 bool compareOk; in iterate() local
477 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
607 compareOk = verifyLineGroupRasterization(resultImage, scene, args, m_testCtx.getLog()); in iterate()
610 if (scene.lineWidth != 1.0f && m_numSamples > 1 && !compareOk) in iterate()
613 compareOk = true; in iterate()
616 if (!compareOk) in iterate()
735 bool compareOk; in iterate() local
747 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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp2433 …const bool compareOk = compareData(m_context.getTestContext().getLog(), m_refLayout, m_writeData.p… in iterate() local
2435 if (compareOk && counterOk) in iterate()
2437 else if (!compareOk && counterOk) in iterate()
2439 else if (compareOk && !counterOk) in iterate()

12