From b96794e72b76138ee1cf36226c47554b4cf1d670 Mon Sep 17 00:00:00 2001 From: Berkan Diler Date: Wed, 16 Nov 2022 19:17:03 +0100 Subject: Use new LINQ Order() methods (#3851) --- Ryujinx.Graphics.Shader/Translation/Translator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Translation') diff --git a/Ryujinx.Graphics.Shader/Translation/Translator.cs b/Ryujinx.Graphics.Shader/Translation/Translator.cs index 58a934c7..82539196 100644 --- a/Ryujinx.Graphics.Shader/Translation/Translator.cs +++ b/Ryujinx.Graphics.Shader/Translation/Translator.cs @@ -207,7 +207,7 @@ namespace Ryujinx.Graphics.Shader.Translation if (context.Config.NextUsedInputAttributesPerPatch != null) { - foreach (int vecIndex in context.Config.NextUsedInputAttributesPerPatch.OrderBy(x => x)) + foreach (int vecIndex in context.Config.NextUsedInputAttributesPerPatch.Order()) { InitializeOutput(context, AttributeConsts.UserAttributePerPatchBase + vecIndex * 16, perPatch: true); } -- cgit v1.2.3