X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fvulkan%2Fpipelinecache.h;h=2f3251198f55589ab28891fe96c1197568b8b921;hb=69965e5d8e01533dae11bb38c1641adfd2814ae5;hp=cb14d1ef50391cd570ed59093dab0038e9dc8597;hpb=99ca354f18119f82f1adeca100cd665a8f640317;p=libs%2Fgl.git diff --git a/source/backends/vulkan/pipelinecache.h b/source/backends/vulkan/pipelinecache.h index cb14d1ef..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); + VkRenderPass get_render_pass(const RenderPass &); VkPipeline get_pipeline(const PipelineState &); - VkDescriptorSet get_descriptor_set(const PipelineState &, unsigned); }; } // namespace GL