mesa: Add support for glBindBufferBase/Range on GL_UNIFORM_BUFFER.
authorEric Anholt <eric@anholt.net>
Fri, 15 Jun 2012 02:48:02 +0000 (19:48 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 21 Jun 2012 17:58:07 +0000 (10:58 -0700)
commitfb76ddc13384bc04ee093c8fc20eab5705067359
tree1fc3ccd54ad273802b9a57412571566ef10b226b
parentb82c47215689d1243d1aa810bff7f06d8288d686
mesa: Add support for glBindBufferBase/Range on GL_UNIFORM_BUFFER.

Fixes piglits:
GL_ARB_uniform_buffer_object/bindbuffer-general-point.
GL_ARB_uniform_buffer_object/negative-bindbuffer-buffer
GL_ARB_uniform_buffer_object/negative-bindbuffer-index
GL_ARB_uniform_buffer_object/negative-bindbuffer-target
GL_ARB_uniform_buffer_object/negative-bindbufferrange-range

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/bufferobj.c