mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-01-28 18:46:47 -06:00
36 lines
903 B
C#
36 lines
903 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Ryujinx.Graphics.Shader.StructuredIr
|
|
{
|
|
readonly struct TransformFeedbackOutput
|
|
{
|
|
public readonly bool Valid;
|
|
public readonly int Buffer;
|
|
public readonly int Offset;
|
|
public readonly int Stride;
|
|
|
|
public TransformFeedbackOutput(int buffer, int offset, int stride)
|
|
{
|
|
Valid = true;
|
|
Buffer = buffer;
|
|
Offset = offset;
|
|
Stride = stride;
|
|
}
|
|
}
|
|
|
|
class StructuredProgramInfo
|
|
{
|
|
public List<StructuredFunction> Functions { get; }
|
|
|
|
public HashSet<IoDefinition> IoDefinitions { get; }
|
|
|
|
public HelperFunctionsMask HelperFunctionsMask { get; set; }
|
|
|
|
public StructuredProgramInfo()
|
|
{
|
|
Functions = new List<StructuredFunction>();
|
|
|
|
IoDefinitions = new HashSet<IoDefinition>();
|
|
}
|
|
}
|
|
} |