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)
committerTate Hornbeck <tateh@qti.qualcomm.com>
Tue, 7 Aug 2018 14:12:20 +0000 (10:12 -0400)
commit05c93d5ee9b4d9d898b639d2fad07d412f0882f1
tree1ca8224efccf2060e18e6c70a34d12bd09a13efa
parent07fdd634be304a560ded6f7396172bfcef6e42ab
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
(cherry picked from commit ccd2cb41bc3813de087747a7f173cd2c8d8180c2)
modules/gles2/functional/es2fFboApiTest.cpp
modules/gles2/functional/es2fNegativeBufferApiTests.cpp