aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs
diff options
context:
space:
mode:
authorLordmau5 <mail@lordmau5.com>2018-06-13 01:28:49 +0200
committerLordmau5 <mail@lordmau5.com>2018-06-13 01:28:49 +0200
commite6f6c6ad57c58081636164232d112c9642d5f98c (patch)
treef1a21d7856d55168aba96efdb27ced6247f1dfb2 /Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs
parentc636c74dd2a54a9c0ece6cd31b03512f8c41fc43 (diff)
parent98e6a34608cc31f1f40e964a4a8cc80606877eca (diff)
Merge branch 'master' into ICommonStateGetter
Diffstat (limited to 'Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs')
-rw-r--r--Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs b/Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs
index 3299ebab..a8ad5ec2 100644
--- a/Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs
+++ b/Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs
@@ -14,7 +14,7 @@ namespace Ryujinx.Graphics.Gal.Shader
for (int Index = 0; Index <= Size; Index++)
{
- Opers[Index] = new ShaderIrOperAbuf(Abuf, Reg);
+ Opers[Index] = new ShaderIrOperAbuf(Abuf + Index * 4, Reg);
}
return Opers;