diff --git a/modules/shader_compiler/include/vkcv/shader/Compiler.hpp b/modules/shader_compiler/include/vkcv/shader/Compiler.hpp index e30cdb34437d79699fbaecd660efc6852d580edb..873c7ba05c27075e020f9b660f74572ad4120a7d 100644 --- a/modules/shader_compiler/include/vkcv/shader/Compiler.hpp +++ b/modules/shader_compiler/include/vkcv/shader/Compiler.hpp @@ -35,7 +35,7 @@ namespace vkcv::shader { /** * A map containing macros for shader compilation. */ - std::unordered_map<std::string, std::string> m_defines; + Dictionary<std::string, std::string> m_defines; public: /** @@ -70,7 +70,7 @@ namespace vkcv::shader { */ bool compileSourceWithHeaders(ShaderStage shaderStage, const std::string& shaderSource, - const std::unordered_map<std::filesystem::path, std::string>& shaderHeaders, + const Dictionary<std::filesystem::path, std::string>& shaderHeaders, const ShaderCompiledFunction& compiled); /** @@ -102,7 +102,7 @@ namespace vkcv::shader { * @param[in] update Flag to update shaders during runtime */ void compileProgram(ShaderProgram& program, - const std::unordered_map<ShaderStage, const std::filesystem::path>& stages, + const Dictionary<ShaderStage, const std::filesystem::path>& stages, const ShaderProgramCompiledFunction& compiled, const std::filesystem::path& includePath = "", bool update = false);