diff options
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/EnumConversion.cs')
-rw-r--r-- | Ryujinx.Graphics.OpenGL/EnumConversion.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/Ryujinx.Graphics.OpenGL/EnumConversion.cs b/Ryujinx.Graphics.OpenGL/EnumConversion.cs index fdd1f972..0d5ea823 100644 --- a/Ryujinx.Graphics.OpenGL/EnumConversion.cs +++ b/Ryujinx.Graphics.OpenGL/EnumConversion.cs @@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.OpenGL return TextureWrapMode.ClampToEdge; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(AddressMode)} enum value: {mode}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(AddressMode)} enum value: {mode}."); return TextureWrapMode.Clamp; } @@ -92,7 +92,7 @@ namespace Ryujinx.Graphics.OpenGL return All.OneMinusConstantAlpha; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(BlendFactor)} enum value: {factor}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(BlendFactor)} enum value: {factor}."); return All.Zero; } @@ -118,7 +118,7 @@ namespace Ryujinx.Graphics.OpenGL return BlendEquationMode.Max; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(BlendOp)} enum value: {op}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(BlendOp)} enum value: {op}."); return BlendEquationMode.FuncAdd; } @@ -133,7 +133,7 @@ namespace Ryujinx.Graphics.OpenGL return TextureCompareMode.CompareRToTexture; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(CompareMode)} enum value: {mode}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(CompareMode)} enum value: {mode}."); return TextureCompareMode.None; } @@ -168,7 +168,7 @@ namespace Ryujinx.Graphics.OpenGL return All.Always; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(CompareOp)} enum value: {op}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(CompareOp)} enum value: {op}."); return All.Never; } @@ -183,7 +183,7 @@ namespace Ryujinx.Graphics.OpenGL return ClipDepthMode.ZeroToOne; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(DepthMode)} enum value: {mode}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(DepthMode)} enum value: {mode}."); return ClipDepthMode.NegativeOneToOne; } @@ -198,7 +198,7 @@ namespace Ryujinx.Graphics.OpenGL return All.Stencil; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(DepthStencilMode)} enum value: {mode}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(DepthStencilMode)} enum value: {mode}."); return All.Depth; } @@ -215,7 +215,7 @@ namespace Ryujinx.Graphics.OpenGL return CullFaceMode.FrontAndBack; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(Face)} enum value: {face}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(Face)} enum value: {face}."); return CullFaceMode.Back; } @@ -230,7 +230,7 @@ namespace Ryujinx.Graphics.OpenGL return FrontFaceDirection.Ccw; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(FrontFace)} enum value: {frontFace}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(FrontFace)} enum value: {frontFace}."); return FrontFaceDirection.Cw; } @@ -247,7 +247,7 @@ namespace Ryujinx.Graphics.OpenGL return DrawElementsType.UnsignedInt; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(IndexType)} enum value: {type}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(IndexType)} enum value: {type}."); return DrawElementsType.UnsignedByte; } @@ -262,7 +262,7 @@ namespace Ryujinx.Graphics.OpenGL return TextureMagFilter.Linear; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(MagFilter)} enum value: {filter}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(MagFilter)} enum value: {filter}."); return TextureMagFilter.Nearest; } @@ -285,7 +285,7 @@ namespace Ryujinx.Graphics.OpenGL return TextureMinFilter.LinearMipmapLinear; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(MinFilter)} enum value: {filter}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(MinFilter)} enum value: {filter}."); return TextureMinFilter.Nearest; } @@ -326,7 +326,7 @@ namespace Ryujinx.Graphics.OpenGL return PrimitiveType.Patches; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(PrimitiveTopology)} enum value: {topology}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(PrimitiveTopology)} enum value: {topology}."); return PrimitiveType.Points; } @@ -353,7 +353,7 @@ namespace Ryujinx.Graphics.OpenGL return OpenTK.Graphics.OpenGL.StencilOp.DecrWrap; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(GAL.StencilOp)} enum value: {op}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(GAL.StencilOp)} enum value: {op}."); return OpenTK.Graphics.OpenGL.StencilOp.Keep; } @@ -376,7 +376,7 @@ namespace Ryujinx.Graphics.OpenGL return All.Alpha; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(SwizzleComponent)} enum value: {swizzleComponent}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(SwizzleComponent)} enum value: {swizzleComponent}."); return All.Zero; } @@ -412,7 +412,7 @@ namespace Ryujinx.Graphics.OpenGL return TextureTarget.TextureBuffer; } - Logger.PrintError(LogClass.Gpu, $"Invalid {nameof(Target)} enum value: {target}."); + Logger.PrintDebug(LogClass.Gpu, $"Invalid {nameof(Target)} enum value: {target}."); return TextureTarget.Texture2D; } |