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