From da95f4a19534572f953a4e017ea14e019c75e197 Mon Sep 17 00:00:00 2001 From: Gabriel A Date: Fri, 27 Oct 2023 21:53:17 -0300 Subject: [PATCH] Make some functions static --- .../Translation/HelperFunctionManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();