/external/deqp/framework/common/ |
D | tcuBilinearImageCompare.cpp | 116 const RGBA resPix = readRGBA8(result, (deUint32)x, (deUint32)y); in comparePixelRGBA8() local 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() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderHelperInvocationTests.cpp | 393 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationValue() local 394 const bool isBg = tcu::compareThreshold(resPix, bgRef, threshold); in verifyHelperInvocationValue() 395 const bool isFg = tcu::compareThreshold(resPix, fgRef, threshold); in verifyHelperInvocationValue() 584 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationDerivate() local 585 const bool isBg = tcu::compareThreshold(resPix, bgRef, isBgThreshold); in verifyHelperInvocationDerivate() 586 const bool isFg = tcu::compareThreshold(resPix, fgRef, isFgThreshold); in verifyHelperInvocationDerivate() 587 const bool nonZeroDeriv = resPix.getBlue() > 0; in verifyHelperInvocationDerivate()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 1340 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1344 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1380 …isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix); in computeTextureLookupDiff() 1466 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1470 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1520 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1690 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1694 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1753 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1881 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 175 const IVec4 resPix = result.getPixel(x, y).toIVec(); in compareBlockImages() local 176 const IVec4 diff = tcu::abs(refPix - resPix); in compareBlockImages()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1569 const tcu::IVec4 resPix = result.getPixelInt(x, y); in checkResultImage() local 1571 if (boolAny(notEqual(resPix, refPix))) in checkResultImage() 1585 const tcu::IVec4 resPix = result.getPixelInt(x, y); in checkResultImageWithReference() local 1587 if (boolAny(notEqual(resPix, refPix))) in checkResultImageWithReference()
|