pan/bi: Set branch conditional bit
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
This commit is contained in:
parent
ffe7a61a46
commit
e4791d2bf8
|
@ -227,8 +227,11 @@ bi_schedule(bi_context *ctx)
|
|||
u->constants[0] = ins->constant.u64;
|
||||
|
||||
/* No indirect jumps yet */
|
||||
if (ins->type == BI_BRANCH)
|
||||
if (ins->type == BI_BRANCH) {
|
||||
u->branch_constant = true;
|
||||
u->branch_conditional =
|
||||
(ins->cond != BI_COND_ALWAYS);
|
||||
}
|
||||
|
||||
u->clause_type = bi_clause_type_for_ins(ins);
|
||||
u->block = (struct bi_block *) block;
|
||||
|
|
Loading…
Reference in New Issue