mesa/bufferobj: fix atomic offset/size get
authorDave Airlie <airlied@redhat.com>
Wed, 11 Oct 2017 23:32:14 +0000 (09:32 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Oct 2017 21:53:34 +0000 (07:53 +1000)
commit26f1ba94a384718e0e5974c10d4f758459ef0b10
treee25c447ac4d59f0a00687e286f5aed19fad3b0d7
parent69730dc589ceb6d6e7e0c0a065580cda1d51d432
mesa/bufferobj: fix atomic offset/size get

When I realigned the bufferobj code, I didn't see the getters
were different, realign the getters to work the same as ssbo.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103214
Fixes: 65d3ef7cd (mesa: align atomic buffer handling code with ubo/ssbo (v1.1))
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Mark Janes <mark.a.janes@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/get.c