Module: Mesa Branch: main Commit: 3b547a9b581618a7abfa17128c371cd69a64c8e8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b547a9b581618a7abfa17128c371cd69a64c8e8
Author: Jason Ekstrand <[email protected]> Date: Tue Mar 29 14:07:18 2022 -0500 lavapipe: Switch to the common sync framework The common Vulkan sync framework will do most of the queueing for us. It will even sort out timeline semaphore dependencies and ensure everything executes in-order. All we have to do is make sure our vk_sync type implements VK_SYNC_FEATURE_WAIT_PENDING. This lets us get rid of a big pile of code. Reviewed-By: Mike Blumenkrantz <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15651> --- .../frontends/lavapipe/ci/lvp-asan-fails.txt | 20 - src/gallium/frontends/lavapipe/lvp_device.c | 677 ++------------------- src/gallium/frontends/lavapipe/lvp_pipe_sync.c | 257 ++++++++ src/gallium/frontends/lavapipe/lvp_private.h | 92 +-- src/gallium/frontends/lavapipe/lvp_query.c | 2 +- src/gallium/frontends/lavapipe/lvp_wsi.c | 29 - src/gallium/frontends/lavapipe/meson.build | 1 + 7 files changed, 334 insertions(+), 744 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=3b547a9b581618a7abfa17128c371cd69a64c8e8
