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