2020-07-14 21:01:10 -06:00
|
|
|
using System;
|
|
|
|
|
2022-01-21 08:35:21 -07:00
|
|
|
namespace Ryujinx.Graphics.Gpu.Shader
|
2020-07-14 21:01:10 -06:00
|
|
|
{
|
2022-01-21 08:35:21 -07:00
|
|
|
struct TransformFeedbackDescriptor
|
2020-07-14 21:01:10 -06: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));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|