Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable
authorKenneth Graunke <kenneth.w.graunke@intel.com>
Sat, 9 Sep 2017 06:26:15 +0000 (23:26 -0700)
committerChris Forbes <chrisforbes@google.com>
Mon, 19 Mar 2018 16:11:36 +0000 (16:11 +0000)
commited2ab05837ebe94950ab46e9d7d8e56de1685df0
treed04a8a60f74bd8590521dde4e39db42fa9398ac3
parent24f69aed49bc7615d5949341a39c8cc550c92fb5
Require GL_EXT_sRGB_write_control for GL_FRAMEBUFFER_SRGB enable/disable

This test required GL_EXT_sRGB_write_control or ES 3.2.  But glEnable
and glDisable of GL_FRAMEBUFFER_SRGB requires the extension - ES 3.2
doesn't provide that functionality.  ES 3.2 implementations without the
extension would fail.  Now they report NotSupported.

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

Components: AOSP

Bug: b/75898891

Change-Id: I9d6b3fba892288354620ecbbc51ef7a351507e43
(cherry picked from commit f5bc215a968512ba967ce68cc3640c45bc776f2c)
modules/gles31/functional/es31fFboSRGBWriteControlTests.cpp