Restrict alpha range for rgba5551 surfaces
authorJames Glanville <james.glanville@imgtec.com>
Thu, 22 Feb 2018 14:58:05 +0000 (14:58 +0000)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 14 Mar 2018 08:07:51 +0000 (04:07 -0400)
commit4ef1aa2de50e5b830fe0bc36bf88675b66736237
tree2e17c2ff470b0d703abe7a7b9bef6553afbb17ad
parentba9b87b417b70f905e3233ffe979665c8f75fcf8
Restrict alpha range for rgba5551 surfaces

The tests were blending against an rgba5551 surface and expecting alpha
to be quantized to 1 bit between every drawcall. The spec does not
forbid implementations to use higher precision internal representations
where this quantisation may not occur to the same extent. This change
restricts fragment outputs to be either 0 or 1, so the issue is avoided

Components: OpenGL

VK-GL-CTS issue: 988

Affects:
dEQP-EGL.functional.render.*rgba5551*

Change-Id: Id8fa5068931124d79ae7fa1b9b8a41845c73e507
modules/egl/teglRenderTests.cpp