From 77e2be172718878b38999efc247ce7571435fcc8 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Tue, 10 Feb 2026 10:49:17 +1100 Subject: cleanup, wip --- src/instance_context.hh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/instance_context.hh (limited to 'src/instance_context.hh') diff --git a/src/instance_context.hh b/src/instance_context.hh new file mode 100644 index 0000000..0a0b999 --- /dev/null +++ b/src/instance_context.hh @@ -0,0 +1,25 @@ +#ifndef INSTANCE_CONTEXT_HH_ +#define INSTANCE_CONTEXT_HH_ + +#include + +namespace low_latency { + +struct InstanceContext { + + const VkInstance instance; + const VkuInstanceDispatchTable vtable; + + public: + InstanceContext(const VkInstance& instance, + VkuInstanceDispatchTable&& vtable); + InstanceContext(const InstanceContext&) = delete; + InstanceContext(InstanceContext&&) = delete; + InstanceContext operator==(const InstanceContext&) = delete; + InstanceContext operator==(InstanceContext&&) = delete; + ~InstanceContext(); +}; + +}; // namespace low_latency + +#endif \ No newline at end of file -- cgit v1.2.3