Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11023>
agx_block *blk = agx_create_block(ctx);
list_addtail(&blk->link, &ctx->blocks);
list_inithead(&blk->instructions);
+ ctx->current_block = blk;
agx_builder _b = agx_init_builder(ctx, agx_after_block(blk));
/* 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;