mesa: Add support for glGetUniformIndices().
authorEric Anholt <eric@anholt.net>
Fri, 27 Apr 2012 22:37:49 +0000 (15:37 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 17:43:35 +0000 (10:43 -0700)
commitacfbdfcbc8263cc0ace3468457a209dd80da017e
tree75f4b43a83182d4940658a7809c824aaf1b4fc53
parentabcdbdf9cce3c7520ee999fac3099d609960847d
mesa: Add support for glGetUniformIndices().

This is a single entrypoint that maps from a series of names to the
indices of those names within the active uniforms list.  Each index is
like glGetUniformLocation()'s return value, except that it doesn't
encode an array offset.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/uniforms.c