1 #ifndef MSP_GL_VULKAN_PIPELINECACHE_H_
2 #define MSP_GL_VULKAN_PIPELINECACHE_H_
6 #include "frameformat.h"
19 VkDescriptorPool descriptor_pool;
20 std::map<std::uint64_t, VkRenderPass> render_passes;
21 std::map<std::uint64_t, VkPipeline> pipelines;
22 std::map<std::uint64_t, VkDescriptorSet> descriptor_sets;
25 PipelineCache(Device &);
26 PipelineCache(PipelineCache &&);
29 VkRenderPass get_render_pass(const FrameFormat &, bool, bool, bool);
30 VkPipeline get_pipeline(const PipelineState &);
31 VkDescriptorSet get_descriptor_set(const PipelineState &, unsigned);