aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorriperiperi <rhy3756547@hotmail.com>2021-04-14 23:15:25 +0100
committerriperiperi <rhy3756547@hotmail.com>2021-04-18 17:34:01 +0100
commit9e68f5026ec9969922868ee018eb603ca63970bd (patch)
treef64af0aef2725e7b075e7cb404652898ba9b7444
parentd6547abebf4fc1c6fd80b95f8baa0084f324982d (diff)
Fix skipping missing shaders
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs2
1 files changed, 2 insertions, 0 deletions
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;
}