mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-23 02:06:55 +01:00
0f6ec446ea
* Replace BGRA and scale uniforms with a uniform block * Setting the data again on program change is no longer needed * Optimize and resolve some warnings * Avoid redundant support buffer updates * Some optimizations to BindBuffers (now inlined) * Unify render scale arrays
34 lines
No EOL
1.1 KiB
C#
34 lines
No EOL
1.1 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 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";
|
|
}
|
|
} |