diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-04-09 23:04:41 -0400 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-04-10 16:53:57 +0200 |
commit | 3439c24bdb529e6223de9cd18824b3d72ff52649 (patch) | |
tree | a6b57c51d14152221045b9acaf0d6ad7ad0b8c25 /src/panfrost/bifrost/bi_schedule.c | |
parent | e34add229ff06203fe852b15cb7ff32cf9e4c344 (diff) |
panfrost: Fix BI_BLEND packing
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4505>
Diffstat (limited to 'src/panfrost/bifrost/bi_schedule.c')
-rw-r--r-- | src/panfrost/bifrost/bi_schedule.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index 2885aeefe3a..e309890cd64 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -156,6 +156,12 @@ bi_schedule(bi_context *ctx) u->data_register_write_barrier = true; } + if (ins->type == BI_ATEST) + u->dependencies |= (1 << 6); + + if (ins->type == BI_BLEND) + u->dependencies |= (1 << 6) | (1 << 7); + ids = ids & 1; last_id = u->scoreboard_id; u->back_to_back = false; |