]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/pipelinecache.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / backends / vulkan / pipelinecache.h
index 1017a93ff6b63ed7bef01dc01190dab04024afc3..2f3251198f55589ab28891fe96c1197568b8b921 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <cstdint>
 #include <map>
-#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<std::uint64_t, VkRenderPass> render_passes;
        std::map<std::uint64_t, VkPipeline> pipelines;
-       std::map<std::uint64_t, VkDescriptorSet> 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