mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-20 13:40:18 +00:00
17 lines
446 B
C#
17 lines
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();
|
||
|
}
|
||
|
}
|
||
|
}
|