Home
last modified time | relevance | path

Searched refs:errorMask (Results 1 – 25 of 42) 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()
1162 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifySinglesampleLineGroupRasterization() local
1165 tcu::clear(errorMask.getAccess(), tcu::IVec4(0, 255, 0, 255)); in verifySinglesampleLineGroupRasterization()
1205 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifySinglesampleLineGroupRasterization()
1215 << tcu::TestLog::Image("ErrorMask", "ErrorMask", errorMask) in verifySinglesampleLineGroupRasterization()
1542 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); in verifyLineGroupPixelIndependentInterpolation() local
[all …]
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp185 const tcu::PixelBufferAccess& errorMask,
195 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,
320 const tcu::PixelBufferAccess& errorMask,
330 const tcu::PixelBufferAccess& errorMask,
340 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()
1369 tcu::clear(errorMask, tcu::RGBA::green().toVec()); in computeTextureLookupDiff()
1428 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py); in computeTextureLookupDiff()
1449 tcu::Surface errorMask (result.getWidth(), result.getHeight()); in verifyTextureResult() local
1455 …numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), s… in verifyTextureResult()
[all …]
/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/modules/gles3/functional/
Des3fDitheringTests.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()
395 Surface errorMask (viewportWid, viewportHei); in drawAndCheckUnicoloredQuad() local
404 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad()
413 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad()
419 log << TestLog::Image("ColorChoiceErrorMask", "Error mask for color choices", errorMask); in drawAndCheckUnicoloredQuad()
Des3fShaderDerivateTests.cpp374 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument
404 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate()
438 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument
447 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations()
448 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations()
462 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations()
545 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations()
569 … (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = DE_NULL;
825 tcu::Surface errorMask(result.getWidth(), result.getHeight()); in iterate() local
826 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()
Des3fTextureMipmapTests.cpp395 tcu::Surface errorMask (viewport.width, viewport.height); in iterate() local
440 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
455 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
708 tcu::Surface errorMask (viewport.width, viewport.height); in iterate() local
759 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
773 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
1342 tcu::Surface errorMask (viewport.width, viewport.height); in iterate() local
1386 tcu::getSubregion(errorMask.getAccess(), curX, curY, curW, curH), in iterate()
1401 << TestLog::Image("ErrorMask", "Error mask", errorMask); in iterate()
1556 tcu::Surface errorMask (viewport.width, viewport.height); in iterate() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp338 const tcu::PixelBufferAccess& errorMask, in verifyConstantDerivate() argument
368 errorMask.setPixel(tcu::RGBA::red().toVec(), x, y); in verifyConstantDerivate()
402 const tcu::PixelBufferAccess& errorMask, in reverifyConstantDerivateWithFlushRelaxations() argument
411 DE_ASSERT(result.getWidth() == errorMask.getWidth()); in reverifyConstantDerivateWithFlushRelaxations()
412 DE_ASSERT(result.getHeight() == errorMask.getHeight()); in reverifyConstantDerivateWithFlushRelaxations()
426 tcu::clear(errorMask, green); in reverifyConstantDerivateWithFlushRelaxations()
509 errorMask.setPixel(red, x, y); in reverifyConstantDerivateWithFlushRelaxations()
597 …ify (const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask) = 0;
701 tcu::Surface errorMask(resultImage.getWidth(), resultImage.getHeight()); in iterate() local
702 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/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.cpp1282 tcu::Surface errorMask (config.viewportSize.x(), config.viewportSize.y()); in verifyRenderResult() local
1307 tcu::clear(errorMask.getAccess(), tcu::IVec4(0,0,0,255)); in verifyRenderResult()
1344 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyRenderResult()
1357 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyRenderResult()
2168 deUint8 errorMask = 0; in checkLineContinuity() local
2201 errorMask = SCANRESULT_LINE_CONT_WARN_BIT; in checkLineContinuity()
2203 errorMask = SCANRESULT_LINE_CONT_ERR_BIT; in checkLineContinuity()
2206 return errorMask; in checkLineContinuity()
2220 deUint8 errorMask = 0; in checkLineWidths() local
2260 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.cpp483 tcu::Surface errorMask (image.getWidth(), image.getHeight()); in verifyResultLayer() local
486 tcu::clear(errorMask.getAccess(), tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)); in verifyResultLayer()
499 errorMask.setPixel(x, y, tcu::RGBA::red()); in verifyResultLayer()
517 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask.getAccess()) in verifyResultLayer()

12