diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index 110115e76..f1e9f383d 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -40,7 +40,7 @@ namespace Ryujinx.Graphics.Gpu.Shader /// /// Version of the codegen (to be changed when codegen or guest format change). /// - private const ulong ShaderCodeGenVersion = 3012; + private const ulong ShaderCodeGenVersion = 3106; // Progress reporting helpers private volatile int _shaderCount; diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs index 55d5551ce..c955a6161 100644 --- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs +++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs @@ -490,7 +490,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl } else { - int usedAttributes = context.Config.UsedInputAttributes; + int usedAttributes = context.Config.UsedInputAttributes | context.Config.PassthroughAttributes; while (usedAttributes != 0) { int index = BitOperations.TrailingZeroCount(usedAttributes);