agx: Track current_block

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11023>
This commit is contained in:
Alyssa Rosenzweig
2021-05-23 17:27:26 -04:00
committed by Alyssa Rosenzweig
parent 0a7a6f0558
commit f7918ebc82
2 changed files with 4 additions and 0 deletions

View File

@@ -321,6 +321,9 @@ typedef struct {
/* I don't really understand how writeout ops work yet */
bool did_writeout;
/* During instruction selection, for inserting control flow */
agx_block *current_block;
/* Stats for shader-db */
unsigned loop_count;
unsigned spills;