فهرست منبع

Remove some error logging to avoid log spam

gdkchan 6 سال پیش
والد
کامیت
c5b9088914
1فایلهای تغییر یافته به همراه0 افزوده شده و 10 حذف شده
  1. 0 10
      Ryujinx.Graphics.OpenGL/Pipeline.cs

+ 0 - 10
Ryujinx.Graphics.OpenGL/Pipeline.cs

@@ -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;
             }
             }