freedreno: Fix resource layout dump loop.
authorEric Anholt <eric@anholt.net>
Tue, 12 May 2020 21:41:53 +0000 (14:41 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 14:12:15 +0000 (14:12 +0000)
commita6fe0799faf73970ac76e26bac2f7b38195fe1e1
tree4423f65c49b239f5a9a010dfa4cc40cd05c6c2c1
parent2eb180db94830a70e21770e3a972efc55ee8385a
freedreno: Fix resource layout dump loop.

Apparently I've never dumped a fully populated slices array, so the 0-init
always terminated the loop.

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