mesa: mark GL_RGB9_E5 as not color-renderable
authorMarek Olšák <marek.olsak@amd.com>
Sun, 9 Mar 2014 13:18:45 +0000 (14:18 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 15 Mar 2014 17:39:50 +0000 (18:39 +0100)
commit2e361160ffff036fa65f6ca8ee2490b3b193ff3d
treed19886a93bc0e4768b8ba71ad89d18c1294f12d3
parentec1ada73271b273da7f6bf64ff34d33f2df00a2d
mesa: mark GL_RGB9_E5 as not color-renderable

The GL 4.4 spec says it's not color-renderable and not accepted
by RenderBufferStorage. The EXT_texture_shared_exponent spec says
it's not color-renderable but it's accepted by RenderBufferStorageEXT.
This seems to be a bug in the extension spec.

Let's do what GL 4.4 says.

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