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/device_context.hh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/device_context.hh') diff --git a/src/device_context.hh b/src/device_context.hh index 172801c..0e0a4eb 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -24,7 +24,8 @@ class DeviceContext final : public Context { InstanceContext& instance; PhysicalDeviceContext& physical_device; - // Whether or not we were asked to do NV_VK_LowLatency2 or VK_AMD_anti_lag. + // Whether or not we were asked to do NV_VK_LowLatency2 or VK_AMD_anti_lag + // at the device level. const bool was_capability_requested; const VkDevice device; @@ -39,13 +40,13 @@ class DeviceContext final : public Context { public: DeviceContext(InstanceContext& parent_instance, PhysicalDeviceContext& parent_physical, - const VkDevice& device, const bool was_antilag_requested, + const VkDevice& device, const bool was_capability_requested, VkuDeviceDispatchTable&& vtable); virtual ~DeviceContext(); public: - // Updates the settings associated with that swapchain. If none is provided - // all swapchains are set to this value. + // Updates the settings associated with that swapchain. If no swapchain + // target is provided all swapchains are set to this value. void update_params(const std::optional target, const std::chrono::milliseconds& present_delay, const bool was_low_latency_requested); -- cgit v1.2.3