freedreno/a6xx: Fix UBWC mipmapping height alignment.
authorEric Anholt <eric@anholt.net>
Wed, 6 May 2020 21:50:34 +0000 (14:50 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 19:18:16 +0000 (19:18 +0000)
commit6670475a449ed5166f5de997c820da16a675a6de
tree74f7de82a4e90b4ab9c58b7c42375dabdd411252
parent81f21ff4ef8b5ffb770d0ff3516338ffdfce3e99
freedreno/a6xx: Fix UBWC mipmapping height alignment.

After fixing the power of two sizing, pitches worked, but 1-pixel high and
unaligned height miplevels were off.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4931>
src/freedreno/fdl/fd6_layout.c
src/freedreno/fdl/fd6_layout_test.c