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 15:19:54 +0000 (08:19 -0700)
commitbe66cf950e01d217b5341f8e56676dc5bf81ca47
treed19ec30f5ae16049b125f7df6916f11ca6e45655
parentaa0f588e2d4c160879699180f0e7f4d3e52b55b9
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>
src/mesa/main/api_exec.c
src/mesa/main/dlist.c
src/mesa/main/shaderapi.c
src/mesa/main/shaderapi.h