Threshold Consistency for ES2 FBO Tests
authorKyle Griffiths <Kyle.Griffiths@imgtec.com>
Thu, 7 Jan 2021 11:38:11 +0000 (11:38 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 21 Jan 2021 16:15:34 +0000 (16:15 +0000)
ES3 and 3.1 tests both use the same fuzzycompare threshold value
for their FBO tests, whereas ES2 uses a smaller value despite
having the same coarse formats that require the high threshold.

This change adjusts the ES2 FBO Render Test threshold to match
the value set for ES3 and ES3.1

Affects:

dEQP-GLES2.functional.fbo.render.*

Components: GLES2

VK-GL-CTS Issue: 2715

Change-Id: I15203e1ecf45081ec27baee59b780c5bdf5aacaf
(cherry picked from commit 34d1a2e19b9e12b6413fe61d8dc4ee752c6053e4)

modules/gles2/functional/es2fFboRenderTest.cpp

index 0007801..64cbba3 100644 (file)
@@ -625,7 +625,7 @@ TestCase::IterateResult FboRenderCase::iterate (void)
        }
 
        // Compare images
-       const float             threshold       = 0.03f;
+       const float             threshold       = 0.05f;
        bool                    imagesOk        = tcu::fuzzyCompare(log, "ComparisonResult", "Image comparison result", refFrame, gles2Frame, threshold, tcu::COMPARE_LOG_RESULT);
 
        if (!imagesOk && !failReason)