mesa: Considers GL_DEPTH_STENCIL_ATTACHMENT a valid argument for FBO invalidation...
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 18 Nov 2014 15:28:18 +0000 (16:28 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 9 Dec 2014 10:40:00 +0000 (11:40 +0100)
commit242ad326552b10a31667eba0be5677a4d8397dc4
tree1198497458c34945c587e3817bddb16c0b080afd
parent8420a956924c720b3c4932a577623f836758c21c
mesa: Considers GL_DEPTH_STENCIL_ATTACHMENT a valid argument for FBO invalidation under GLES3

In OpenGL and OpenGL-ES 3+, GL_DEPTH_STENCIL_ATTACHMENT is a valid attachment point for the family of functions
that invalidate a framebuffer object (e.g, glInvalidateFramebuffer, glInvalidateSubFramebuffer, etc).
Currently, a GL_INVALID_ENUM error is emitted for this attachment point.

Fixes 21 dEQP test failures under 'dEQP-GLES3.functional.fbo.invalidate.*'.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/fbobject.c