misc: chore: Use collection expressions (part 2)

This commit is contained in:
KeatonTheBot
2025-03-10 21:32:01 -05:00
parent c923c0043a
commit 340ec79e9f
176 changed files with 308 additions and 308 deletions
@@ -60,8 +60,8 @@ namespace Ryujinx.Graphics.Gpu.Shader
for (int index = 0; index < totalSets; index++)
{
_resourceDescriptors[index] = new();
_resourceUsages[index] = new();
_resourceDescriptors[index] = [];
_resourceUsages[index] = [];
}
AddDescriptor(SupportBufferStages, ResourceType.UniformBuffer, uniformSetIndex, 0, 1);
@@ -280,7 +280,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
for (int index = oldLength; index <= setIndex; index++)
{
_resourceDescriptors[index] = new();
_resourceDescriptors[index] = [];
}
}
@@ -301,7 +301,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
for (int index = oldLength; index <= setIndex; index++)
{
_resourceUsages[index] = new();
_resourceUsages[index] = [];
}
}