mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-29 22:30:47 -07:00
Make sure attributes used on subsequent shader stages are initialized (#2538)
This commit is contained in:
@ -15,6 +15,8 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
|
||||
public bool IsNonMain { get; }
|
||||
|
||||
public int OperationsCount => _operations.Count;
|
||||
|
||||
private readonly IReadOnlyDictionary<ulong, int> _funcs;
|
||||
private readonly List<Operation> _operations;
|
||||
private readonly Dictionary<ulong, Operand> _labels;
|
||||
@ -200,6 +202,7 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||
|
||||
if (target.Enabled)
|
||||
{
|
||||
Config.SetOutputUserAttribute(rtIndex);
|
||||
regIndexBase += 4;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user