From 509bd278c760c132ddfa7da22ba28a3921719377 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 2254a5e..9c1009c 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)