commit | ca2b81b5f613ece84a92dc1bac6b84603bfd2d72 | [log] [tgz] |
---|---|---|
author | Juan A. Suarez Romero <jasuarez@igalia.com> | Thu Apr 19 15:35:40 2018 +0000 |
committer | Alexander Galazin <Alexander.Galazin@arm.com> | Wed May 16 04:40:56 2018 -0400 |
tree | 981e64261c99b145561640989a053a0b5cdb878a | |
parent | 694274b94c76fc03eacb8c0cfed95a4a67f7e851 [diff] |
GL_SRG8_ALPHA8 also supported in OpenGL ES 3.0+ dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.srgb8_alpha8 assumes that using GL_SRGB8_ALPHA8 format in RenderBuffer should fail for OpenGL ES 2.0 because it is not supported in the specification, unless either EXT_sRGB or EXT_sRGB_write_control are implemented, as they add this format as supported. But when creating the OpenGL context, it can be either 2.0 or an upper version. If 3.0+ is returned, this version supports this format without those extensions, and thus the test should pass. So this change ensures that if OpenGL ES 3.0+ context is returned, then the use of GL_SRGB8_ALPHA8 in RenderBuffer should work. Affected tests: dEQP-GLES2.functional.fbo.completeness.renderable.renderbuffer.color0.srgb8_alpha8 Components: OpenGL VK-GL-CTS issue: 1137 Change-Id: Ibb95736959ff9d5b0ff972ccf3983abc98795be3 (cherry picked from commit a72652c15bbb6bbeed3fdf357630166095c44d91)
This repository contains a GPU testing suite called dEQP (drawElements Quality Program). dEQP contains tests for several graphics APIs, including OpenGL ES, EGL, and Vulkan.
Up-to-date documentation for the dEQP is available at Android Open Source Project site.
This repository includes Khronos Vulkan CTS under external/vulkancts
directory. For more information see Vulkan CTS README.
This repository includes Khronos OpenGL / OpenGL ES CTS under external/openglcts
directory. For more information see OpenGL / OpenGL ES CTS README.