mesa/bufferobj: consolidate some codepaths between ubo/ssbo/atomics.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Sep 2017 02:55:50 +0000 (12:55 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 Oct 2017 23:10:21 +0000 (09:10 +1000)
commit35ac13ed32cc954825549f4c88d0c3d927985817
tree513541193124f07bc7af5d9fefb35a5ac7dc91d1
parentd2bfa76045ae32c2191c8d2354413ef226ace4ca
mesa/bufferobj: consolidate some codepaths between ubo/ssbo/atomics.

These are 90% the same code, consolidate them into a couple of
common codepaths.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/bufferobj.c