From 6e14ba5b35bdfa12a9eeb1f24b44333c7df03259 Mon Sep 17 00:00:00 2001 From: Marco Carvalho Date: Fri, 27 Dec 2024 15:00:28 -0300 Subject: [PATCH] . --- src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs b/src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs index 479f431893..70e8aaa75a 100644 --- a/src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs +++ b/src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs @@ -87,8 +87,8 @@ public static int[] Declare(CodeGenContext context, StructuredProgramInfo info) .GroupBy(x => x.Set) .ToDictionary(x => x.Key, x => x.OrderBy(y => y.Binding).ToArray()); - var textureSets = textureDefinitions.Keys.ToArray(); - var imageSets = imageDefinitions.Keys.ToArray(); + int[] textureSets = [.. textureDefinitions.Keys]; + int[] imageSets = [.. imageDefinitions.Keys]; var sets = textureSets.Union(imageSets).ToArray();