pan/bi: Don't set the EOS flag if there's at least one successor
The EOS (End Of Shader) is set if the first successor is NULL, but the second successor should be checked too. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10369>
This commit is contained in:
@@ -38,8 +38,8 @@ bi_pack_header(bi_clause *clause, bi_clause *next_1, bi_clause *next_2, bool tdd
|
||||
|
||||
struct bifrost_header header = {
|
||||
.flow_control =
|
||||
(next_1 == NULL) ? BIFROST_FLOW_END :
|
||||
clause->flow_control,
|
||||
(next_1 == NULL && next_2 == NULL) ?
|
||||
BIFROST_FLOW_END : clause->flow_control,
|
||||
.terminate_discarded_threads = tdd,
|
||||
.next_clause_prefetch = clause->next_clause_prefetch && next_1,
|
||||
.staging_barrier = clause->staging_barrier,
|
||||
|
||||
Reference in New Issue
Block a user