st/mesa: add support for GL_ARB_texture_buffer_range
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 22 Dec 2012 12:46:27 +0000 (13:46 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 30 Jan 2013 12:10:11 +0000 (13:10 +0100)
commita901d54f67be0a9ec5a33195036eb6dfc54b501c
tree9f36335e1998648d47576cd869c0663188b4fc86
parent0fcd2c5e2fa06339de8af80ff8d35e479d61ccf5
st/mesa: add support for GL_ARB_texture_buffer_range

v2: Update to handle BufferSize being -1 and return a NULL sampler
view if the specified range would cause out of bounds access.

Reviewed-by: Brian Paul <brianp@vmware.com>
Acked-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/state_tracker/st_atom_texture.c
src/mesa/state_tracker/st_extensions.c