i965: be more specific about FBO completeness errors
authorGert Wollny <gert.wollny@collabora.com>
Thu, 15 Nov 2018 18:01:22 +0000 (19:01 +0100)
committerGert Wollny <gw.fossdev@gmail.com>
Mon, 19 Nov 2018 07:05:44 +0000 (08:05 +0100)
commitebcde3454552adc6d3fea8af2207aafaba857796
treee26f83f89dfb96537c772422ad28f8f1201b8bfa
parent24a02157dd7552712fda45317140c26dad44ea09
i965: be more specific about FBO completeness errors

The driver was returning GL_FRAMEBUFFER_UNSUPPORTED for all cases of an
incomplete fbo, be a bit more specific about this following the description
of glCheckFramebufferStatus.

This helps to keeps dEQP happy when adding EXT_texture_sRGB_R8 support.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/mesa/drivers/dri/i965/intel_fbo.c