0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-22 22:45:48 +00:00

Update ShaderConfig.cs (#5226)

This commit is contained in:
Marco Carvalho 2023-06-09 11:53:20 -03:00 committed by GitHub
parent 27ee86f33b
commit 76b474e97b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -726,7 +726,7 @@ namespace Ryujinx.Graphics.Shader.Translation
var descriptors = new TextureDescriptor[dict.Count];
int i = 0;
foreach (var kv in dict.OrderBy(x => x.Key.Indexed).OrderBy(x => x.Key.Handle))
foreach (var kv in dict.OrderBy(x => x.Key.Indexed).ThenBy(x => x.Key.Handle))
{
var info = kv.Key;
var meta = kv.Value;
@ -824,4 +824,4 @@ namespace Ryujinx.Graphics.Shader.Translation
OmapTargets);
}
}
}
}