mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-21 02:20:17 +00:00
17 lines
No EOL
446 B
C#
17 lines
No EOL
446 B
C#
using Ryujinx.Graphics.Shader.StructuredIr;
|
|
using Ryujinx.Graphics.Shader.Translation;
|
|
|
|
namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|
{
|
|
static class MslGenerator
|
|
{
|
|
public static string Generate(StructuredProgramInfo info, ShaderConfig config)
|
|
{
|
|
CodeGenContext context = new CodeGenContext(info, config);
|
|
|
|
Declarations.Declare(context, info);
|
|
|
|
return context.GetCode();
|
|
}
|
|
}
|
|
} |