mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 15:49:57 -06: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