Lines Matching refs:result
1016 return tcu::pixelThresholdCompare(log, "Result", "Image comparison result", reference, rendered, threshold, tcu::COMPARE_LOG_RESULT);
1026 return tcu::measurePixelDiffAccuracy(log, "Result", "Image comparison result", reference, rendered, bestScoreDiff, worstScoreDiff, tcu::COMPARE_LOG_EVERYTHING);
1288 // Texture result verification
1291 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
1301 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
1302 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1309 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
1332 for (int py = 0; py < result.getHeight(); py++)
1338 for (int px = 0; px < result.getWidth(); px++)
1340 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
1394 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
1404 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
1405 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1425 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
1458 for (int py = 0; py < result.getHeight(); py++)
1464 for (int px = 0; px < result.getWidth(); px++)
1466 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
1540 const tcu::ConstPixelBufferAccess& result,
1549 tcu::Surface reference (result.getWidth(), result.getHeight());
1550 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1556 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1561 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
1562 << tcu::TestLog::Image("Rendered", "Rendered image", result);
1576 const tcu::ConstPixelBufferAccess& result,
1585 tcu::Surface reference (result.getWidth(), result.getHeight());
1586 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1592 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1597 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
1598 << tcu::TestLog::Image("Rendered", "Rendered image", result);
1612 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
1622 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
1623 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1642 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
1682 for (int py = 0; py < result.getHeight(); py++)
1688 for (int px = 0; px < result.getWidth(); px++)
1690 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
1773 const tcu::ConstPixelBufferAccess& result,
1782 tcu::Surface reference (result.getWidth(), result.getHeight());
1783 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1789 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1794 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
1795 << tcu::TestLog::Image("Rendered", "Rendered image", result);
1809 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
1819 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
1820 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
1839 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
1873 for (int py = 0; py < result.getHeight(); py++)
1879 for (int px = 0; px < result.getWidth(); px++)
1881 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
1961 const tcu::ConstPixelBufferAccess& result,
1970 tcu::Surface reference (result.getWidth(), result.getHeight());
1971 tcu::Surface errorMask (result.getWidth(), result.getHeight());
1977 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
1982 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
1983 << tcu::TestLog::Image("Rendered", "Rendered image", result);
1997 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
2007 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2008 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2016 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2040 for (int py = 0; py < result.getHeight(); py++)
2046 for (int px = 0; px < result.getWidth(); px++)
2048 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
2104 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
2114 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2115 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2124 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2149 for (int py = 0; py < result.getHeight(); py++)
2155 for (int px = 0; px < result.getWidth(); px++)
2157 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
2218 const tcu::ConstPixelBufferAccess& result,
2227 tcu::Surface reference (result.getWidth(), result.getHeight());
2228 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2234 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
2239 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
2240 << tcu::TestLog::Image("Rendered", "Rendered image", result);
2254 const tcu::ConstPixelBufferAccess& result,
2263 tcu::Surface reference (result.getWidth(), result.getHeight());
2264 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2270 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, lodPrec, testCtx.getWatchDog());
2275 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
2276 << tcu::TestLog::Image("Rendered", "Rendered image", result);
2290 int computeTextureLookupDiff (const tcu::ConstPixelBufferAccess& result,
2301 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2302 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2322 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2356 for (int py = 0; py < result.getHeight(); py++)
2362 for (int px = 0; px < result.getWidth(); px++)
2364 const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorScale;
2448 const tcu::ConstPixelBufferAccess& result,
2458 tcu::Surface reference (result.getWidth(), result.getHeight());
2459 tcu::Surface errorMask (result.getWidth(), result.getHeight());
2465 numFailedPixels = computeTextureLookupDiff(result, reference.getAccess(), errorMask.getAccess(), src, texCoord, sampleParams, lookupPrec, coordBits, lodPrec, testCtx.getWatchDog());
2470 log << tcu::TestLog::ImageSet("VerifyResult", "Verification result")
2471 << tcu::TestLog::Image("Rendered", "Rendered image", result);
2486 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
2496 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2497 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2502 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2528 for (int py = 0; py < result.getHeight(); py++)
2530 for (int px = 0; px < result.getWidth(); px++)
2532 const tcu::Vec4 resPix = result.getPixel(px, py);
2543 // Reference result is known to be a valid result, we can
2600 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
2610 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2611 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2617 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2644 for (int py = 0; py < result.getHeight(); py++)
2646 for (int px = 0; px < result.getWidth(); px++)
2648 const tcu::Vec4 resPix = result.getPixel(px, py);
2659 // Reference result is known to be a valid result, we can
2724 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
2734 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2735 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2741 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
2766 for (int py = 0; py < result.getHeight(); py++)
2768 for (int px = 0; px < result.getWidth(); px++)
2770 const tcu::Vec4 resPix = result.getPixel(px, py);
2781 // Reference result is known to be a valid result, we can
2839 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
2849 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2850 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2851 DE_ASSERT(result.getHeight() == 1);
2855 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), 1);
2880 for (int px = 0; px < result.getWidth(); px++)
2882 const tcu::Vec4 resPix = result.getPixel(px, py);
2893 // Reference result is known to be a valid result, we can
2944 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
2954 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
2955 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
2956 DE_ASSERT(result.getHeight() == 1);
2961 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), 1);
2987 for (int px = 0; px < result.getWidth(); px++)
2989 const tcu::Vec4 resPix = result.getPixel(px, py);
3000 // Reference result is known to be a valid result, we can
3052 int computeTextureCompareDiff (const tcu::ConstPixelBufferAccess& result,
3062 DE_ASSERT(result.getWidth() == reference.getWidth() && result.getHeight() == reference.getHeight());
3063 DE_ASSERT(result.getWidth() == errorMask.getWidth() && result.getHeight() == errorMask.getHeight());
3070 const tcu::IVec2 dstSize = tcu::IVec2(result.getWidth(), result.getHeight());
3096 for (int py = 0; py < result.getHeight(); py++)
3098 for (int px = 0; px < result.getWidth(); px++)
3100 const tcu::Vec4 resPix = result.getPixel(px, py);
3111 // Reference result is known to be a valid result, we can
3202 const tcu::Vec4 result = dst.getPixel(x, y);
3205 const bool isOk = tcu::isLinearSampleResultValid(src, sampler, lookupPrec, tcu::Vec2(cx, cy), 0, result);
3238 const tcu::Vec4 result = dst.getPixel(x, y);
3241 const bool isOk = tcu::isLinearSampleResultValid(src, sampler, lookupPrec, tcu::Vec2(cx, cy), 0, result);
3265 const tcu::Vec4 result = dst.getPixel(x, y);
3296 isOk = boolAll(logicalAnd(lessThanEqual(minVal, result), lessThanEqual(result, maxVal)));
3308 qpTestResult result = QP_TEST_RESULT_PASS;
3318 result = QP_TEST_RESULT_FAIL;
3350 if (!levelOk && result == QP_TEST_RESULT_PASS)
3351 result = QP_TEST_RESULT_QUALITY_WARNING;
3363 result = QP_TEST_RESULT_FAIL;
3365 log << tcu::TestLog::ImageSet(string("Level") + de::toString(levelNdx), string("Level ") + de::toString(levelNdx) + " result")
3374 return result;
3379 qpTestResult result = QP_TEST_RESULT_PASS;
3399 result = QP_TEST_RESULT_FAIL;
3435 if (!levelOk && result == QP_TEST_RESULT_PASS)
3436 result = QP_TEST_RESULT_QUALITY_WARNING;
3448 result = QP_TEST_RESULT_FAIL;
3450 log << tcu::TestLog::ImageSet(string("Level") + de::toString(levelNdx) + "Face" + de::toString(faceNdx), string("Level ") + de::toString(levelNdx) + ", face " + string(faceName) + " result")
3460 return result;