pan/bi: Set branch_constant if there is a branch
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
b9967ab6da
commit
cdff3ebc9a
|
@ -199,6 +199,10 @@ bi_schedule(bi_context *ctx)
|
|||
u->constant_count = 1;
|
||||
u->constants[0] = ins->constant.u64;
|
||||
|
||||
/* No indirect jumps yet */
|
||||
if (ins->type == BI_BRANCH)
|
||||
u->branch_constant = true;
|
||||
|
||||
u->clause_type = bi_clause_type_for_ins(ins);
|
||||
|
||||
list_addtail(&u->link, &bblock->clauses);
|
||||
|
|
Loading…
Reference in New Issue