| 123456789101112131415161718192021222324252627282930313233343536 |
- using System.Collections.Generic;
- namespace Ryujinx.Graphics.Shader.StructuredIr
- {
- 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 HelperFunctionsMask HelperFunctionsMask { get; set; }
- public TransformFeedbackOutput[] TransformFeedbackOutputs { get; }
- public StructuredProgramInfo()
- {
- Functions = new List<StructuredFunction>();
- TransformFeedbackOutputs = new TransformFeedbackOutput[0x80];
- }
- }
- }
|