From 95694eca4fce2c162b99f0af688a877a4434588a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 5 Jun 2015 18:40:53 -0700 Subject: [PATCH] Add a 1-bit tolerance to dEQP-GLES3.functional.pbo.renderbuffer --- modules/gles3/functional/es3fPixelBufferObjectTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gles3/functional/es3fPixelBufferObjectTests.cpp b/modules/gles3/functional/es3fPixelBufferObjectTests.cpp index 2d92630..428c4a1 100644 --- a/modules/gles3/functional/es3fPixelBufferObjectTests.cpp +++ b/modules/gles3/functional/es3fPixelBufferObjectTests.cpp @@ -563,7 +563,7 @@ TestCase::IterateResult ReadPixelsTest::iterate(void) bool isOk = false; if (floatCompare) - isOk = tcu::floatThresholdCompare(m_log, "Result comparision", "Result of read pixels to memory compared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::COMPARE_LOG_RESULT); + isOk = tcu::floatThresholdCompare(m_log, "Result comparision", "Result of read pixels to memory compared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::Vec4(0.004f, 0.004f, 0.004f, 0.004f), tcu::COMPARE_LOG_RESULT); else isOk = tcu::intThresholdCompare(m_log, "Result comparision", "Result of read pixels to memory compared with result of read pixels to buffer", readRefrence.getLevel(0), readResult, tcu::UVec4(0, 0, 0, 0), tcu::COMPARE_LOG_RESULT); -- 2.4.1