mesa: Depth and stencil attachments must be the same in OpenGL ES3
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 12 Dec 2014 14:14:32 +0000 (15:14 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 13 Jan 2015 11:19:32 +0000 (12:19 +0100)
commitd42e09038628c47a060008ecfe54e51344a2bd5a
tree9b3c02c4953102f4e43b1b067451beea2261d6e6
parentb8b1d83c71fd148d2fd84afdc20c0aa367114f92
mesa: Depth and stencil attachments must be the same in OpenGL ES3

"9.4. FRAMEBUFFER COMPLETENESS
 ...
 Depth and stencil attachments, if present, are the same image."

Notice that this restriction is not included in the OpenGL ES2 spec.

Fixes 18 dEQP tests in:
dEQP-GLES3.functional.fbo.completeness.attachment_combinations.*

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