pan/bi: Add bi_must_message predicate
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:
committed by
Marge Bot
parent
ab4234bdf0
commit
56e35a4022
@@ -172,6 +172,12 @@ bi_must_last(bi_instr *ins)
|
||||
return bi_opcode_props[ins->op].last;
|
||||
}
|
||||
|
||||
ASSERTED static bool
|
||||
bi_must_message(bi_instr *ins)
|
||||
{
|
||||
return bi_opcode_props[ins->op].message != BIFROST_MESSAGE_NONE;
|
||||
}
|
||||
|
||||
/* Eventually, we'll need a proper scheduling, grouping instructions
|
||||
* into clauses and ordering/assigning grouped instructions to the
|
||||
* appropriate FMA/ADD slots. Right now we do the dumbest possible
|
||||
|
||||
Reference in New Issue
Block a user