|
@@ -608,10 +608,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|
|
{
|
|
{
|
|
|
((Sampler)sampler).Bind(unit);
|
|
((Sampler)sampler).Bind(unit);
|
|
|
}
|
|
}
|
|
|
- else if (unit == -1)
|
|
|
|
|
- {
|
|
|
|
|
- Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public void SetStencilTest(StencilTestDescriptor stencilTest)
|
|
public void SetStencilTest(StencilTestDescriptor stencilTest)
|
|
@@ -676,10 +672,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|
|
((TextureView)texture).Bind(unit);
|
|
((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)
|
|
public void SetUniformBuffer(int index, ShaderStage stage, BufferRange buffer)
|
|
@@ -763,8 +755,6 @@ namespace Ryujinx.Graphics.OpenGL
|
|
|
|
|
|
|
|
if (bindingPoint == -1)
|
|
if (bindingPoint == -1)
|
|
|
{
|
|
{
|
|
|
- Logger.PrintError(LogClass.Gpu, $"Invalid binding point: {stage} {index}.");
|
|
|
|
|
-
|
|
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
|