freedreno: cleanup slice alignment/setup
authorRob Clark <robclark@freedesktop.org>
Thu, 4 Dec 2014 21:56:33 +0000 (16:56 -0500)
committerRob Clark <robclark@freedesktop.org>
Tue, 9 Dec 2014 23:01:21 +0000 (18:01 -0500)
commit5d7c9c9160e0d425df220e5e1898d0ab7dee2c83
treec0d46c7a97849181363e07054caa535c6a8de308
parent8ecbcbf0aab60e044dc4a9dabef2bdfb8db5abe9
freedreno: cleanup slice alignment/setup

Collapse things back into a setup_slices() which takes the desired
alignment as a param.  This gets things ready for a4xx which has some
slightly different requirements.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/freedreno_resource.c