1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-24 07:56:02 +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]; var descriptors = new TextureDescriptor[dict.Count];
int i = 0; 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 info = kv.Key;
var meta = kv.Value; var meta = kv.Value;