mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-31 10:09:42 -06:00

This is not a continuation of the Metal backend; this is simply bringing the branch up to date and merging it as-is behind an experiment. --------- Co-authored-by: Isaac Marovitz <isaacryu@icloud.com> Co-authored-by: Samuliak <samuliak77@gmail.com> Co-authored-by: SamoZ256 <96914946+SamoZ256@users.noreply.github.com> Co-authored-by: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com> Co-authored-by: riperiperi <rhy3756547@hotmail.com> Co-authored-by: Gabriel A <gab.dark.100@gmail.com>
35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
|
{
|
|
static class Defaults
|
|
{
|
|
public const string LocalNamePrefix = "temp";
|
|
|
|
public const string PerPatchAttributePrefix = "patchAttr";
|
|
public const string IAttributePrefix = "inAttr";
|
|
public const string OAttributePrefix = "outAttr";
|
|
|
|
public const string StructPrefix = "struct";
|
|
|
|
public const string ArgumentNamePrefix = "a";
|
|
|
|
public const string UndefinedName = "0";
|
|
|
|
public const int MaxVertexBuffers = 16;
|
|
|
|
public const uint ZeroBufferIndex = MaxVertexBuffers;
|
|
public const uint BaseSetIndex = MaxVertexBuffers + 1;
|
|
|
|
public const uint ConstantBuffersIndex = BaseSetIndex;
|
|
public const uint StorageBuffersIndex = BaseSetIndex + 1;
|
|
public const uint TexturesIndex = BaseSetIndex + 2;
|
|
public const uint ImagesIndex = BaseSetIndex + 3;
|
|
|
|
public const uint ConstantBuffersSetIndex = 0;
|
|
public const uint StorageBuffersSetIndex = 1;
|
|
public const uint TexturesSetIndex = 2;
|
|
public const uint ImagesSetIndex = 3;
|
|
|
|
public const int TotalClipDistances = 8;
|
|
}
|
|
}
|