Share SPIR-V module creation

This commit is contained in:
nmzik
2026-09-14 16:04:51 +04:00
parent 01df42a5f3
commit fe26c1de17
8 changed files with 29 additions and 65 deletions
@@ -37,8 +37,7 @@ private:
vk::Pipeline handle = nullptr;
};
[[nodiscard]] vk::ShaderModule CreateShader(const uint32_t* code, size_t words) const;
[[nodiscard]] vk::Pipeline GetPipeline(PipelineKey key);
[[nodiscard]] vk::Pipeline GetPipeline(PipelineKey key);
GraphicContext& m_graphics;
CommandScheduler& m_scheduler;