mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-01 14:27:27 +00:00
d512ce122c
* Initial tessellation shader support * Nits * Re-arrange built-in table * This is not needed anymore * PR feedback
35 lines
No EOL
1.2 KiB
C#
35 lines
No EOL
1.2 KiB
C#
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";
|
|
}
|
|
} |