diff options
| author | Berkan Diler <b.diler@gmx.de> | 2022-11-16 19:17:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 15:17:03 -0300 |
| commit | b96794e72b76138ee1cf36226c47554b4cf1d670 (patch) | |
| tree | ce7fa2c2beb8d1de3a9f923c7d7d6f3eb6134db0 /Ryujinx.Graphics.Shader/Translation | |
| parent | f1d1670b0b1b5c08064df95dabd295f3cf5dcf7f (diff) | |
Use new LINQ Order() methods (#3851)
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Translation/Translator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
