misc: chore: Fix object creation in Shader project

This commit is contained in:
Evan Husted 2025-01-26 15:22:30 -06:00
parent 7f5a356c3d
commit ccef0b49eb
10 changed files with 37 additions and 37 deletions

View file

@ -176,7 +176,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
}
string funcPrefix = $"{funcKeyword} {returnType} {funcName ?? function.Name}(";
string indent = new string(' ', funcPrefix.Length);
string indent = new(' ', funcPrefix.Length);
return $"{funcPrefix}{string.Join($", \n{indent}", args)})";
}