Skip to content
Snippets Groups Projects
Commit c219ca3f authored by Dave Airlie's avatar Dave Airlie Committed by Marge Bot
Browse files

llvmpipe: flush resources for kms swrast path.


The kms_swrast path calls this callback via the dri2 paths,
not flushing caused artifacts when running inside a VM or on hw
in weston/gnome-shell.

Fixes: 6bbbe15a ("Reinstate: llvmpipe: allow vertex processing and fragment processing in parallel")
Acked-by: default avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <mesa/mesa!16715>
parent 8fef8ed1
No related branches found
No related tags found
No related merge requests found
......@@ -174,6 +174,7 @@ static void lp_blit(struct pipe_context *pipe,
static void
lp_flush_resource(struct pipe_context *ctx, struct pipe_resource *resource)
{
llvmpipe_flush_resource(ctx, resource, 0, true, true, false, "resource");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment