/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 | 1274 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1278 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1314 …isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix); in computeTextureLookupDiff() 1381 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1385 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1435 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1588 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1592 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1651 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1762 …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 | 1580 const tcu::IVec4 resPix = result.getPixelInt(x, y); in checkResultImage() local 1582 if (boolAny(notEqual(resPix, refPix))) in checkResultImage() 1596 const tcu::IVec4 resPix = result.getPixelInt(x, y); in checkResultImageWithReference() local 1598 if (boolAny(notEqual(resPix, refPix))) in checkResultImageWithReference()
|