aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/CodeGen/Glsl/DefaultNames.cs
blob: 4735040809d139e4794ed37cd4d6dd1d205cecf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
{
    static class DefaultNames
    {
        public const string LocalNamePrefix = "temp";

        public const string SamplerNamePrefix = "tex";
        public const string ImageNamePrefix   = "img";

        public const string PerPatchAttributePrefix = "patch_attr_";
        public const string IAttributePrefix = "in_attr";
        public const string OAttributePrefix = "out_attr";

        public const string StorageNamePrefix = "s";

        public const string DataName = "data";

        public const string SupportBlockName = "support_block";
        public const string SupportBlockAlphaTestName = "s_alpha_test";
        public const string SupportBlockIsBgraName = "s_is_bgra";
        public const string SupportBlockRenderScaleName = "s_render_scale";

        public const string BlockSuffix = "block";

        public const string UniformNamePrefix = "c";
        public const string UniformNameSuffix = "data";

        public const string LocalMemoryName  = "local_mem";
        public const string SharedMemoryName = "shared_mem";

        public const string ArgumentNamePrefix = "a";

        public const string UndefinedName = "undef";
    }
}