mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-18 12:55:54 +01: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>();
|
||
|
}
|
||
|
}
|
||
|
}
|