mesa: Refactor set_atomic_buffer_binding()
authorFredrik Höglund <fredrik@kde.org>
Fri, 15 Nov 2013 18:45:43 +0000 (19:45 +0100)
committerFredrik Höglund <fredrik@kde.org>
Fri, 2 May 2014 00:53:26 +0000 (02:53 +0200)
commit19f7eeb6fb7a690c6c2fd43259813070a1e5ee2d
tree39ee4cdf570a1a4666b75e608c00b9916c1cad5a
parent4f30c0ba806a14f5892e28988f86be9ca7745ffb
mesa: Refactor set_atomic_buffer_binding()

Make set_atomic_buffer_binding() just update the binding, and move
the code that does validation, flushes the vertices etc. into a new
bind_atomic_buffer() function.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/bufferobj.c