aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-03-14 20:02:50 -0300
committerGitHub <noreply@github.com>2022-03-14 20:02:50 -0300
commit8c9633d72fbe49ff022d907a7fdd813be95f176e (patch)
treeadaff831482ba51c18fb07edbbfeb97920720edf /Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs
parent1f93fd52d9878b98b75e69dfcf41360f3bc16fe0 (diff)
Initialize indexed inputs used on next shader stage (#3198)1.1.71
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs1
1 files changed, 1 insertions, 0 deletions
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()