From 644bc4ed5edd4e3ffa88750bdacb147c75df9546 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 30 Mar 2026 15:54:10 +1100 Subject: Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool --- src/swapchain_monitor.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/swapchain_monitor.hh') diff --git a/src/swapchain_monitor.hh b/src/swapchain_monitor.hh index 5678630..be81d59 100644 --- a/src/swapchain_monitor.hh +++ b/src/swapchain_monitor.hh @@ -62,6 +62,10 @@ class SwapchainMonitor { const std::uint64_t& value); void notify_present(const QueueContext::submissions_t& submissions); + + public: + // Synchronously wait until all in-flight submissions have completed. + void wait_until(); }; } // namespace low_latency -- cgit v1.2.3