pan/bi: Don't allocate past the end of the reg file
authorAlyssa Rosenzweig <alyssa@collabora.com>
Tue, 8 Jun 2021 20:04:05 +0000 (16:04 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 10 Jun 2021 18:06:10 +0000 (18:06 +0000)
commite111464bfce47b7bbfe872a196027fa3248620b7
treef69387d0a14ca357c1f3c2f35475311ff0dd53a3
parent47e0cce820fb94d7e07253df30d5389d8fb4e3f9
pan/bi: Don't allocate past the end of the reg file

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