using System.Collections.Generic; namespace Ryujinx.Graphics.Shader.StructuredIr { class StructuredProgramInfo { public AstBlock MainBlock { get; } public HashSet Locals { get; } public HashSet CBuffers { get; } public HashSet SBuffers { get; } public HashSet IAttributes { get; } public HashSet OAttributes { get; } public InterpolationQualifier[] InterpolationQualifiers { get; } public bool UsesInstanceId { get; set; } public HelperFunctionsMask HelperFunctionsMask { get; set; } public HashSet Samplers { get; } public HashSet Images { get; } public StructuredProgramInfo(AstBlock mainBlock) { MainBlock = mainBlock; Locals = new HashSet(); CBuffers = new HashSet(); SBuffers = new HashSet(); IAttributes = new HashSet(); OAttributes = new HashSet(); InterpolationQualifiers = new InterpolationQualifier[32]; Samplers = new HashSet(); Images = new HashSet(); } } }