aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/CodeGen
diff options
context:
space:
mode:
authorBerkan Diler <b.diler@gmx.de>2022-11-16 19:17:03 +0100
committerGitHub <noreply@github.com>2022-11-16 15:17:03 -0300
commitb96794e72b76138ee1cf36226c47554b4cf1d670 (patch)
treece7fa2c2beb8d1de3a9f923c7d7d6f3eb6134db0 /Ryujinx.Graphics.Shader/CodeGen
parentf1d1670b0b1b5c08064df95dabd295f3cf5dcf7f (diff)
Use new LINQ Order() methods (#3851)
Diffstat (limited to 'Ryujinx.Graphics.Shader/CodeGen')
-rw-r--r--Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
index b2eeb5f5..c6e3b339 100644
--- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
+++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
@@ -525,7 +525,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
private static void DeclareInputAttributesPerPatch(CodeGenContext context, HashSet<int> attrs)
{
- foreach (int attr in attrs.OrderBy(x => x))
+ foreach (int attr in attrs.Order())
{
DeclareInputAttributePerPatch(context, attr);
}
@@ -658,7 +658,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
private static void DeclareUsedOutputAttributesPerPatch(CodeGenContext context, HashSet<int> attrs)
{
- foreach (int attr in attrs.OrderBy(x => x))
+ foreach (int attr in attrs.Order())
{
DeclareOutputAttributePerPatch(context, attr);
}