diff options
author | riperiperi <rhy3756547@hotmail.com> | 2021-06-15 01:09:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 02:09:59 +0200 |
commit | 7ff1f9aa121a7c2f59f8cba4bb5367839342ed62 (patch) | |
tree | 64a12c5d1e4732af088b6f006eafd4506ddf662b /Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | |
parent | bfcc6a8ad63a0eb0f06968145a310c484a96e8ca (diff) |
End shader decoding when reaching a block that starts with an infinite loop (after BRX) (#2367)
* End shader decoding when reaching an infinite loop
The NV shader compiler puts these at the end of shaders.
* Update shader cache version
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index f72b5e6c..b080a8bb 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Gpu.Shader /// <summary> /// Version of the codegen (to be changed when codegen or guest format change). /// </summary> - private const ulong ShaderCodeGenVersion = 2329; + private const ulong ShaderCodeGenVersion = 2367; // Progress reporting helpers private volatile int _shaderCount; @@ -955,4 +955,4 @@ namespace Ryujinx.Graphics.Gpu.Shader _cacheManager?.Dispose(); } } -}
\ No newline at end of file +} |