/third_party/vk-gl-cts/framework/common/ |
D | tcuImageCompare.cpp | 519 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/ |
D | xeTestLogCompare.cpp | 268 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/ |
D | es31fStencilTexturingTests.cpp | 560 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,… 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 …]
|
D | es31fShaderImageLoadStoreTests.cpp | 1269 …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/ |
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 1003 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 …]
|
D | vktPipelineBlendTests.cpp | 1077 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 …]
|
D | vktPipelinePushDescriptorTests.cpp | 583 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 …]
|
D | vktPipelineBlendOperationAdvancedTests.cpp | 1535 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()
|
D | vktPipelineDynamicOffsetTests.cpp | 667 bool compareOk = false; in verifyImage() local 698 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage() 709 if (compareOk) in verifyImage()
|
D | vktPipelineInputAssemblyTests.cpp | 1590 bool compareOk = false; in verifyImage() local 1644 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage() 1655 if (compareOk) in verifyImage()
|
D | vktPipelineImageSamplingInstance.cpp | 1545 bool compareOk = validateResultImage(*texture, in verifyImage() local 1557 if (!compareOk) in verifyImage() 1562 compareOkAll = compareOkAll && compareOk; in verifyImage()
|
D | vktPipelineVertexInputTests.cpp | 1668 bool compareOk = false; in verifyImage() local 1696 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage() 1707 if (compareOk) in verifyImage()
|
D | vktPipelinePushConstantTests.cpp | 621 bool compareOk = false; in verifyImage() local 664 compareOk = tcu::intThresholdPositionDeviationCompare(m_context.getTestContext().getLog(), in verifyImage() 675 if (compareOk) in verifyImage()
|
D | vktPipelineCacheTests.cpp | 1076 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/ |
D | vktShaderRenderLimitTests.cpp | 74 bool compareOk = false; in iterate() local 95 …compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate() 97 if (compareOk) in iterate()
|
D | vktShaderRenderBuiltinVarTests.cpp | 2019 bool compareOk = false; in iterate() local 2095 …compareOk = fuzzyCompare(m_context.getTestContext().getLog(), "Result", "Image comparison result",… in iterate() 2097 if (compareOk) in iterate() 2256 bool compareOk = false; in iterate() local 2305 …compareOk = pixelThresholdCompare(m_context.getTestContext().getLog(), "Result", "Image comparison… in iterate() 2307 if (compareOk) in iterate()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fRandomFragmentOpTests.cpp | 378 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()
|
D | es2fRasterizationTests.cpp | 264 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 …]
|
D | es2fDepthStencilTests.cpp | 702 …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/ |
D | es3fRandomFragmentOpTests.cpp | 378 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()
|
D | es3fASTCDecompressionCases.cpp | 464 …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()
|
D | es3fRasterizationTests.cpp | 467 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 …]
|
D | es3fDepthStencilTests.cpp | 702 …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/ |
D | glsFragOpInteractionCase.cpp | 612 …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/ |
D | vktSSBOLayoutCase.cpp | 2433 …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()
|