aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-29 20:30:40 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commitc5b908891471bfc5c33aad60eb6ad981eb6856db (patch)
treef6954da42aed702af62e4ade9fbbfc53b0bc624d
parentffaad0eaac147e863384fa42b34d24fa98c7e1cb (diff)
Remove some error logging to avoid log spam
-rw-r--r--Ryujinx.Graphics.OpenGL/Pipeline.cs10
1 files changed, 0 insertions, 10 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Pipeline.cs b/Ryujinx.Graphics.OpenGL/Pipeline.cs
index c7d96edd..1a0c7115 100644
--- a/Ryujinx.Graphics.OpenGL/Pipeline.cs
+++ b/Ryujinx.Graphics.OpenGL/Pipeline.cs
@@ -608,10 +608,6 @@ namespace Ryujinx.Graphics.OpenGL
{
((Sampler)sampler).Bind(unit);
}
- else if (unit == -1)
- {
- Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
- }
}
public void SetStencilTest(StencilTestDescriptor stencilTest)
@@ -676,10 +672,6 @@ namespace Ryujinx.Graphics.OpenGL
((TextureView)texture).Bind(unit);
}
}
- else if (unit == -1)
- {
- Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
- }
}
public void SetUniformBuffer(int index, ShaderStage stage, BufferRange buffer)
@@ -763,8 +755,6 @@ namespace Ryujinx.Graphics.OpenGL
if (bindingPoint == -1)
{
- Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
-
return;
}