From 0a26ec78b102fcaaf3788b9fcf6f2b435e006de2 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 18 Aug 2021 22:05:52 +0000 Subject: [PATCH] pan/bi: Set eldest_colour dependency for ST_TILE I don't think we'll ever hit this in practice, since it's not needed for blend shaders, but better to correct the code anyway. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_schedule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/bifrost/bi_schedule.c b/src/panfrost/bifrost/bi_schedule.c index e99c1f87368..d65eed937ad 100644 --- a/src/panfrost/bifrost/bi_schedule.c +++ b/src/panfrost/bifrost/bi_schedule.c @@ -1634,6 +1634,7 @@ bi_schedule_clause(bi_context *ctx, bi_block *block, struct bi_worklist st, uint clause->dependencies |= (1 << BIFROST_SLOT_ELDEST_DEPTH); break; case BI_OPCODE_LD_TILE: + case BI_OPCODE_ST_TILE: if (!ctx->inputs->is_blend) clause->dependencies |= (1 << BIFROST_SLOT_ELDEST_COLOUR); break;