From 9176180abb119ff76c4f63eac09343faee686a18 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 12 Jun 2018 09:26:49 -0300 Subject: Minor shader fixes --- Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics/Gal/Shader/ShaderDecodeHelper.cs') 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; -- cgit v1.2.3