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@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12478>
This commit is contained in:
Alyssa Rosenzweig
2021-08-18 22:05:52 +00:00
committed by Marge Bot
parent a7f7d74137
commit 0a26ec78b1
+1
View File
@@ -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;