agx: Condition writeout ops on already being emitted

There's a lot of r/e waiting here, but will be needed for ld_tile. Match
the Metal blob.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10720>
This commit is contained in:
Alyssa Rosenzweig
2021-05-09 21:01:34 -04:00
parent 41d8db33a2
commit 1b9b2f9046
2 changed files with 10 additions and 2 deletions

View File

@@ -318,6 +318,9 @@ typedef struct {
/* For creating temporaries */
unsigned alloc;
/* I don't really understand how writeout ops work yet */
bool did_writeout;
/* Stats for shader-db */
unsigned loop_count;
unsigned spills;