aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/StructuredIr/BufferDefinition.cs
blob: e2759480464193803745fd834f1204ab6cad6559 (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;
        }
    }
}