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