22 constexpr static std::string_view CacheName =
"Cache/pipelineCache.bin";
24 void Init(vk::raii::Device& device);
26 void ReloadPipelines(vk::raii::Device& device);
28 vk::raii::Device& device,
29 const std::string& vertexShaderPath,
30 const std::string& fragmentShaderPath,
33 std::vector<PipelineInfo> m_Pipelines;
34 std::map<std::pair<std::string, std::string>, intptr_t> m_PipelineLookup;
36 vk::DescriptorSetLayout m_DescriptorSetLayout =
nullptr;
37 vk::DescriptorSetLayout m_TextureLayout =
nullptr;
38 vk::Format m_DepthFormat = {};
39 vk::Format m_ImageFormat = {};
40 vk::raii::PipelineCache m_DriverCache =
nullptr;