Test glRenderbufferStorage with unsized depth format
authorNicolas Capens <capn@google.com>
Tue, 23 Jan 2018 23:16:39 +0000 (23:16 +0000)
committerNicolas Capens <capn@google.com>
Tue, 23 Jan 2018 23:24:16 +0000 (23:24 +0000)
commit16fc7b99edc0efc192f2e2f9b8750a922eb287ee
treee67eff0ea7bef8f015a1f5313baf36b226a3def6
parenta73c1d93008c1b4cac1d82daa2b4ba020da1d1b6
Test glRenderbufferStorage with unsized depth format

The OpenGL ES 2.0 specification only supports formats from Table 4.5,
which are all sized internal formats, while ES 3.0 explicitly states
that "<internalformat> must be a sized internal format".

A color format (GL_RGBA) was already being negatively tested for, but
not a depth format.
modules/gles2/functional/es2fNegativeBufferApiTests.cpp