mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-30 04:27:10 +02:00
Make sure attributes used on subsequent shader stages are initialized (#2538)
This commit is contained in:
parent
64e7dc1304
commit
b56a469566
15 changed files with 347 additions and 262 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue