/third_party/vk-gl-cts/framework/common/ |
D | tcuImageCompare.cpp | 119 const IVec4 refPix = reference.getPixelInt(x, y, z); in findNumPositionDeviationFailingPixels() local 124 const UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); in findNumPositionDeviationFailingPixels() 143 const UVec4 diff = abs(refPix - deviatedCmpPix).cast<deUint32>(); in findNumPositionDeviationFailingPixels() 507 const Vec4 refPix = reference.getPixel(x, y, z); in floatUlpThresholdCompare() local 509 const UVec4 diff = computeFlushRelaxedULPDiff(refPix, cmpPix); in floatUlpThresholdCompare() 593 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare() local 596 Vec4 diff = abs(refPix - cmpPix); in floatThresholdCompare() 683 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare() local 686 if (refPix != ignorekey) in floatThresholdCompare() 689 Vec4 diff = abs(refPix - cmpPix); in floatThresholdCompare() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 1341 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() local 1344 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1467 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() local 1470 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1691 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() local 1694 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 1882 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() local 1885 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() 2049 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() local 2052 if (!tcu::boolAll(tcu::lessThanEqual(tcu::abs(resPix - refPix), lookupPrec.colorThreshold))) in computeTextureLookupDiff() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fASTCDecompressionCases.cpp | 166 const IVec4 refPix = reference.getPixel(x, y).toIVec(); in compareBlockImages() local 168 if (refPix == IVec4(255, 0, 255, 255)) in compareBlockImages() 176 const IVec4 diff = tcu::abs(refPix - resPix); in compareBlockImages()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureCompressedFormatTests.cpp | 255 const tcu::IVec4 refPix = reference.toIVec(); in compareColor() local 258 diff = abs(refPix - cmpPix).cast<deUint32>(); in compareColor()
|
D | vktSampleVerifier.cpp | 119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped() local 124 DE_ASSERT(de::inRange(refPix[c], resultMin[c], resultMax[c])); in fetchTexelWrapped()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureCompressedFormatTests.cpp | 255 const tcu::IVec4 refPix = reference.toIVec(); in compareColor() local 258 diff = abs(refPix - cmpPix).cast<deUint32>(); in compareColor()
|
D | vktSampleVerifier.cpp | 119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped() local 124 DE_ASSERT(de::inRange(refPix[c], resultMin[c], resultMax[c])); in fetchTexelWrapped()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ |
D | vktShaderLibrary.cpp | 1563 const tcu::IVec4 refPix (255, 255, 255, 255); in checkResultImage() local 1571 if (boolAny(notEqual(resPix, refPix))) in checkResultImage() 1579 bool checkResultImageWithReference (const ConstPixelBufferAccess& result, tcu::IVec4 refPix) in checkResultImageWithReference() argument 1587 if (boolAny(notEqual(resPix, refPix))) in checkResultImageWithReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ |
D | vktShaderLibrary.cpp | 1563 const tcu::IVec4 refPix (255, 255, 255, 255); in checkResultImage() local 1571 if (boolAny(notEqual(resPix, refPix))) in checkResultImage() 1579 bool checkResultImageWithReference (const ConstPixelBufferAccess& result, tcu::IVec4 refPix) in checkResultImageWithReference() argument 1587 if (boolAny(notEqual(resPix, refPix))) in checkResultImageWithReference()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawMultipleInterpolationTests.cpp | 699 tcu::IVec4 refPix = reference.getPixelInt(x, y); in compare() local 701 tcu::IVec4 diff = tcu::abs(refPix - cmpPix); in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
D | vktDrawMultipleInterpolationTests.cpp | 699 tcu::IVec4 refPix = reference.getPixelInt(x, y); in compare() local 701 tcu::IVec4 diff = tcu::abs(refPix - cmpPix); in compare()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
D | vktSynchronizationNoneStageTests.cpp | 1127 IVec4 refPix = reference.getPixelInt(x, y, 0); in verifyResult() local 1129 bool isOk = (refPix[0] == cmpPix[0]); in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationNoneStageTests.cpp | 1127 IVec4 refPix = reference.getPixelInt(x, y, 0); in verifyResult() local 1129 bool isOk = (refPix[0] == cmpPix[0]); in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 395 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare() local 397 UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); in intThresholdCompare()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 395 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare() local 397 UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); in intThresholdCompare()
|