Remove illegal parameter use in fbo.completeness
authorCourtney Goeltzenleuchter <courtneygo@google.com>
Wed, 31 Jul 2019 15:59:40 +0000 (09:59 -0600)
committerCourtney Goeltzenleuchter <courtneygo@google.com>
Wed, 13 May 2020 19:43:34 +0000 (13:43 -0600)
dEQP.GLES2.functional.fbo.completeness.renderable.texture
was calling glTexImage2D with a internalformat of GL_SRGB8
which is not valid for GLES 2.0 even with GL_EXT_sRGB.

Affects:
dEQP-GLES2.functional.fbo.completeness.renderable.texture.color0.srgb8
dEQP-GLES2.functional.fbo.completeness.renderable.texture.stencil.srgb8
dEQP-GLES2.functional.fbo.completeness.renderable.texture.depth.srgb8

Components: AOSP

VK-GL-CTS issue: 1906

Change-Id: I97003eda10600a0a33e7212b6b5de34c5b2c8848
(cherry picked from commit 1de1dae629667dd79c896906540b1360e78d001a)

modules/glshared/glsFboCompletenessTests.cpp

index 4c71ab9..fea80a6 100644 (file)
@@ -176,7 +176,6 @@ static const FormatKey s_extSrgbRenderableTexFormats[] =
 static const FormatKey s_extSrgbNonRenderableTexFormats[] =
 {
        GLS_UNSIZED_FORMATKEY(GL_SRGB,                  GL_UNSIGNED_BYTE),
-       GL_SRGB8,
 };
 
 static const FormatKey s_nvSrgbFormatsRboFormats[] =