From 6c7c4770e840a467ec55266bedb20eaa21a9ae86 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 11 Mar 2026 23:17:09 +1100 Subject: Don't inject timestamps when we have no reason to --- src/device_context.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/device_context.cc') diff --git a/src/device_context.cc b/src/device_context.cc index d246d73..273a958 100644 --- a/src/device_context.cc +++ b/src/device_context.cc @@ -9,9 +9,11 @@ namespace low_latency { DeviceContext::DeviceContext(InstanceContext& parent_instance, PhysicalDeviceContext& parent_physical_device, const VkDevice& device, + const bool was_antilag_requested, VkuDeviceDispatchTable&& vtable) : instance(parent_instance), physical_device(parent_physical_device), - device(device), vtable(std::move(vtable)) { + device(device), was_antilag_requested(was_antilag_requested), + vtable(std::move(vtable)) { // Only create our clock if we can support creating it. if (this->physical_device.supports_required_extensions) { -- cgit v1.2.3