/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 1294 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1298 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1334 …isOk = tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix); in computeTextureLookupDiff() 1401 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1405 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1455 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1608 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local 1612 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1671 if (tcu::isLookupResultValid(src, sampleParams.sampler, lookupPrec, coord, clampedLod, resPix)) in computeTextureLookupDiff() 1782 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() local [all …]
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|