/ src / Ryujinx.Graphics.Shader / StructuredIr / MemoryDefinition.cs
MemoryDefinition.cs
 1  using Ryujinx.Graphics.Shader.Translation;
 2  
 3  namespace Ryujinx.Graphics.Shader.StructuredIr
 4  {
 5      readonly struct MemoryDefinition
 6      {
 7          public string Name { get; }
 8          public AggregateType Type { get; }
 9          public int ArrayLength { get; }
10  
11          public MemoryDefinition(string name, AggregateType type, int arrayLength = 1)
12          {
13              Name = name;
14              Type = type;
15              ArrayLength = arrayLength;
16          }
17      }
18  }