main: Add check_texture_buffer_range.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 4 Mar 2015 22:45:40 +0000 (14:45 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 9 Mar 2015 20:33:54 +0000 (13:33 -0700)
commit5f8c6eabbeb698b6dc653eda9dcf01704e53ae58
treea4b30ac6bf94a0f28e0ec8d3934fa69ed41ffb8b
parent0f6372946b8bf52658140508d6501fe1bfd180d0
main: Add check_texture_buffer_range.

Creates a shared function that TexBufferRange and TextureBufferRange can use
to check the buffer range. This cleans up TexBufferRange considerably.

v2: Review from Anuj Phogat
   - Split rebase of Tex[ture]Buffer[Range]

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/teximage.c