aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/StructuredIr/MemoryDefinition.cs
blob: 3ea69fde11a9ba0992a5a8b3e050860dc664daa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Ryujinx.Graphics.Shader.Translation;

namespace Ryujinx.Graphics.Shader.StructuredIr
{
    readonly struct MemoryDefinition
    {
        public string Name { get; }
        public AggregateType Type { get; }
        public int ArrayLength { get; }

        public MemoryDefinition(string name, AggregateType type, int arrayLength = 1)
        {
            Name = name;
            Type = type;
            ArrayLength = arrayLength;
        }
    }
}