mesa: Add implementation of glGetUniformBlockIndex().
authorEric Anholt <eric@anholt.net>
Tue, 1 May 2012 21:07:43 +0000 (14:07 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 17:43:44 +0000 (10:43 -0700)
commitddc88fbf510ee8ba35b974cc21c595e96d115cc8
tree4b183d0294e877489d8a2746b3f228dd5b9e7daf
parent093b20666d73f8fc410dc7bf168ab7197756b1f5
mesa: Add implementation of glGetUniformBlockIndex().

Now that we finally have a list of uniform blocks in the linked shader
program, we can tell what their indices are.

Fixes piglit GL_ARB_uniform_buffer_object/getuniformblockindex.

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