aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-11-11 13:22:49 -0300
committerGitHub <noreply@github.com>2022-11-11 13:22:49 -0300
commit51a27032f01826e0cec56c53da4359fd2c38c8f3 (patch)
treebc1b27d9a72ec51e6df2a75536885f0292dfc006 /Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
parenta6a67a2b7add9a9dc8c4f0bab730957b8ebaf6e8 (diff)
Fix VertexId and InstanceId on Vulkan (#3833)
* Fix VertexId and InstanceId on Vulkan * Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs b/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
index f4e39d0d..47367f89 100644
--- a/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
+++ b/Ryujinx.Graphics.Shader/Translation/AttributeConsts.cs
@@ -95,5 +95,10 @@ namespace Ryujinx.Graphics.Shader.Translation
public const int LtMask = 0x2000040;
public const int ThreadKill = 0x2000044;
+
+ public const int BaseInstance = 0x2000050;
+ public const int BaseVertex = 0x2000054;
+ public const int InstanceIndex = 0x2000058;
+ public const int VertexIndex = 0x200005c;
}
} \ No newline at end of file