freedreno/a6xx: simplify special case for 3d layout
authorRob Clark <robdclark@gmail.com>
Tue, 18 Dec 2018 15:28:57 +0000 (10:28 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 22 Dec 2018 20:27:57 +0000 (15:27 -0500)
commit2b497fc507af7c048efb52e38e800396bce67fca
treed45dccdbabae92b4364b9f4fefe85f2a7d8da683
parentd71a50f83146864df097566c413454366a61bb3c
freedreno/a6xx: simplify special case for 3d layout

This logic can be re-written as the two cases for 3d (ie. before/after
the miplevel sizes start reducing) vs everything else.  I think it is
easier to read this way.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_resource.c