agx: Ensure we don't overallocate registers
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11751>
This commit is contained in:

committed by
Marge Bot

parent
7e65e47d19
commit
1d0008734c
@@ -363,6 +363,9 @@ typedef struct {
|
||||
* driver. YOLO the mapping of nir_register to fixed hardware registers */
|
||||
unsigned *nir_regalloc;
|
||||
|
||||
/* We reserve the top (XXX: that hurts thread count) */
|
||||
unsigned max_register;
|
||||
|
||||
/* Place to start pushing new values */
|
||||
unsigned push_base;
|
||||
|
||||
|
Reference in New Issue
Block a user