/third_party/vk-gl-cts/framework/common/ |
D | tcuBilinearImageCompare.cpp | 127 if (compareThreshold(resPix, readRGBA8(reference, x1, y1), threshold) || in comparePixelRGBA8() 128 compareThreshold(resPix, readRGBA8(reference, x0, y1), threshold) || in comparePixelRGBA8() 129 compareThreshold(resPix, readRGBA8(reference, x2, y1), threshold) || in comparePixelRGBA8() 130 compareThreshold(resPix, readRGBA8(reference, x0, y0), threshold) || in comparePixelRGBA8() 131 compareThreshold(resPix, readRGBA8(reference, x1, y0), threshold) || in comparePixelRGBA8() 132 compareThreshold(resPix, readRGBA8(reference, x2, y0), threshold) || in comparePixelRGBA8() 133 compareThreshold(resPix, readRGBA8(reference, x0, y2), threshold) || in comparePixelRGBA8() 134 compareThreshold(resPix, readRGBA8(reference, x1, y2), threshold) || in comparePixelRGBA8() 135 compareThreshold(resPix, readRGBA8(reference, x2, y2), threshold)) in comparePixelRGBA8() 183 … if (compareThreshold(resPix, bilinearSampleRGBA8(reference, (deUint32)u, (deUint32)v), threshold)) in comparePixelRGBA8()
|
D | tcuRGBA.hpp | 137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) in compareThreshold() function
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderHelperInvocationTests.cpp | 394 const bool isBg = tcu::compareThreshold(resPix, bgRef, threshold); in verifyHelperInvocationValue() 395 const bool isFg = tcu::compareThreshold(resPix, fgRef, threshold); in verifyHelperInvocationValue() 560 if (tcu::compareThreshold(color, neighborColor, threshold)) in hasNeighborWithColor() 585 const bool isBg = tcu::compareThreshold(resPix, bgRef, isBgThreshold); in verifyHelperInvocationDerivate() 586 const bool isFg = tcu::compareThreshold(resPix, fgRef, isFgThreshold); in verifyHelperInvocationDerivate()
|
D | es31fAdvancedBlendTests.cpp | 566 …const UVec4 compareThreshold = (useFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local 572 … tcu::RGBA(compareThreshold[0], compareThreshold[1], compareThreshold[2], compareThreshold[3]), in iterate()
|
D | es31fLayoutBindingTests.cpp | 646 const tcu::RGBA compareThreshold = tcu::RGBA(de::clamp(2 * surfaceThreshold.getRed(), 0, 255), in drawAndVerifyResult() local 666 …etLog(), "Render result", "Result verification", reference, result, compareThreshold, tcu::COMPARE… in drawAndVerifyResult()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 197 const bool signConfig = tcu::compareThreshold(baseColor, cellColorA, threshold); in compare() 222 …const bool isValidColor = tcu::compareThreshold(color, cellColorA, threshold) || tcu::compareThres… in compare() 251 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare() 253 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare() 262 if (tcu::compareThreshold(color, cellColorA, threshold)) in compare() 264 else if (tcu::compareThreshold(color, cellColorB, threshold)) in compare() 276 const bool resultSign = tcu::compareThreshold(cellColorA, color, threshold); in compare()
|
D | es3fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es3fBlendTests.cpp | 327 …UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local 332 compareThreshold, tcu::COMPARE_LOG_RESULT); in iterate()
|
D | es3fShaderFragDataTests.cpp | 94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
D | es3fPolygonOffsetTests.cpp | 80 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function 120 if (compareThreshold(cRef, cTest, threshold)) in compareImages() 136 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
|
D | es3fFboMultisampleTests.cpp | 332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold)); in test()
|
D | es3fMultisampleTests.cpp | 136 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored() 163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors() 608 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsDrawTest.cpp | 3442 … colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3& compareThreshold) in colorsEqual() argument 3449 …pareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshold.y(), compareT… in colorsEqual() 3453 …nst tcu::Surface& target, int x, int y, const tcu::RGBA& color, const tcu::IVec3& compareThreshold) in pixelNeighborhoodContainsColor() argument 3463 if (colorsEqual(color, targetCmpPixel, compareThreshold)) in pixelNeighborhoodContainsColor() 3488 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, const tcu::I… in edgeRelaxedImageCompare() argument 3514 const bool directMatch = colorsEqual(refPixel, screenPixel, compareThreshold); in edgeRelaxedImageCompare() 3515 …rectMatch || pixelNeighborhoodContainsColor(result, x, y, refPixel, compareThreshold); // screen… in edgeRelaxedImageCompare() 3516 …tch || pixelNeighborhoodContainsColor(reference, x, y, screenPixel, compareThreshold); // referenc… in edgeRelaxedImageCompare() 3563 …son failed. Color threshold = (" << compareThreshold.x() << ", " << compareThreshold.y() << ", " <… in edgeRelaxedImageCompare() 3583 …::Surface& reference, const tcu::Surface& result, const tcu::IVec3& compareThreshold, int maxAllow… in intersectionRelaxedLineImageCompare() argument [all …]
|
D | glsVertexArrayTests.cpp | 1767 …bool refThin = (!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::co… in compare() 1768 …(!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(ref… in compare() 1769 …bool screenThin = (!tcu::compareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && … in compare() 1770 …(!tcu::compareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThresho… in compare()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayETC2Support.cpp | 352 const float compareThreshold = 0.05f; in isRenderedImageValid() local 354 compareThreshold, tcu::COMPARE_LOG_RESULT); in isRenderedImageValid()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fShaderFragDataTests.cpp | 76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
|
D | es2fBlendTests.cpp | 272 …UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec()… in iterate() local 275 …parison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE… in iterate()
|
D | es2fPrerequisiteTests.cpp | 245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
|
D | es2fPolygonOffsetTests.cpp | 77 inline bool compareThreshold (const tcu::IVec4& a, const tcu::IVec4& b, const tcu::IVec4& threshold) in compareThreshold() function 117 if (compareThreshold(cRef, cTest, threshold)) in compareImages() 133 if (compareThreshold(cRef, cTest, threshold)) in compareImages()
|
D | es2fMultisampleTests.cpp | 134 …if (!tcu::compareThreshold(pixColor, insideColor, tcu::RGBA(3, 3, 3, 3))) // Pixel color differs f… in isPixelRegionUnicolored() 161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors() 450 if (tcu::compareThreshold(color, m_detectedColors[i], tcu::RGBA(3, 3, 3, 3))) in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedBlending.cpp | 396 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
|
D | esextcDrawBuffersIndexedColorMasks.cpp | 432 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglImageFormatTests.cpp | 916 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES() local 1029 …"Result from rendering with depth buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES() 1043 …const tcu::RGBA compareThreshold (32, 32, 32, 32); // layer colors are far apart, large threshol… in invokeGLES() local 1147 …esult from rendering with stencil buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE… in invokeGLES()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 4438 if (!tcu::compareThreshold(upperLeft, instance.outputColors[0], threshold)) in runAndVerifyDefaultPipeline() 4442 if (!tcu::compareThreshold(upperRight, instance.outputColors[1], threshold)) in runAndVerifyDefaultPipeline() 4446 if (!tcu::compareThreshold(lowerLeft, instance.outputColors[2], threshold)) in runAndVerifyDefaultPipeline() 4450 if (!tcu::compareThreshold(lowerRight, instance.outputColors[3], threshold)) in runAndVerifyDefaultPipeline()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcBlendEquationAdvancedTests.cpp | 735 bool firstOk = tcu::compareThreshold(ref, res, threshold); in iterate() 1076 bool pixelOk = tcu::compareThreshold(ref, res, threshold); in iterate()
|