From 65f3419878e41ad1b677e580af2538f9559e8064 Mon Sep 17 00:00:00 2001 From: Kyle Griffiths Date: Thu, 7 Jan 2021 11:38:11 +0000 Subject: [PATCH] Threshold Consistency for ES2 FBO Tests 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gles2/functional/es2fFboRenderTest.cpp b/modules/gles2/functional/es2fFboRenderTest.cpp index 0007801..64cbba3 100644 --- a/modules/gles2/functional/es2fFboRenderTest.cpp +++ b/modules/gles2/functional/es2fFboRenderTest.cpp @@ -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) -- 2.7.4