pan/bi: Add source/destination counts

In preparation for dynamic allocation, as needed for phi nodes and parallel
copies. For now, it just serves to simplify the semantics of splits and
collects.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16585>
This commit is contained in:
Alyssa Rosenzweig 2022-05-09 17:28:38 -04:00 committed by Marge Bot
parent 0523b6b89b
commit afd88d1380
1 changed files with 2 additions and 0 deletions

View File

@ -379,6 +379,8 @@ typedef struct {
struct list_head link;
enum bi_opcode op;
uint8_t nr_srcs;
uint8_t nr_dests;
/* Data flow */
bi_index dest[BI_MAX_DESTS];