X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fpipelinecache.h;h=2f3251198f55589ab28891fe96c1197568b8b921;hb=d01902f355b1ea9a038a7f96cab37e49c6b65419;hp=1017a93ff6b63ed7bef01dc01190dab04024afc3;hpb=0bcebf9930e4baada774a16c0e7637a22a410bb4;p=libs%2Fgl.git diff --git a/source/backends/vulkan/pipelinecache.h b/source/backends/vulkan/pipelinecache.h index 1017a93f..2f325119 100644 --- a/source/backends/vulkan/pipelinecache.h +++ b/source/backends/vulkan/pipelinecache.h @@ -3,7 +3,6 @@ #include #include -#include "frameformat.h" #include "handles.h" namespace Msp { @@ -11,24 +10,22 @@ namespace GL { class Device; class PipelineState; +struct RenderPass; class PipelineCache { private: Device &device; - VkDescriptorPool descriptor_pool; std::map render_passes; std::map pipelines; - std::map descriptor_sets; public: PipelineCache(Device &); PipelineCache(PipelineCache &&); ~PipelineCache(); - VkRenderPass get_render_pass(const FrameFormat &, bool, bool, bool); + VkRenderPass get_render_pass(const RenderPass &); VkPipeline get_pipeline(const PipelineState &); - VkDescriptorSet get_descriptor_set(const PipelineState &, unsigned); }; } // namespace GL