Mesa (main): pan/bi: Set eldest_colour dependency for ST_TILE
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Aug 20 20:29:21 UTC 2021
Module: Mesa
Branch: main
Commit: 0a26ec78b102fcaaf3788b9fcf6f2b435e006de2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a26ec78b102fcaaf3788b9fcf6f2b435e006de2
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Aug 18 22:05:52 2021 +0000
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 <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12478>
---
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;
More information about the mesa-commit
mailing list