From c29105b461135f3909cca0308fb05715cee45763 Mon Sep 17 00:00:00 2001 From: Quentin LADEVIE Date: Sun, 26 Jan 2025 22:27:10 +0100 Subject: DX12 command buffers and resources --- include/api-test/vk-device.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/api-test/vk-device.hpp') diff --git a/include/api-test/vk-device.hpp b/include/api-test/vk-device.hpp index 9dffad8..dc46e1a 100644 --- a/include/api-test/vk-device.hpp +++ b/include/api-test/vk-device.hpp @@ -5,12 +5,13 @@ #include -#include "command-buffer.hpp" #include "freelist.hpp" +#include "vk-device-types.hpp" #include "vk-bindless.hpp" using VmaAllocator = struct VmaAllocator_T*; +struct command_buffer; class window; class vkdevice { @@ -23,6 +24,7 @@ class vkdevice { public: void init(); + void deinit(); static inline vkdevice& get_render_device() { return render_device; @@ -106,7 +108,7 @@ class vkdevice { private: vkdevice() = default; - ~vkdevice(); + ~vkdevice() = default; void allocate_command_buffers(command_buffer* buffers, size_t count, QueueType type); -- cgit v1.3