diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:17:09 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:17:09 +1100 |
| commit | 6c7c4770e840a467ec55266bedb20eaa21a9ae86 (patch) | |
| tree | ac26f6d1e374486204cbeb6c1dc6a2ad5c28728c /src/device_context.hh | |
| parent | dcfcd17a2b38c4efd50063a8c84821ac5fce5b1d (diff) | |
Don't inject timestamps when we have no reason to
Diffstat (limited to 'src/device_context.hh')
| -rw-r--r-- | src/device_context.hh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/device_context.hh b/src/device_context.hh index 7ec54d9..18b89be 100644 --- a/src/device_context.hh +++ b/src/device_context.hh @@ -23,6 +23,8 @@ struct DeviceContext final : public Context { InstanceContext& instance; PhysicalDeviceContext& physical_device; + const bool was_antilag_requested; + const VkDevice device; const VkuDeviceDispatchTable vtable; @@ -61,7 +63,8 @@ struct DeviceContext final : public Context { public: DeviceContext(InstanceContext& parent_instance, PhysicalDeviceContext& parent_physical, - const VkDevice& device, VkuDeviceDispatchTable&& vtable); + const VkDevice& device, const bool was_antilag_requested, + VkuDeviceDispatchTable&& vtable); virtual ~DeviceContext(); public: |
