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 <michael.blumenkrantz@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14923>
This commit is contained in:
Dave Airlie
2022-02-09 11:13:10 +10:00
committed by Marge Bot
parent 604ed15e56
commit ccdee8aade

View File

@@ -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,