agx: Don't overallocate registers
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 7 Mar 2023 04:09:38 +0000 (23:09 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:03 +0000 (03:23 +0000)
commit203c9c12e23a80b749a58d18ede84fc7491bc926
treefc6090d14a13a1f109ddf16d82fbd3d7e8a7428c
parent42c5d6140beb231d1e45e14598636fd9834b7dd0
agx: Don't overallocate registers

We need to account for the full vector lengths. Especially important once we
start restricting the reg file.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/asahi/compiler/agx_register_allocate.c