diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-04-12 18:45:49 +1000 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-04-12 18:45:49 +1000 |
| commit | 59289c6fcd79e52a4395451f61851661c417dbb3 (patch) | |
| tree | d3cb760880805c84ed29b2d5e9fcfa69015e1625 /src/layer.cc | |
| parent | 973532a7d28c2afbaaf0fe79efa9a5084d14e3aa (diff) | |
LowLatency2: Check semaphore value before signalling
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<LowLatency2DeviceStrategy*>(context->strategy.get()); assert(strategy); |
