From 59289c6fcd79e52a4395451f61851661c417dbb3 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Sun, 12 Apr 2026 18:45:49 +1000 Subject: LowLatency2: Check semaphore value before signalling --- src/layer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layer.cc') diff --git a/src/layer.cc b/src/layer.cc index 54ad8d7..1021552 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -251,6 +251,7 @@ static VKAPI_ATTR VkResult VKAPI_CALL CreateDevice( DEVICE_VTABLE_LOAD(SignalSemaphore); DEVICE_VTABLE_LOAD(CreateSwapchainKHR); DEVICE_VTABLE_LOAD(DestroySwapchainKHR); + DEVICE_VTABLE_LOAD(GetSemaphoreCounterValue); #undef DEVICE_VTABLE_LOAD const auto key = layer_context.get_key(*pDevice); @@ -793,7 +794,6 @@ VkResult LatencySleepNV(VkDevice device, const auto context = layer_context.get_context(device); assert(pSleepInfo); - // call device strategy notify semaphore, no problem :) const auto strategy = dynamic_cast(context->strategy.get()); assert(strategy); -- cgit v1.2.3