Use concrete types when possible for improved performance

This commit is contained in:
Marco Carvalho
2025-01-05 11:54:53 -03:00
parent 850df38f1e
commit c80c397967
45 changed files with 150 additions and 171 deletions

View File

@@ -102,7 +102,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
return false;
}
IAstNode block;
AstBlock block;
IAstNode other;
int blockLvl, otherLvl;
@@ -441,7 +441,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
return path.ToArray();
}
private static int Level(IAstNode node)
private static int Level(AstBlock node)
{
int level = 0;