From: Alyssa Rosenzweig Date: Thu, 28 May 2020 17:14:53 +0000 (-0400) Subject: pan/bi: Set branch_constant if there is a branch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdff3ebc9a28ffa0001012ab5ad913c81de7fb8a;p=mesa.git pan/bi: Set branch_constant if there is a branch Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index ba8c0a93387..f6652aa1135 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -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);