mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-16 08:40:29 +01:00
pan/bi: Add destination iterator macro
Convenience. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
This commit is contained in:
parent
eca516ebdb
commit
083a658ee8
1 changed files with 3 additions and 0 deletions
|
|
@ -676,6 +676,9 @@ bi_node_to_index(unsigned node, unsigned node_count)
|
|||
#define bi_foreach_src(ins, v) \
|
||||
for (unsigned v = 0; v < ARRAY_SIZE(ins->src); ++v)
|
||||
|
||||
#define bi_foreach_dest(ins, v) \
|
||||
for (unsigned v = 0; v < ARRAY_SIZE(ins->dest); ++v)
|
||||
|
||||
static inline bi_instr *
|
||||
bi_prev_op(bi_instr *ins)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue