Use safe glFramebufferTexture* function
authorjames.glanville <james.glanville@imgtec.com>
Wed, 16 Aug 2017 10:50:19 +0000 (11:50 +0100)
committerjames.glanville <james.glanville@imgtec.com>
Wed, 16 Aug 2017 10:50:19 +0000 (11:50 +0100)
commitf2cb65300c43dbd333e587544f560e15ab980c62
treeccc976e9ba2441b861917b315341fa02af514bfb
parent573154bb7bb4c40fbdce77b6633ebc8919e6a641
Use safe glFramebufferTexture* function

glFramebufferTexture() is only supported when GL_EXT_geometry_shader is
present. Use glFramebufferTextureLayer() instead so that testing is
possible on unextended ES3.1 contexts.

Components: AOSP

Affects:
dEQP-GLES31.functional.shaders.framebuffer_fetch.basic.framebuffer_texture_level
modules/gles31/functional/es31fShaderFramebufferFetchTests.cpp