mesa: Don't allow GL_TEXTURE_{LUMINANCE,INTENSITY}_* queries outside compat profile
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 17 Jun 2014 00:57:30 +0000 (17:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 15 Jul 2014 17:46:33 +0000 (10:46 -0700)
commit9a723b970e76b27829cd6ce6123a4958472a60df
treeb373a7d3938460407c42e9d45688f61438eb374a
parent750286600b871ee5506e2589719f58bda215a605
mesa: Don't allow GL_TEXTURE_{LUMINANCE,INTENSITY}_* queries outside compat profile

There are no queries for GL_TEXTURE_LUMINANCE_SIZE,
GL_TEXTURE_INTENSITY_SIZE, GL_TEXTURE_LUMINANCE_TYPE, or
GL_TEXTURE_INTENSITY_TYPE in any version of OpenGL ES or desktop OpenGL
core profile.

NOTE: Without changes to piglit, this regresses
required-sized-texture-formats.

v2: Rebase on different initial change.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "10.2 <mesa-stable@lists.freedesktop.org>
src/mesa/main/texparam.c