aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-10-01 02:35:52 -0300
committerGitHub <noreply@github.com>2022-10-01 02:35:52 -0300
commit9c2500de5ffa76d74e1761be9e6a1e50b36af7c5 (patch)
tree5c7f443b4cf5d424df67c5e5abfaaa2a71fa28e7 /Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
parentdbe43c17199a96e86175c9dd39d6062ce58cefb4 (diff)
Fix incorrect tessellation inputs/outputs (#3728)1.1.283
* Fix incorrect tessellation inputs/outputs * Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs b/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
index 0c3ab08e..f4e39d0d 100644
--- a/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
+++ b/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
@@ -54,6 +54,9 @@ namespace Ryujinx.Graphics.Shader.Translation
public const int UserAttributeBase = 0x80;
public const int UserAttributeEnd = UserAttributeBase + UserAttributesCount * 16;
+ public const int UserAttributePerPatchBase = 0x18;
+ public const int UserAttributePerPatchEnd = 0x200;
+
public const int LoadOutputMask = 1 << 30;
public const int Mask = 0x3fffffff;