/external/deqp/framework/common/ |
D | tcuImageCompare.cpp | 91 static int findNumPositionDeviationFailingPixels (const PixelBufferAccess& errorMask, const ConstPi… in findNumPositionDeviationFailingPixels() argument 111 tcu::clear(errorMask, okColor); in findNumPositionDeviationFailingPixels() 151 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 174 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels() 220 …TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.… in fuzzyCompare() local 221 float difference = fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare() 230 fuzzyCompare(params, reference, result, errorMask.getAccess()); in fuzzyCompare() 241 << TestLog::Image("ErrorMask", "Error mask", errorMask) in fuzzyCompare() 494 PixelBufferAccess errorMask = errorMaskStorage.getAccess(); in floatUlpThresholdCompare() local 514 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatUlpThresholdCompare() [all …]
|
D | tcuBilinearImageCompare.cpp | 191 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre… in bilinearCompareRGBA8() argument 197 clear(errorMask, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in bilinearCompareRGBA8() 209 errorMask.setPixel(Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y); in bilinearCompareRGBA8() 219 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre… in bilinearCompare() argument 225 DE_ASSERT(reference.getWidth() == errorMask.getWidth() && in bilinearCompare() 226 reference.getHeight() == errorMask.getHeight() && in bilinearCompare() 227 reference.getDepth() == errorMask.getDepth()); in bilinearCompare() 230 return bilinearCompareRGBA8(reference, result, errorMask, threshold); in bilinearCompare()
|
D | tcuFuzzyImageCompare.cpp | 273 …ConstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask) in fuzzyCompare() argument 276 DE_ASSERT(errorMask.getWidth() == ref.getWidth() && errorMask.getHeight() == ref.getHeight()); in fuzzyCompare() 314 clear(errorMask, Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in fuzzyCompare() 340 errorMask.setPixel(Vec4(red*rF, (1.0f-red)*rF, 0.0f, 1.0f), x, y); in fuzzyCompare()
|
D | tcuRasterizationVerifier.hpp | 134 tcu::Surface errorMask; member 142 tcu::Surface errorMask; member
|
D | tcuBilinearImageCompare.hpp | 35 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre…
|
D | tcuFuzzyImageCompare.hpp | 44 …onstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask);
|
D | tcuRasterizationVerifier.cpp | 671 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator() local 673 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in verifyTriangleGroupInterpolationWithInterpolator() 785 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator() 846 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator() 860 logStash.errorMask = errorMask; in verifyTriangleGroupInterpolationWithInterpolator() 1230 << tcu::TestLog::Image("ErrorMask", "ErrorMask", logStash.errorMask) in logTriangleGroupnterpolationStash() 1432 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifySinglesampleLineGroupRasterization() local 1435 tcu::clear(errorMask.getAccess(), tcu::IVec4(0, 255, 0, 255)); in verifySinglesampleLineGroupRasterization() 1475 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySinglesampleLineGroupRasterization() 1820 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local [all …]
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 210 const tcu::PixelBufferAccess& errorMask, 220 const tcu::PixelBufferAccess& errorMask, 230 const tcu::PixelBufferAccess& errorMask, 240 const tcu::PixelBufferAccess& errorMask, 250 const tcu::PixelBufferAccess& errorMask, 260 const tcu::PixelBufferAccess& errorMask, 270 const tcu::PixelBufferAccess& errorMask, 345 const tcu::PixelBufferAccess& errorMask, 355 const tcu::PixelBufferAccess& errorMask, 365 const tcu::PixelBufferAccess& errorMask, [all …]
|
D | gluTextureTestUtil.cpp | 1293 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument 1302 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff() 1330 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff() 1384 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff() 1396 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument 1405 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff() 1456 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff() 1529 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff() 1550 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in verifyTextureResult() local 1556 …numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), s… in verifyTextureResult() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 288 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient() local 301 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 310 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 316 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckGradient() 402 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad() local 411 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 420 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad() 426 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckUnicoloredQuad()
|
D | es3fShaderDerivateTests.cpp | 403 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument 433 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate() 467 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument 476 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations() 477 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations() 491 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations() 574 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations() 598 … (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = DE_NULL; 869 tcu::Surface errorMask(result.getWidth(), result.getHeight()); in iterate() local 870 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toVec()); in iterate() [all …]
|
D | es3fShaderInvarianceTests.cpp | 361 tcu::Surface errorMask (m_renderSize, m_renderSize); in checkImage() local 363 tcu::clear(errorMask.getAccess(), okColor); in checkImage() 372 errorMask.setPixel(x, y, errColor); in checkImage() 384 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkImage()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 282 Surface errorMask (viewportWid, viewportHei); in drawAndCheckGradient() local 294 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient() 303 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient() 309 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckGradient() 397 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad() local 406 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad() 415 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad() 421 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckUnicoloredQuad()
|
D | es2fDefaultVertexAttributeTests.cpp | 423 tcu::Surface errorMask (RENDER_SIZE, RENDER_SIZE); in verifyUnicoloredBuffer() local 432 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toIVec()); in verifyUnicoloredBuffer() 453 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyUnicoloredBuffer() 467 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask) in verifyUnicoloredBuffer()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 339 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument 369 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate() 403 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument 412 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations() 413 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations() 427 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations() 510 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations() 600 …ify (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = 0; 730 tcu::Surface errorMask(resultImage.getWidth(), resultImage.getHeight()); in iterate() local 731 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toVec()); in iterate() [all …]
|
/external/deqp/modules/internal/ |
D | ditImageCompareTests.cpp | 68 tcu::TextureLevel errorMask; in iterate() local 78 …errorMask.setStorage(refImg.getFormat(), refImg.getWidth(), refImg.getHeight(), refImg.getDepth()); in iterate() 82 result = tcu::fuzzyCompare(params, refImg, cmpImg, errorMask); in iterate() 88 << TestLog::Image("ErrorMask", "Error Mask", errorMask); in iterate()
|
/external/deqp/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 266 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in validate() local 279 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 283 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 289 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 293 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 301 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate() 305 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate() 313 log << TestLog::Image("Error Mask", "Error Mask", errorMask.getAccess()); in validate()
|
/external/deqp/modules/gles2/stress/ |
D | es2sSpecialFloatTests.cpp | 179 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in checkResultImage() local 190 errorMask.setPixel(x, y, tcu::RGBA::green()); in checkResultImage() 193 errorMask.setPixel(x, y, tcu::RGBA::red()); in checkResultImage() 204 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkResultImage() 249 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local 327 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawTestPattern() 331 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawTestPattern() 341 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in drawTestPattern() 1392 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO() local 1409 errorMask.setPixel(x, y, badPixelColor); in testFBO() [all …]
|
/external/deqp/modules/gles31/stress/ |
D | es31sTessellationGeometryInteractionTests.cpp | 381 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local 384 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer() 397 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer() 417 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()
|
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
D | vktRasterizationTests.cpp | 2989 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight()); in compareAndVerifyOverestimatedNormal() local 2992 for (int y = 0; y < errorMask.getHeight(); ++y) in compareAndVerifyOverestimatedNormal() 2993 for (int x = 0; x < errorMask.getWidth(); ++x) in compareAndVerifyOverestimatedNormal() 2995 errorMask.setPixel(x, y, backgroundColor); in compareAndVerifyOverestimatedNormal() 3005 errorMask.setPixel(x, y, unexpectedPixelColor); in compareAndVerifyOverestimatedNormal() 3013 << tcu::TestLog::Image("ErrorMask", "ErrorMask", errorMask) in compareAndVerifyOverestimatedNormal() 3083 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight()); in compareAndVerifyOverestimatedDegenerate() local 3085 for (int y = 0; y < errorMask.getHeight(); ++y) in compareAndVerifyOverestimatedDegenerate() 3086 for (int x = 0; x < errorMask.getWidth(); ++x) in compareAndVerifyOverestimatedDegenerate() 3089 errorMask.setPixel(x, y, unexpectedPixelColor); in compareAndVerifyOverestimatedDegenerate() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fPrimitiveBoundingBoxTests.cpp | 1393 tcu::Surface errorMask (config.viewportSize.x(), config.viewportSize.y()); in verifyRenderResult() local 1418 tcu::clear(errorMask.getAccess(), tcu::IVec4(0,0,0,255)); in verifyRenderResult() 1455 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyRenderResult() 1468 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyRenderResult() 2280 deUint8 errorMask = 0; in checkLineContinuity() local 2313 errorMask = SCANRESULT_LINE_CONT_WARN_BIT; in checkLineContinuity() 2315 errorMask = SCANRESULT_LINE_CONT_ERR_BIT; in checkLineContinuity() 2318 return errorMask; in checkLineContinuity() 2332 deUint8 errorMask = 0; in checkLineWidths() local 2372 errorMask |= SCANRESULT_LINE_WIDTH_ERR_BIT; in checkLineWidths() [all …]
|
D | es31fSampleVariableTests.cpp | 209 tcu::Surface errorMask (resultImage.getWidth(), resultImage.getHeight()); in verifyImageWithVerifier() local 212 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyImageWithVerifier() 229 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyImageWithVerifier() 242 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask.getAccess()) in verifyImageWithVerifier() 755 tcu::Surface errorMask (width, height); in verifySampleBuffers() local 760 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers() 791 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySampleBuffers() 809 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask.getAccess()) in verifySampleBuffers() 819 tcu::Surface errorMask (width, height); in verifySampleBuffers() local 823 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 1038 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::… in verify() local 1089 errorMask.getAccess().setPixel(okColor, x, y, z); in verify() 1098 errorMask.getAccess().setPixel(errorColor, x, y, z); in verify() 1120 logImage("ErrorMask", errorMask.getAccess()); in verify() 1195 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1206 logImage("ErrorMask", errorMask.getAccess()); in verify() 1296 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify() 1307 logImage("ErrorMask", errorMask.getAccess()); in verify() 1394 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in iterate() local 1427 errorMask.getAccess().setPixel(okColor, x, y, z); in iterate() [all …]
|
/external/deqp/modules/gles3/stress/ |
D | es3sSpecialFloatTests.cpp | 182 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in checkResultImage() local 193 errorMask.setPixel(x, y, tcu::RGBA::green()); in checkResultImage() 196 errorMask.setPixel(x, y, tcu::RGBA::red()); in checkResultImage() 207 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in checkResultImage() 257 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in drawTestPattern() local 335 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawTestPattern() 339 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawTestPattern() 349 << tcu::TestLog::Image("Error mask", "Error mask", errorMask) in drawTestPattern() 1755 tcu::Surface errorMask (TEST_CANVAS_SIZE, TEST_CANVAS_SIZE); in testFBO() local 1772 errorMask.setPixel(x, y, badPixelColor); in testFBO() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationGeometryGridRenderTests.cpp | 537 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local 540 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer() 553 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer() 571 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()
|