From: Alyssa Rosenzweig Date: Sat, 23 Nov 2019 17:43:55 +0000 (-0500) Subject: pan/midgard: Add schedule barrier after fragment writeout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=281cc6f9a62ea96e982baecae0630ac368034857;p=mesa.git 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 --- 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