فهرست منبع

Fix skipping missing shaders

riperiperi 5 سال پیش
والد
کامیت
9e68f5026e
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs

+ 2 - 0
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.
                             // Should not happen, but if someone messed with the cache it's better to catch it.
                             invalidEntries?.Add(key);
                             invalidEntries?.Add(key);
 
 
+                            _shaderCount = ++programIndex;
+
                             continue;
                             continue;
                         }
                         }