Allow glFramebufferTexture2D with level!=0 in ES2 tests with ES3
authorJames Glanville <james.glanville@imgtec.com>
Wed, 4 Jul 2018 09:59:44 +0000 (10:59 +0100)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 12 Jul 2018 07:19:05 +0000 (03:19 -0400)
commitccd2cb41bc3813de087747a7f173cd2c8d8180c2
treeb40c3bfddc8fe80e39fc569486bffd13bad02b5a
parent24db057c95151b573f6c0a7ef5b35569c4a297e0
Allow glFramebufferTexture2D with level!=0 in ES2 tests with ES3

These ES2 tests were expecting GL errors when attaching non-zero
levels to a framebuffer where GL_OES_fbo_render_mipmap is not
supported. This functionality is core in ES3 contexts, so the tests
much assume support for mippmapped rendering in this case.

Affects:
dEQP-GLES2.functional.negative_api.buffer.framebuffer_texture2d
dEQP-GLES2.functional.fbo.api.texture_levels

Components:
dEQP

VK-GL-CTS issue: 1263

Change-Id: I3dc7c8f1f2cc7efb5c227a0aec11983b185be03c
modules/gles2/functional/es2fFboApiTest.cpp
modules/gles2/functional/es2fNegativeBufferApiTests.cpp