misc: chore: Use collection expressions everywhere else (except VP9)

This commit is contained in:
Evan Husted
2025-01-26 15:59:11 -06:00
parent 0f857400b6
commit ac838aa81d
59 changed files with 3246 additions and 2452 deletions

View File

@@ -45,8 +45,8 @@ namespace Ryujinx.Graphics.Metal
public MetalRenderer(Func<CAMetalLayer> metalLayer)
{
_device = MTLDevice.CreateSystemDefaultDevice();
Programs = new HashSet<Program>();
Samplers = new HashSet<SamplerHolder>();
Programs = [];
Samplers = [];
if (_device.ArgumentBuffersSupport != MTLArgumentBuffersTier.Tier2)
{