forked from MoonsideGames/Refresh
fix path quotes in shadercompiler
parent
fa92e9e08a
commit
b72b0b5fde
|
@ -238,7 +238,7 @@ partial class Program
|
||||||
{
|
{
|
||||||
Process glslc = Process.Start(
|
Process glslc = Process.Start(
|
||||||
"glslc",
|
"glslc",
|
||||||
$"""{glslPath}"" -o ""{outputPath}"""
|
$"\"{glslPath}\" -o \"{outputPath}\""
|
||||||
);
|
);
|
||||||
glslc.WaitForExit();
|
glslc.WaitForExit();
|
||||||
if (glslc.ExitCode != 0)
|
if (glslc.ExitCode != 0)
|
||||||
|
@ -254,7 +254,7 @@ partial class Program
|
||||||
{
|
{
|
||||||
Process spirvcross = Process.Start(
|
Process spirvcross = Process.Start(
|
||||||
"spirv-cross",
|
"spirv-cross",
|
||||||
$"""{spirvPath}"" --hlsl --shader-model 50 --output ""{outputPath}"""
|
$"\"{spirvPath}\" --hlsl --shader-model 50 --output \"{outputPath}\""
|
||||||
);
|
);
|
||||||
spirvcross.WaitForExit();
|
spirvcross.WaitForExit();
|
||||||
if (spirvcross.ExitCode != 0)
|
if (spirvcross.ExitCode != 0)
|
||||||
|
|
Loading…
Reference in New Issue