From: Alyssa Rosenzweig Date: Fri, 10 Apr 2020 04:25:34 +0000 (-0400) Subject: pan/bi: Let !b2b imply branch_cond X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80dd692813563332b7123b2ba9c9ad25177fa392;p=mesa.git pan/bi: Let !b2b imply branch_cond Like the blob. Probably doesn't matter. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 3a37452a949..604b0300746 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -49,6 +49,8 @@ bi_pack_header(bi_clause *clause, bi_clause *next, bool is_fragment) .next_clause_type = next ? next->clause_type : 0, }; + header.branch_cond |= header.back_to_back; + uint64_t u = 0; memcpy(&u, &header, sizeof(header)); return u;