2020-07-14 23:01:10 -04:00
|
|
|
using System;
|
|
|
|
|
2022-01-21 10:35:21 -05:00
|
|
|
namespace Ryujinx.Graphics.Gpu.Shader
|
2020-07-14 23:01:10 -04:00
|
|
|
{
|
2022-01-21 10:35:21 -05:00
|
|
|
struct TransformFeedbackDescriptor
|
2020-07-14 23:01:10 -04:00
|
|
|
{
|
|
|
|
public int BufferIndex { get; }
|
|
|
|
public int Stride { get; }
|
|
|
|
|
|
|
|
public byte[] VaryingLocations { get; }
|
|
|
|
|
|
|
|
public TransformFeedbackDescriptor(int bufferIndex, int stride, byte[] varyingLocations)
|
|
|
|
{
|
|
|
|
BufferIndex = bufferIndex;
|
|
|
|
Stride = stride;
|
|
|
|
VaryingLocations = varyingLocations ?? throw new ArgumentNullException(nameof(varyingLocations));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|