aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-06 20:19:12 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit17fb11ddb98e94aaf494eaf6002ab149c5d54000 (patch)
treeefd9b4853181d1f5b0b7b56e186206ee49d692c1 /Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
parentcb171f6ebfa7e1aa5721503d1c1115719957932d (diff)
Fix wrong maximum id on sampler pool in some cases
Diffstat (limited to 'Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs')
-rw-r--r--Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
index 85a0001b..32c90c2d 100644
--- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
+++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
@@ -180,9 +180,6 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
public static void DeclareLocals(CodeGenContext context, StructuredProgramInfo info)
{
- context.AppendLine(GetVarTypeName(VariableType.S32) + " " + DefaultNames.DummyIntName + ";");
- context.AppendLine(GetVarTypeName(VariableType.U32) + " " + DefaultNames.DummyUintName + ";");
-
foreach (AstOperand decl in info.Locals)
{
string name = context.OperandManager.DeclareLocal(decl);