Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-carvalho committed Dec 27, 2024
1 parent 8a1b73a commit 6e14ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ryujinx.Graphics.Shader/CodeGen/Msl/Declarations.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 6e14ba5

Please sign in to comment.