diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
index 5375ebd18..44ffd687d 100644
--- a/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/ShaderSpecializationState.cs
@@ -484,7 +484,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
/// The new sampler buffer index
/// Stage index of the constant buffer
[MethodImpl(MethodImplOptions.AggressiveInlining)]
- private void UpdateCachedBuffer(
+ private static void UpdateCachedBuffer(
GpuChannel channel,
bool isCompute,
ref int cachedTextureBufferIndex,