diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-04-27 11:09:49 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 11:09:49 -0300 |
commit | cd124bda587ef09668a971fa1cac1c3f0cfc9f21 (patch) | |
tree | 6c2e9a665e5f25234f6590cab8e63480adb4515c /Ryujinx.Graphics.Shader/Translation/EmitterContext.cs | |
parent | 9f12e50a546b15533778ed0d8290202af91c10a2 (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/EmitterContext.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/EmitterContext.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs index e81f6425..112baccf 100644 --- a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs +++ b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs @@ -322,10 +322,10 @@ namespace Ryujinx.Graphics.Shader.Translation void WriteUserDefinedOutput(int index, int primIndex) { - Operand x = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(primIndex), Const(index), Const(0)); - Operand y = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(primIndex), Const(index), Const(1)); - Operand z = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(primIndex), Const(index), Const(2)); - Operand w = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(primIndex), Const(index), Const(3)); + Operand x = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(index), Const(primIndex), Const(0)); + Operand y = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(index), Const(primIndex), Const(1)); + Operand z = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(index), Const(primIndex), Const(2)); + Operand w = this.Load(StorageKind.Input, IoVariable.UserDefined, Const(index), Const(primIndex), Const(3)); this.Store(StorageKind.Output, IoVariable.UserDefined, null, Const(index), Const(0), x); this.Store(StorageKind.Output, IoVariable.UserDefined, null, Const(index), Const(1), y); |