Make sure attributes used on subsequent shader stages are initialized (#2538)

This commit is contained in:
gdkchan
2021-08-11 17:27:00 -03:00
committed by GitHub
parent 10d649e6d3
commit ed754af8d5
15 changed files with 347 additions and 262 deletions

View File

@ -6,17 +6,11 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
{
public List<StructuredFunction> Functions { get; }
public HashSet<int> IAttributes { get; }
public HashSet<int> OAttributes { get; }
public HelperFunctionsMask HelperFunctionsMask { get; set; }
public StructuredProgramInfo()
{
Functions = new List<StructuredFunction>();
IAttributes = new HashSet<int>();
OAttributes = new HashSet<int>();
}
}
}