aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/Cache/TransformFeedbackDescriptorOld.cs
blob: 5e9c6711de894cea57953ef8072e0ea7d4f1501b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System;

namespace Ryujinx.Graphics.Gpu.Shader.Cache
{
    struct TransformFeedbackDescriptorOld
    {
        public int BufferIndex { get; }
        public int Stride      { get; }

        public byte[] VaryingLocations { get; }

        public TransformFeedbackDescriptorOld(int bufferIndex, int stride, byte[] varyingLocations)
        {
            BufferIndex      = bufferIndex;
            Stride           = stride;
            VaryingLocations = varyingLocations ?? throw new ArgumentNullException(nameof(varyingLocations));
        }
    }
}