mesa: Return -1 for glGetUniformLocation on UBOs.
authorEric Anholt <eric@anholt.net>
Mon, 25 Jun 2012 17:10:26 +0000 (10:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 Jul 2012 19:06:20 +0000 (12:06 -0700)
commitfa08b8ad549ef0ad0ee46f525f6f5dd0d6332f99
treea121023138f4c58288b4300e51c9f433e238078e
parentbbd1d6124d8d59d7b3f8585505ce3c01aa062e28
mesa: Return -1 for glGetUniformLocation on UBOs.

Fixes piglit ARB_uniform_buffer_object/getuniformlocation.

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