diff --git a/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs b/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs index 4dfad41b9e..d15a1af52b 100644 --- a/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs +++ b/src/Ryujinx.Graphics.Shader/CodeGen/Spirv/Declarations.cs @@ -422,9 +422,9 @@ 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 - && context.HostCapabilities.SupportsGeometryShaderPassthrough) + if (context.Definitions.Stage == ShaderStage.Geometry && + context.Definitions.GpPassthrough && + context.HostCapabilities.SupportsGeometryShaderPassthrough) { context.MemberDecorate(perVertexStructType, 0, Decoration.PassthroughNV); context.MemberDecorate(perVertexStructType, 1, Decoration.PassthroughNV);