Shader: Assume the only remaining source is the right one when all others are undefined (#7331)

* Shader: Assume the only remaining source is the right one when all other are undefined

* Shader cache version bump

* Improve comment
This commit is contained in:
gdkchan 2024-09-19 21:23:09 -03:00 committed by GitHub
parent 24ee8c39f1
commit d717aef2be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 1 deletions

View file

@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.Gpu.Shader.DiskCache
private const ushort FileFormatVersionMajor = 1;
private const ushort FileFormatVersionMinor = 2;
private const uint FileFormatVersionPacked = ((uint)FileFormatVersionMajor << 16) | FileFormatVersionMinor;
private const uint CodeGenVersion = 7320;
private const uint CodeGenVersion = 7331;
private const string SharedTocFileName = "shared.toc";
private const string SharedDataFileName = "shared.data";