Home
last modified time | relevance | path

Searched refs:errorMask (Results 1 – 25 of 45) sorted by relevance

12

/external/deqp/framework/common/
DtcuImageCompare.cpp91 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 …]
DtcuBilinearImageCompare.cpp191 …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()
DtcuFuzzyImageCompare.cpp273 …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()
DtcuBilinearImageCompare.hpp35 …ference, const ConstPixelBufferAccess& result, const PixelBufferAccess& errorMask, const RGBA thre…
DtcuFuzzyImageCompare.hpp44 …onstPixelBufferAccess& ref, const ConstPixelBufferAccess& cmp, const PixelBufferAccess& errorMask);
DtcuRasterizationVerifier.cpp663 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyTriangleGroupInterpolationWithInterpolator() local
665 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in verifyTriangleGroupInterpolationWithInterpolator()
774 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator()
834 errorMask.setPixel(x, y, invalidPixelColor); in verifyTriangleGroupInterpolationWithInterpolator()
849 << tcu::TestLog::Image("ErrorMask", "ErrorMask", errorMask) in verifyTriangleGroupInterpolationWithInterpolator()
1263 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifySinglesampleLineGroupRasterization() local
1266 tcu::clear(errorMask.getAccess(), tcu::IVec4(0, 255, 0, 255)); in verifySinglesampleLineGroupRasterization()
1306 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySinglesampleLineGroupRasterization()
1651 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local
1660 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)); in verifyLineGroupPixelIndependentInterpolation()
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp195 const tcu::PixelBufferAccess& errorMask,
205 const tcu::PixelBufferAccess& errorMask,
215 const tcu::PixelBufferAccess& errorMask,
225 const tcu::PixelBufferAccess& errorMask,
235 const tcu::PixelBufferAccess& errorMask,
245 const tcu::PixelBufferAccess& errorMask,
255 const tcu::PixelBufferAccess& errorMask,
330 const tcu::PixelBufferAccess& errorMask,
340 const tcu::PixelBufferAccess& errorMask,
350 const tcu::PixelBufferAccess& errorMask,
DgluTextureTestUtil.cpp1227 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument
1236 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff()
1264 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff()
1318 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff()
1330 const tcu::PixelBufferAccess& errorMask, in computeTextureLookupDiff() argument
1339 …DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight()… in computeTextureLookupDiff()
1371 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff()
1444 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff()
1465 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in verifyTextureResult() local
1471 …numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), s… in verifyTextureResult()
[all …]
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp288 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()
Des3fShaderDerivateTests.cpp403 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;
854 tcu::Surface errorMask(result.getWidth(), result.getHeight()); in iterate() local
855 tcu::clear(errorMask.getAccess(), tcu::RGBA::green().toVec()); in iterate()
[all …]
Des3fShaderInvarianceTests.cpp361 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/
Des2fDitheringTests.cpp282 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()
Des2fDefaultVertexAttributeTests.cpp423 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()
Des2fShaderInvarianceTests.cpp361 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/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp339 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/
DditImageCompareTests.cpp68 tcu::TextureLevel errorMask; in iterate() local
78errorMask.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/
DteglNativeCoordMappingTests.cpp266 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/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleResolveTests.cpp737 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::… in verify() local
788 errorMask.getAccess().setPixel(okColor, x, y, z); in verify()
797 errorMask.getAccess().setPixel(errorColor, x, y, z); in verify()
816 logImage("ErrorMask", errorMask.getAccess()); in verify()
891 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify()
902 logImage("ErrorMask", errorMask.getAccess()); in verify()
992 errorMask.getAccess().setPixel((isOk ? okColor : errorColor), x, y, z); in verify()
1003 logImage("ErrorMask", errorMask.getAccess()); in verify()
1090 …tcu::TextureLevel errorMask (tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in iterate() local
1123 errorMask.getAccess().setPixel(okColor, x, y, z); in iterate()
[all …]
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp179 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/
Des31sTessellationGeometryInteractionTests.cpp381 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/modules/gles31/functional/
Des31fSampleVariableTests.cpp209 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()
745 tcu::Surface errorMask (width, height); in verifySampleBuffers() local
750 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers()
781 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySampleBuffers()
799 << tcu::TestLog::Image("ErrorMask", "Error Mask", errorMask.getAccess()) in verifySampleBuffers()
809 tcu::Surface errorMask (width, height); in verifySampleBuffers() local
813 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifySampleBuffers()
[all …]
Des31fPrimitiveBoundingBoxTests.cpp1318 tcu::Surface errorMask (config.viewportSize.x(), config.viewportSize.y()); in verifyRenderResult() local
1343 tcu::clear(errorMask.getAccess(), tcu::IVec4(0,0,0,255)); in verifyRenderResult()
1380 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyRenderResult()
1393 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyRenderResult()
2204 deUint8 errorMask = 0; in checkLineContinuity() local
2237 errorMask = SCANRESULT_LINE_CONT_WARN_BIT; in checkLineContinuity()
2239 errorMask = SCANRESULT_LINE_CONT_ERR_BIT; in checkLineContinuity()
2242 return errorMask; in checkLineContinuity()
2256 deUint8 errorMask = 0; in checkLineWidths() local
2296 errorMask |= SCANRESULT_LINE_WIDTH_ERR_BIT; in checkLineWidths()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp336 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local
381 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
396 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
569 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local
619 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
635 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
850 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local
894 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
909 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
1033 tcu::Surface errorMask (viewportWidth, viewportHeight); in iterate() local
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp182 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/
DvktTessellationGeometryGridRenderTests.cpp486 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local
489 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer()
502 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer()
520 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()

12