]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/pipelinecache.h
Refactor render pass operations into a helper struct
[libs/gl.git] / source / backends / vulkan / pipelinecache.h
index 5023b40c38a2f0cf1a7bfdfdcdcce9aae5482992..2f3251198f55589ab28891fe96c1197568b8b921 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <cstdint>
 #include <map>
-#include "frameformat.h"
 #include "handles.h"
 
 namespace Msp {
@@ -11,6 +10,7 @@ namespace GL {
 
 class Device;
 class PipelineState;
+struct RenderPass;
 
 class PipelineCache
 {
@@ -24,7 +24,7 @@ public:
        PipelineCache(PipelineCache &&);
        ~PipelineCache();
 
-       VkRenderPass get_render_pass(const FrameFormat &, bool, bool, bool);
+       VkRenderPass get_render_pass(const RenderPass &);
        VkPipeline get_pipeline(const PipelineState &);
 };