From 10a2cd19d1a0345a95adaf7c92a9d0d559798b98 Mon Sep 17 00:00:00 2001 From: BearOso Date: Mon, 23 Jan 2023 15:05:20 -0600 Subject: [PATCH] Remove texture canonicalization on global file name. --- vulkan/slang_preset.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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)