mesa: Enables GL_RGB and GL_RGBA unsized internal formats for OpenGL ES 3.0
authorEduardo Lima Mitev <elima@igalia.com>
Thu, 20 Nov 2014 13:02:46 +0000 (14:02 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Tue, 9 Dec 2014 10:40:00 +0000 (11:40 +0100)
commit78942787170615c9333810cf3a4819a13c9eb8e8
treef2310194a8d2a4a4bda8a6cd1dcffb7ebcf4f36c
parent242ad326552b10a31667eba0be5677a4d8397dc4
mesa: Enables GL_RGB and GL_RGBA unsized internal formats for OpenGL ES 3.0

GL_RGB and GL_RGBA are valid internal formats on a GLES3 profile. See
"Table 1. Unsized Internal Formats" at
https://www.khronos.org/opengles/sdk/docs/man3/html/glTexImage2D.xhtml.

Fixes 2 dEQP tests:
- dEQP-GLES3.functional.state_query.internal_format.rgb_samples
- dEQP-GLES3.functional.state_query.internal_format.rgba_samples

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/fbobject.c