aboutsummaryrefslogtreecommitdiff
path: root/src/device_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_context.hh')
-rw-r--r--src/device_context.hh5
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: