From b72b0b5fdebbfabc4c580a6d4181f76d48a8e0a3 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 11 Jan 2024 16:26:08 -0800 Subject: [PATCH] fix path quotes in shadercompiler --- shadercompiler/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shadercompiler/Program.cs b/shadercompiler/Program.cs index b41c85f..1dba27e 100644 --- a/shadercompiler/Program.cs +++ b/shadercompiler/Program.cs @@ -238,7 +238,7 @@ partial class Program { Process glslc = Process.Start( "glslc", - $"""{glslPath}"" -o ""{outputPath}""" + $"\"{glslPath}\" -o \"{outputPath}\"" ); glslc.WaitForExit(); if (glslc.ExitCode != 0) @@ -254,7 +254,7 @@ partial class Program { Process spirvcross = Process.Start( "spirv-cross", - $"""{spirvPath}"" --hlsl --shader-model 50 --output ""{outputPath}""" + $"\"{spirvPath}\" --hlsl --shader-model 50 --output \"{outputPath}\"" ); spirvcross.WaitForExit(); if (spirvcross.ExitCode != 0)