aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.cc
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-03-11 23:17:09 +1100
committerNicolas James <nj3ahxac@gmail.com>2026-03-11 23:17:09 +1100
commit6c7c4770e840a467ec55266bedb20eaa21a9ae86 (patch)
treeac26f6d1e374486204cbeb6c1dc6a2ad5c28728c /src/device_context.cc
parentdcfcd17a2b38c4efd50063a8c84821ac5fce5b1d (diff)
Don't inject timestamps when we have no reason to
Diffstat (limited to 'src/device_context.cc')
-rw-r--r--src/device_context.cc4
1 files changed, 3 insertions, 1 deletions
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) {