mesa: Don't set shaderapi dispatch pointers for many things in ES2 or core
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 5 Sep 2012 21:14:13 +0000 (14:14 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 28 Sep 2012 17:55:30 +0000 (10:55 -0700)
commit0fb12a40e48ca804653a51e2f5ff1acba13e703e
tree729440dce677bb38ec466e4ab73bff5a781ae416
parentf16031513f32f9094238af80c01db4025c70519b
mesa: Don't set shaderapi dispatch pointers for many things in ES2 or core

v2: Allow GL_ARB_shader_objects functions in core profile because we
still expose the extension string there.  Don't allow
glBindFragDataLocation in GLES3 because it's not part of that API.
Based (mostly) on review comments from Eric Anholt.

NOTE: This is a candidate for the 9.0 branch

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
(cherry picked from commit be66cf950e01d217b5341f8e56676dc5bf81ca47)
src/mesa/main/api_exec.c
src/mesa/main/dlist.c
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h