shaderc now flips Y values in the vertex shader

d3d11
Caleb Cornett 2023-10-10 21:51:34 -05:00 committed by cosmonaut
parent 01cd001b07
commit afeb7ebd16
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)