pan/bi: Use nr_{srcs,dests} in bi_foreach_{src,dest}
authorAlyssa Rosenzweig <alyssa@collabora.com>
Thu, 21 Jul 2022 16:57:57 +0000 (12:57 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000 (16:03 +0000)
commit63051b68d7bb41eb7bda52eb7595027d9ed23952
tree503aad8f2908aa7b0cd3bc0690e8166ddec514d6
parent9176182a1e87fd84907bf4c4e4611c8628c2f33b
pan/bi: Use nr_{srcs,dests} in bi_foreach_{src,dest}

This avoids crawling sources that must be null.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/compiler.h