freedreno/a6xx: Sink the per-level size temps inside the loop.
authorEric Anholt <eric@anholt.net>
Thu, 27 Feb 2020 20:35:32 +0000 (12:35 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Apr 2020 18:02:56 +0000 (18:02 +0000)
commitcdff81fa9a36b4c38ae40ea4a2666e443dd34b9c
treef04ac5097cbd4ebd3207d43b91318cbe1528cd79
parent4176dfa880d02e6898a9d19d929bfeab8d87388a
freedreno/a6xx: Sink the per-level size temps inside the loop.

u_minify(n, 1) is no cheaper than u_minify(n, level), and this makes the
logic a lot simpler to follow.

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