From: Jamie Madill Date: Thu, 8 Dec 2016 19:51:07 +0000 (-0500) Subject: Allow ANGLE_depth_texture for FBO completeness. X-Git-Tag: upstream/0.1.0~445^2~98^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9976327d7b909342f660147280b3fc8660df3a28;p=platform%2Fupstream%2FVK-GL-CTS.git Allow ANGLE_depth_texture for FBO completeness. This extension enables the same depth attachment formats as GL_OES_depth_texture. The few restrictions on usage aren't relevant for the completeness tests. Bug: 33453991 --- diff --git a/modules/glshared/glsFboCompletenessTests.cpp b/modules/glshared/glsFboCompletenessTests.cpp index 3901ec1..791d8c9 100644 --- a/modules/glshared/glsFboCompletenessTests.cpp +++ b/modules/glshared/glsFboCompletenessTests.cpp @@ -232,6 +232,12 @@ static const FormatExtEntry s_esExtFormats[] = (deUint32)(DEPTH_RENDERABLE | STENCIL_RENDERABLE | TEXTURE_VALID), GLS_ARRAY_RANGE(s_oesPackedDepthStencilTexFormats) }, + // The ANGLE extension incorporates GL_OES_depth_texture/GL_OES_packed_depth_stencil. + { + "GL_ANGLE_depth_texture", + (deUint32)(REQUIRED_RENDERABLE | DEPTH_RENDERABLE | TEXTURE_VALID), + GLS_ARRAY_RANGE(s_oesDepthTextureFormats), + }, // \todo [2013-12-10 lauri] Find out if OES_texture_half_float is really a // requirement on ES3 also. Or is color_buffer_half_float applicatble at // all on ES3, since there's also EXT_color_buffer_float?