Make sure readpixels work with 16bit fixed point surfaces
authorAri Suonpaa <ari.suonpaa@siru.fi>
Wed, 12 Feb 2020 11:28:47 +0000 (13:28 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 27 Feb 2020 11:18:16 +0000 (06:18 -0500)
commitd30b9d5e7e165759388f565b9ff2e161cb18d244
treec9f86b9cd14b9ab4c3d4a55ea4bec45b68056631
parentf1a4e2569a81881f84ee755361040f25f4e7897f
Make sure readpixels work with 16bit fixed point surfaces

Added FBO tests that use unsigned fixed point textures
as render target. Pixels are read from the FBO using
pixel type GL_UNSIGNED_SHORT since that was reported
to have problems on some implementations.

New tests:

dEQP-GLES31.functional.fbo.color.tex2d.r16
dEQP-GLES31.functional.fbo.color.tex2d.rg16
dEQP-GLES31.functional.fbo.color.tex2d.rgba16

Components: OpenGL ES

VK-GL-CTS issue: 2124

Change-Id: Icad477ae62ff6961f5989b097aa3ce73002b8dd8
android/cts/master/gles31-master.txt
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.5.x/gles31-master.txt
external/openglcts/data/mustpass/gles/aosp_mustpass/3.2.6.x/gles31-master.txt
external/openglcts/data/mustpass/gles/aosp_mustpass/master/gles31-master.txt
modules/gles31/functional/es31fFboColorbufferTests.cpp
modules/gles31/functional/es31fFboTestCase.cpp
modules/gles31/functional/es31fFboTestUtil.cpp