pan/bi: Add bi_max_temp helper
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Wed, 11 Mar 2020 18:51:57 +0000 (14:51 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 20:28:21 +0000 (20:28 +0000)
commit0bff6e5e076e5ae7f188b07ce069647ef7eff0c6
tree41ad740c9e64ef9995772b6b665717cb269f05ae
parent6e0479a6a88656205a1907c8987666f415a7c4a5
pan/bi: Add bi_max_temp helper

Instead of trying to reindex all the times, just be okay with consistent
but sparse indices, then figuring out the max index is easy enough.

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