[Mesa-dev] [PATCH] mesa: Accepts GL_RGB and GL_RGBA as valid internal formats only when querying

Eduardo Lima Mitev elima at igalia.com
Mon Jan 12 00:09:02 PST 2015


On 01/09/2015 04:50 PM, Eduardo Lima Mitev wrote:
> Previous patch 78942787170615c9333810cf3a4819a13c9eb8e8 globally introduced
> GL_RGB and GL_RGBA as valid internal formats on GLES 3.0.4, as the spec implies
> (page 112). However, page 205 of the spec states that
> for RenderbufferStorageMultisample, internal format must be a sized internal
> format. For more detailed info, please look at the linked bug description.
> 
> This patch allows GL_RGB and GL_RGBA as internal format only when querying GL
> state through glGetInternalformativ().
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88079
>

Mike Mason already submitted a very similar patch yesterday and I missed
it: http://lists.freedesktop.org/archives/mesa-dev/2015-January/074134.html.

Since it is already being reviewed, I withdraw this patch in favor of his.

Sorry for the noise,

Eduardo



More information about the mesa-dev mailing list