Mesa (master): pan/bi: Let !b2b imply branch_cond

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 10 15:11:42 UTC 2020


Module: Mesa
Branch: master
Commit: 80dd692813563332b7123b2ba9c9ad25177fa392
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=80dd692813563332b7123b2ba9c9ad25177fa392

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Fri Apr 10 00:25:34 2020 -0400

pan/bi: Let !b2b imply branch_cond

Like the blob. Probably doesn't matter.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>

---

 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;



More information about the mesa-commit mailing list