mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-28 02:11:21 -08:00
32 lines
792 B
C#
32 lines
792 B
C#
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Ryujinx.Graphics.Shader.StructuredIr
|
||
|
{
|
||
|
class StructuredProgramInfo
|
||
|
{
|
||
|
public AstBlock MainBlock { get; }
|
||
|
|
||
|
public HashSet<AstOperand> Locals { get; }
|
||
|
|
||
|
public HashSet<int> CBuffers { get; }
|
||
|
|
||
|
public HashSet<int> IAttributes { get; }
|
||
|
public HashSet<int> OAttributes { get; }
|
||
|
|
||
|
public HashSet<AstTextureOperation> Samplers { get; }
|
||
|
|
||
|
public StructuredProgramInfo(AstBlock mainBlock)
|
||
|
{
|
||
|
MainBlock = mainBlock;
|
||
|
|
||
|
Locals = new HashSet<AstOperand>();
|
||
|
|
||
|
CBuffers = new HashSet<int>();
|
||
|
|
||
|
IAttributes = new HashSet<int>();
|
||
|
OAttributes = new HashSet<int>();
|
||
|
|
||
|
Samplers = new HashSet<AstTextureOperation>();
|
||
|
}
|
||
|
}
|
||
|
}
|