aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2023-04-27 11:09:49 -0300
committerGitHub <noreply@github.com>2023-04-27 11:09:49 -0300
commitcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (patch)
tree6c2e9a665e5f25234f6590cab8e63480adb4515c /Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs
parent9f12e50a546b15533778ed0d8290202af91c10a2 (diff)
Fix geometry shader layer passthrough regression (#4735)1.1.734
* Fix geometry shader layer passthrough regression * Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs b/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs
index 4a304f3a..4b4cc8d9 100644
--- a/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs
+++ b/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs
@@ -208,7 +208,7 @@ namespace Ryujinx.Graphics.Shader.Translation
{
int attr = AttributeConsts.UserAttributeBase + attrIndex * 16 + c * 4;
- Operand value = context.Load(StorageKind.Input, IoVariable.UserDefined, Const(v), Const(attrIndex), Const(c));
+ Operand value = context.Load(StorageKind.Input, IoVariable.UserDefined, Const(attrIndex), Const(v), Const(c));
if (attr == layerOutputAttr)
{