From 88ca03f213de48a1f43414df94f9065d66c1bcca Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Tue, 10 Oct 2023 21:51:34 -0500 Subject: [PATCH] shaderc now flips Y values in the vertex shader --- shadercompiler/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadercompiler/Program.cs b/shadercompiler/Program.cs index 8600b6c..a76a1de 100644 --- a/shadercompiler/Program.cs +++ b/shadercompiler/Program.cs @@ -254,7 +254,7 @@ partial class Program { Process spirvcross = Process.Start( "spirv-cross", - $"\"{spirvPath}\" --hlsl --shader-model 50 --output \"{outputPath}\"" + $"\"{spirvPath}\" --hlsl --flip-vert-y --shader-model 50 --output \"{outputPath}\"" ); spirvcross.WaitForExit(); if (spirvcross.ExitCode != 0)