shaderc now flips Y values in the vertex shader

pull/47/head
Caleb Cornett 2023-10-10 21:51:34 -05:00
parent 9b139cf672
commit 88ca03f213
1 changed files with 1 additions and 1 deletions

View File

@ -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 --flip-vert-y --shader-model 50 --output \"{outputPath}\""
); );
spirvcross.WaitForExit(); spirvcross.WaitForExit();
if (spirvcross.ExitCode != 0) if (spirvcross.ExitCode != 0)