mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-29 05:23:01 +00:00
cb171f6ebf
Support shared color masks (used by Nouveau and maybe the NVIDIA driver). Support draw buffers (also required by OpenGL). Support viewport transform disable (disabled for now as it breaks some games). Fix instanced rendering draw being ignored for multi draw. Fix IADD and IADD3 immediate shader encodings, that was not matching some ops. Implement FFMA32I shader instruction. Implement IMAD shader instruction.
30 lines
No EOL
929 B
C#
30 lines
No EOL
929 B
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 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 DummyIntName = "dummyInt";
|
|
public const string DummyUintName = "dummyUint";
|
|
|
|
public const string UndefinedName = "undef";
|
|
}
|
|
} |