mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 04:00:23 +01:00
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:
parent
19849a6501
commit
e1e1ee044e
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue