mesa: add missing RGB9_E5 format in _mesa_base_fbo_format
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Mon, 15 Jan 2018 10:58:50 +0000 (10:58 +0000)
committerAntia Puentes <apuentes@igalia.com>
Fri, 23 Feb 2018 09:12:06 +0000 (10:12 +0100)
commite1623b303ccc7a880e34bddef7231dcf230826b3
tree5abf203d065be373d2cdebdf187ce07e7a4e07f5
parente72062b66d9b646c0df269da5982b26237a77fab
mesa: add missing RGB9_E5 format in _mesa_base_fbo_format

RGB9_E5 should be accepted by RenderbufferStorage if the
EXT_texture_shared_exponent is exposed. It is left to the
implementations to return GL_FRAMEBUFFER_UNSUPPORTED_EXT
when checking the framebuffer completeness if they do not
support rendering in this format.

Discussed in:
https://github.com/KhronosGroup/OpenGL-API/issues/32

This fixes KHR-GL45.internalformat.renderbuffer.rgb9_e5

v2: Added more info to the commit message (Antia)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Antia Puentes <apuentes@igalia.com>
src/mesa/main/fbobject.c