Correct the test conditions for sRGB_write_control
authorGraeme Leese <graeme.leese@broadcom.com>
Tue, 9 May 2017 14:21:53 +0000 (15:21 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 24 May 2017 14:21:18 +0000 (10:21 -0400)
commit972f5cb05f01cca1b6ad357d9a9ab84be9776715
treeb0a82f27d6d190827df545e9c8b985ff18f0e4b1
parent6a5b6dbfab94759af596ecbcf7659317deb45cfe
Correct the test conditions for sRGB_write_control

The extension is not part of ES3.2, so the not-supported version of the
tests should be run on ES3.2 implementations without the
GL_EXT_sRGB_write_control extension.

VK-GL-CTS Issue: 389
Components: AOSP

Affects:
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_enabled
dEQP-GLES31.functional.fbo.srgb_write_control.framebuffer_srgb_unsupported_enum

Change-Id: I42a531aa7d1ad38f7a85cde1a5da659f780ec5d5
(cherry picked from commit 2d987e3b1e3c564ddc197124b1c7689aed060b8e)
modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp