diff --git a/vulkan/slang_preset.cpp b/vulkan/slang_preset.cpp index 991e040c..a7c679b6 100644 --- a/vulkan/slang_preset.cpp +++ b/vulkan/slang_preset.cpp @@ -114,10 +114,7 @@ bool SlangPreset::load_preset_file(string filename) if (!shader.load_file()) return false; } - - for (auto &texture : textures) - canonicalize(texture.filename, conf.textures_filename); - + gather_parameters(); for (auto &p : parameters)