mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 15:45:44 +00: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>();
|
||
|
}
|
||
|
}
|
||
|
}
|