X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fdevice_backend.h;h=1011da6bbcb184d9550905703ca531608f8768b8;hb=d841d557eec57575adc856a8b081042861dab9e8;hp=b4b53717ff3cdc88b8773db1f1faba5badba2bd5;hpb=644b81d62660bafa702bfd7acedd3a0039aad993;p=libs%2Fgl.git diff --git a/source/backends/vulkan/device_backend.h b/source/backends/vulkan/device_backend.h index b4b53717..1011da6b 100644 --- a/source/backends/vulkan/device_backend.h +++ b/source/backends/vulkan/device_backend.h @@ -2,7 +2,9 @@ #define MSP_GL_DEVICE_BACKEND_H_ #include +#include #include +#include "descriptorpool.h" #include "destroyqueue.h" #include "handles.h" #include "memoryallocator.h" @@ -29,6 +31,7 @@ protected: Synchronizer synchronizer; TransferQueue transfer_queue; PipelineCache pipeline_cache; + DescriptorPool descriptor_pool; unsigned n_frames_in_flight = 3; VulkanDevice(Graphics::Window &, const Graphics::VulkanOptions &); @@ -47,6 +50,7 @@ public: Synchronizer &get_synchronizer() { return synchronizer; } TransferQueue &get_transfer_queue() { return transfer_queue; } PipelineCache &get_pipeline_cache() { return pipeline_cache; } + DescriptorPool &get_descriptor_pool() { return descriptor_pool; } unsigned get_n_frames_in_flight() const { return n_frames_in_flight; } };