From 8c9633d72fbe49ff022d907a7fdd813be95f176e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 14 Mar 2022 20:02:50 -0300 Subject: Initialize indexed inputs used on next shader stage (#3198) --- Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs') diff --git a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs index 8be7ceae..6bb045ec 100644 --- a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs +++ b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs @@ -328,6 +328,7 @@ namespace Ryujinx.Graphics.Shader.Translation public void SetAllInputUserAttributes() { UsedInputAttributes |= Constants.AllAttributesMask; + ThisInputAttributesComponents |= ~UInt128.Zero >> (128 - Constants.MaxAttributes * 4); } public void SetAllOutputUserAttributes() -- cgit v1.2.3