From ccdee8aade423be98fe0c3fb5bff0705d55921b2 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 9 Feb 2022 11:13:10 +1000 Subject: [PATCH] llvmpipe: convert texture barrier to a finish. Need to flush the rasterizer and wait for everything to finish, with new overlap flush isn't enough. Reviewed-by: Mike Blumenkrantz Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/drivers/llvmpipe/lp_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index 35f3618e8d7..da7c4d2e2d3 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -148,7 +148,7 @@ llvmpipe_render_condition_mem(struct pipe_context *pipe, static void llvmpipe_texture_barrier(struct pipe_context *pipe, unsigned flags) { - llvmpipe_flush(pipe, NULL, __FUNCTION__); + llvmpipe_finish(pipe, "barrier"); } static void lp_draw_disk_cache_find_shader(void *cookie,