diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-10 00:25:34 -0400 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-04-10 16:53:59 +0200 |
commit | 80dd692813563332b7123b2ba9c9ad25177fa392 (patch) | |
tree | a76f1c463cf5a4e1391b27c6548c3228515af447 /src/panfrost/bifrost | |
parent | 3439c24bdb529e6223de9cd18824b3d72ff52649 (diff) |
pan/bi: Let !b2b imply branch_cond
Like the blob. Probably doesn't matter.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r-- | src/panfrost/bifrost/bi_pack.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |