diff --git a/src/Ryujinx.Graphics.Shader/Translation/HelperFunctionManager.cs b/src/Ryujinx.Graphics.Shader/Translation/HelperFunctionManager.cs index 30c7c5fc9..2b3ce740e 100644 --- a/src/Ryujinx.Graphics.Shader/Translation/HelperFunctionManager.cs +++ b/src/Ryujinx.Graphics.Shader/Translation/HelperFunctionManager.cs @@ -415,7 +415,7 @@ namespace Ryujinx.Graphics.Shader.Translation return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TexelFetchScale", true, inArgumentsCount, 0); } - private Function GenerateTexelFetchScaleBindlessFunction() + private static Function GenerateTexelFetchScaleBindlessFunction() { EmitterContext context = new(); @@ -462,7 +462,7 @@ namespace Ryujinx.Graphics.Shader.Translation return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TextureSizeUnscale", true, 2, 0); } - private Function GenerateTextureSizeUnscaleBindlessFunction() + private static Function GenerateTextureSizeUnscaleBindlessFunction() { EmitterContext context = new();