#ifndef DEVICE_CONTEXT_HH_ #define DEVICE_CONTEXT_HH_ #include #include #include #include #include #include "context.hh" #include "instance_context.hh" namespace low_latency { class QueueContext; struct DeviceContext final : public Context { InstanceContext& instance; const VkDevice device; const VkuDeviceDispatchTable vtable; // Do we need to use this unless we wrap dispatchable objects? const PFN_vkSetDeviceLoaderData sdld; std::unordered_map> queues; public: DeviceContext(InstanceContext& parent_instance, const VkDevice& device, const PFN_vkSetDeviceLoaderData& sdld, VkuDeviceDispatchTable&& vtable); virtual ~DeviceContext(); }; }; // namespace low_latency #endif