From 0c226d40ef6eb853d370c91ad6cc1ff694eb6727 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Wed, 9 Jan 2019 17:25:52 +0100 Subject: [PATCH] Revert "llvmpipe: Always return some fence in flush (v2)" This reverts commit f6a6da8131383d8eeee07cd59326a70f4b15866b. With this commit we see massive amounts of asserts triggering in lp_fence_wait(), assert(f->issued), for instance with libgl_xlib state tracker and piglit. Not entirely sure if the assert could just be removed. --- src/gallium/drivers/llvmpipe/lp_setup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c index e72e119c8a1..b0873694732 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup.c +++ b/src/gallium/drivers/llvmpipe/lp_setup.c @@ -361,8 +361,6 @@ lp_setup_flush( struct lp_setup_context *setup, if (fence) { lp_fence_reference((struct lp_fence **)fence, setup->last_fence); - if (!*fence) - *fence = (struct pipe_fence_handle *)lp_fence_create(0); } } -- 2.30.2