Skip to content
Snippets Groups Projects
Commit 6480e58a authored by Dave Airlie's avatar Dave Airlie Committed by Dylan Baker
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>
(cherry picked from commit c219ca3f)
parent b75c1b04
No related branches found
No related tags found
No related merge requests found
......@@ -175,7 +175,7 @@
"description": "llvmpipe: flush resources for kms swrast path.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6bbbe15a783a3b004d994057a96b91d5cf5d08da"
},
......
......@@ -176,6 +176,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