aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vulkan/ResourceBindingSegment.cs
blob: 6e27da4a689a3fb5622324f504fe3fbe0826dcac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Ryujinx.Graphics.GAL;

namespace Ryujinx.Graphics.Vulkan
{
    readonly struct ResourceBindingSegment
    {
        public readonly int Binding;
        public readonly int Count;
        public readonly ResourceType Type;
        public readonly ResourceStages Stages;
        public readonly bool IsArray;

        public ResourceBindingSegment(int binding, int count, ResourceType type, ResourceStages stages, bool isArray)
        {
            Binding = binding;
            Count = count;
            Type = type;
            Stages = stages;
            IsArray = isArray;
        }
    }
}