mesa: split out validation from map_buffer_range()
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 4 May 2017 02:28:09 +0000 (12:28 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 7 May 2017 05:29:33 +0000 (15:29 +1000)
commite83b0a41037df29f1ff256966a967327b27dcc07
treee5a7e46241376d9c09ecdf63055c873e2db04b0e
parent8a1c36015b964c55e01876caab48c6e85f5860d8
mesa: split out validation from map_buffer_range()

This will allow us to add KHR_no_error support for *BufferRange
functions.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/bufferobj.c