st/mesa: simplify MaxAtomicBufferSize-logic
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 29 Aug 2018 13:48:29 +0000 (15:48 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 5 Sep 2018 04:46:33 +0000 (05:46 +0100)
commit84795f8c6495511e20fa63faf592169cc3baa01c
treee6a71d8e9dd3089eafcbf9bf31ea7f2f431f12de
parent38f0c078de9628bd5d429021d9c6e210b66da0fa
st/mesa: simplify MaxAtomicBufferSize-logic

MaxAtomicCounters has already been assigned in the loop above in the
ssbo_atomic = true case, so this will calculate the same value as the
default.

While we're at it, fixup indentation on the MaxAtomicBufferBindings
assign.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
src/mesa/state_tracker/st_extensions.c