aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Pipeline.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Pipeline.cs')
-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;
}