mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 19:13:04 +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>();
|
||
|
}
|
||
|
}
|
||
|
}
|