From 281cc6f9a62ea96e982baecae0630ac368034857 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Sat, 23 Nov 2019 12:43:55 -0500 Subject: [PATCH] pan/midgard: Add schedule barrier after fragment writeout This is a branch, like discard, so we need a barrier to make it safe. Signed-off-by: Alyssa Rosenzweig Reviewed-by: Tomeu Visoso --- src/panfrost/midgard/midgard_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 5b018d86e50..8eb1b176e5f 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -1374,6 +1374,7 @@ emit_fragment_store(compiler_context *ctx, unsigned src, unsigned rt) /* Emit the branch */ emit_mir_instruction(ctx, ins); + schedule_barrier(ctx); } static void -- 2.30.2