From 80dd692813563332b7123b2ba9c9ad25177fa392 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 10 Apr 2020 00:25:34 -0400 Subject: [PATCH] pan/bi: Let !b2b imply branch_cond Like the blob. Probably doesn't matter. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_pack.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.30.2