Make some functions static

This commit is contained in:
Gabriel A 2023-10-27 21:53:17 -03:00
parent 7ec367c448
commit da95f4a195

View file

@ -415,7 +415,7 @@ namespace Ryujinx.Graphics.Shader.Translation
return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TexelFetchScale", true, inArgumentsCount, 0); return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TexelFetchScale", true, inArgumentsCount, 0);
} }
private Function GenerateTexelFetchScaleBindlessFunction() private static Function GenerateTexelFetchScaleBindlessFunction()
{ {
EmitterContext context = new(); EmitterContext context = new();
@ -462,7 +462,7 @@ namespace Ryujinx.Graphics.Shader.Translation
return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TextureSizeUnscale", true, 2, 0); return new Function(ControlFlowGraph.Create(context.GetOperations()).Blocks, "TextureSizeUnscale", true, 2, 0);
} }
private Function GenerateTextureSizeUnscaleBindlessFunction() private static Function GenerateTextureSizeUnscaleBindlessFunction()
{ {
EmitterContext context = new(); EmitterContext context = new();