aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-09-19 17:11:05 -0300
committergdkchan <gab.dark.100@gmail.com>2018-09-19 17:11:05 -0300
commite04221b293370dac53e4e874cddd4f9a2a64b52f (patch)
treee89de1cc13a3c844d2b7c33286d72266f5e5072c /Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
parent6d65e536642a7cff7afa34be10fdc8ca66a6e79c (diff)
Fixup SSY (#424)
Diffstat (limited to 'Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs')
-rw-r--r--Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
index 60fe91c2..11f04449 100644
--- a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
+++ b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs
@@ -360,7 +360,7 @@ namespace Ryujinx.Graphics.Gal.Shader
private void PrintDeclSsy()
{
- SB.AppendLine("uint " + GlslDecl.SsyCursorName + ";");
+ SB.AppendLine("uint " + GlslDecl.SsyCursorName + "= 0;");
SB.AppendLine("uint " + GlslDecl.SsyStackName + "[" + GlslDecl.SsyStackSize + "];" + Environment.NewLine);
}