Home
last modified time | relevance | path

Searched refs:compareThreshold (Results 1 – 25 of 26) sorted by relevance

12

/third_party/vk-gl-cts/framework/common/
DtcuBilinearImageCompare.cpp127 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()
DtcuRGBA.hpp137 inline bool compareThreshold (RGBA a, RGBA b, RGBA threshold) in compareThreshold() function
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp394 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()
Des31fAdvancedBlendTests.cpp566 …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()
Des31fLayoutBindingTests.cpp646 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/
Des3fFramebufferBlitTests.cpp197 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()
Des3fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des3fBlendTests.cpp327 …UVec4 compareThreshold = (m_useSrgbFbo ? tcu::PixelFormat(8, 8, 8, 8) : m_context.getRenderTarget(… in iterate() local
332 compareThreshold, tcu::COMPARE_LOG_RESULT); in iterate()
Des3fShaderFragDataTests.cpp94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
Des3fPolygonOffsetTests.cpp80 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()
Des3fFboMultisampleTests.cpp332 TCU_CHECK(compareThreshold(color, tcu::RGBA::green(), threshold)); in test()
Des3fMultisampleTests.cpp136 …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/
DglsDrawTest.cpp3442 … 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 …]
DglsVertexArrayTests.cpp1767 …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/
DesextcTextureCubeMapArrayETC2Support.cpp352 const float compareThreshold = 0.05f; in isRenderedImageValid() local
354 compareThreshold, tcu::COMPARE_LOG_RESULT); in isRenderedImageValid()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderFragDataTests.cpp76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
Des2fBlendTests.cpp272 …UVec4 compareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec()… in iterate() local
275 …parison Result", referenceImg.getAccess(), renderedImg.getAccess(), compareThreshold, tcu::COMPARE… in iterate()
Des2fPrerequisiteTests.cpp245 bool isPixelOk = compareThreshold(refRGBA, resRGBA, colorThreshold); in iterate()
Des2fPolygonOffsetTests.cpp77 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()
Des2fMultisampleTests.cpp134 …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/
DesextcDrawBuffersIndexedBlending.cpp396 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
DesextcDrawBuffersIndexedColorMasks.cpp432 if (!tcu::compareThreshold(pixel, expectedColor, epsilon)) in VerifyImg()
/third_party/vk-gl-cts/modules/egl/
DteglImageFormatTests.cpp916 …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/
DvktSpvAsmGraphicsShaderTestUtil.cpp4438 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/
DglcBlendEquationAdvancedTests.cpp735 bool firstOk = tcu::compareThreshold(ref, res, threshold); in iterate()
1076 bool pixelOk = tcu::compareThreshold(ref, res, threshold); in iterate()

12