From dbf1d4b19aad1a9e0d45e5fbd358ef6df0a8218e Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 12 Mar 2024 01:41:16 -0300 Subject: [PATCH] Fix whitespace formatting --- src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs b/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs index 644c31807d..4dfad41b9e 100644 --- a/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs +++ b/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs @@ -422,8 +422,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Spirv context.MemberDecorate(perVertexStructType, 2, Decoration.BuiltIn, (LiteralInteger)BuiltIn.ClipDistance); context.MemberDecorate(perVertexStructType, 3, Decoration.BuiltIn, (LiteralInteger)BuiltIn.CullDistance); - if (context.Definitions.Stage == ShaderStage.Geometry - && context.Definitions.GpPassthrough + if (context.Definitions.Stage == ShaderStage.Geometry + && context.Definitions.GpPassthrough && context.HostCapabilities.SupportsGeometryShaderPassthrough) { context.MemberDecorate(perVertexStructType, 0, Decoration.PassthroughNV);