aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/StructuredIr/BufferDefinition.cs
blob: 5afebc75f368ac78fd4439169622ccb3a9918687 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Graphics.Shader.StructuredIr
{
    readonly struct BufferDefinition
    {
        public BufferLayout Layout { get; }
        public int Set { get; }
        public int Binding { get; }
        public string Name { get; }
        public StructureType Type { get; }

        public BufferDefinition(BufferLayout layout, int set, int binding, string name, StructureType type)
        {
            Layout = layout;
            Set = set;
            Binding = binding;
            Name = name;
            Type = type;
        }
    }
}