mesa: add buffer_sub_data() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 12 May 2017 11:21:38 +0000 (21:21 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 May 2017 00:12:03 +0000 (10:12 +1000)
commitcab148c28231c109e2dee7b2dbea77997117932e
tree4d02a3de78ffa96b7d261791084fe6644bcf41ee
parent5d29e6aab8ac05cbd73433b45958b2f82eefa91d
mesa: add buffer_sub_data() helper

This will allow us to share code between the dsa, non-dsa and
no_error variants.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/bufferobj.c