diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index 2aef2f25..bfd46c82 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -137,6 +137,8 @@ namespace Ryujinx.Graphics.Gpu.Shader // Should not happen, but if someone messed with the cache it's better to catch it. invalidEntries?.Add(key); + _shaderCount = ++programIndex; + continue; }