Lines Matching defs:errorMask
1293 const tcu::PixelBufferAccess& errorMask,
1302 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1330 tcu::clear(errorMask, tcu::RGBA::green().toVec());
1384 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
1396 const tcu::PixelBufferAccess& errorMask,
1405 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1456 tcu::clear(errorMask, tcu::RGBA::green().toVec());
1529 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
1550 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1556 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1567 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
1586 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1592 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1603 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
1614 const tcu::PixelBufferAccess& errorMask,
1623 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1680 tcu::clear(errorMask, tcu::RGBA::green().toVec());
1762 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
1783 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1789 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1800 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
1811 const tcu::PixelBufferAccess& errorMask,
1820 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1871 tcu::clear(errorMask, tcu::RGBA::green().toVec());
1950 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
1971 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1977 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1988 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
1999 const tcu::PixelBufferAccess& errorMask,
2008 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2038 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2093 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2106 const tcu::PixelBufferAccess& errorMask,
2115 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2147 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2207 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2228 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2234 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
2245 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
2264 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2270 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
2281 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
2292 const tcu::PixelBufferAccess& errorMask,
2302 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2354 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2437 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2459 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2465 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, coordBits, lodPrec, testCtx.getWatchDog());
2476 << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
2488 const tcu::PixelBufferAccess& errorMask,
2497 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2526 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2538 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2590 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2602 const tcu::PixelBufferAccess& errorMask,
2611 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2642 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2654 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2714 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2726 const tcu::PixelBufferAccess& errorMask,
2735 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2764 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2776 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2829 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2841 const tcu::PixelBufferAccess& errorMask,
2850 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2876 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2888 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2934 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
2946 const tcu::PixelBufferAccess& errorMask,
2955 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2983 tcu::clear(errorMask, tcu::RGBA::green().toVec());
2995 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
3042 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
3054 const tcu::PixelBufferAccess& errorMask,
3063 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
3094 tcu::clear(errorMask, tcu::RGBA::green().toVec());
3106 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
3167 errorMask.setPixel(tcu::RGBA::red().toVec(), px, py);
3179 static int compareGenMipmapBilinear (const tcu::ConstPixelBufferAccess& dst, const tcu::ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& errorMask, const GenMipmapPrecision& precision)
3207 errorMask.setPixel(isOk ? tcu::RGBA::green().toVec() : tcu::RGBA::red().toVec(), x, y);
3215 static int compareGenMipmapBox (const tcu::ConstPixelBufferAccess& dst, const tcu::ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& errorMask, const GenMipmapPrecision& precision)
3243 errorMask.setPixel(isOk ? tcu::RGBA::green().toVec() : tcu::RGBA::red().toVec(), x, y);
3251 static int compareGenMipmapVeryLenient (const tcu::ConstPixelBufferAccess& dst, const tcu::ConstPixelBufferAccess& src, const tcu::PixelBufferAccess& errorMask, const GenMipmapPrecision& precision)
3298 errorMask.setPixel(isOk ? tcu::RGBA::green().toVec() : tcu::RGBA::red().toVec(), x, y);
3326 tcu::Surface errorMask (dst.getWidth(), dst.getHeight());
3333 const int numFailed = compareGenMipmapBilinear(dst, src, errorMask.getAccess(), precision);
3342 const int numFailed = compareGenMipmapBox(dst, src, errorMask.getAccess(), precision);
3355 const int numFailed = compareGenMipmapVeryLenient(dst, src, errorMask.getAccess(), precision);
3369 log << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);
3411 tcu::Surface errorMask (dst.getWidth(), dst.getHeight());
3418 const int numFailed = compareGenMipmapBilinear(dst, src, errorMask.getAccess(), precision);
3427 const int numFailed = compareGenMipmapBox(dst, src, errorMask.getAccess(), precision);
3440 const int numFailed = compareGenMipmapVeryLenient(dst, src, errorMask.getAccess(), precision);
3454 log << tcu::TestLog::Image("ErrorMask", "Error mask", errorMask);