aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Vulkan/ResourceBindingSegment.cs
blob: 9de46e6149a8751fe9551739c5328274f866575e (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 ResourceAccess Access;

        public ResourceBindingSegment(int binding, int count, ResourceType type, ResourceStages stages, ResourceAccess access)
        {
            Binding = binding;
            Count = count;
            Type = type;
            Stages = stages;
            Access = access;
        }
    }
}