From: James Glanville Date: Thu, 2 Jul 2020 16:02:25 +0000 (+0100) Subject: Stop 10bit formats requiring GL_SRGB encoding X-Git-Tag: upstream/1.3.5~1289 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c1b42bdb058b37531e30c867d2684ff00ff4d175;p=platform%2Fupstream%2FVK-GL-CTS.git Stop 10bit formats requiring GL_SRGB encoding The EGL_KHR_gl_colorspace spec does not require formats that are not SRGB8 to respect the given EGL_GL_COLORSPACE_KHR. Components: EGL VK-GL-CTS issue: 2288 Affects: dEQP-EGL.functional.wide_color.window_1010102_colorspace_srgb dEQP-EGL.functional.wide_color.pbuffer_1010102_colorspace_srgb Change-Id: I1d9c502ef2f7068cf13d13564abdfe2d3c75b93b --- diff --git a/modules/egl/teglWideColorTests.cpp b/modules/egl/teglWideColorTests.cpp index 5a9b315..83bc57f 100644 --- a/modules/egl/teglWideColorTests.cpp +++ b/modules/egl/teglWideColorTests.cpp @@ -1130,6 +1130,10 @@ void WideColorSurfaceTest::testFramebufferColorEncoding() { correct = framebufferColorEncoding == GL_LINEAR; } + else if (m_redSize == 10) + { + correct = true; + } } else {