Home
last modified time | relevance | path

Searched refs:refPix (Results 1 – 15 of 15) sorted by relevance

/third_party/vk-gl-cts/framework/common/
DtcuImageCompare.cpp119 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/
DgluTextureTestUtil.cpp1341 …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/
Des3fASTCDecompressionCases.cpp166 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/
DvktTextureCompressedFormatTests.cpp255 const tcu::IVec4 refPix = reference.toIVec(); in compareColor() local
258 diff = abs(refPix - cmpPix).cast<deUint32>(); in compareColor()
DvktSampleVerifier.cpp119 …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/
DvktTextureCompressedFormatTests.cpp255 const tcu::IVec4 refPix = reference.toIVec(); in compareColor() local
258 diff = abs(refPix - cmpPix).cast<deUint32>(); in compareColor()
DvktSampleVerifier.cpp119 …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/
DvktShaderLibrary.cpp1563 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/
DvktShaderLibrary.cpp1563 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/
DvktDrawMultipleInterpolationTests.cpp699 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/
DvktDrawMultipleInterpolationTests.cpp699 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/
DvktSynchronizationNoneStageTests.cpp1127 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/
DvktSynchronizationNoneStageTests.cpp1127 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/
DvktPipelineMultisampleSampleLocationsExtTests.cpp395 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/
DvktPipelineMultisampleSampleLocationsExtTests.cpp395 IVec4 refPix = reference.getPixelInt(x, y, z); in intThresholdCompare() local
397 UVec4 diff = abs(refPix - cmpPix).cast<deUint32>(); in intThresholdCompare()