mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 18:45:44 +00:00
Align register index between output targets on pixel shaders (#1559)
This commit is contained in:
parent
0158dc4db3
commit
90ab28d1c6
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
using Ryujinx.Common;
|
||||||
using Ryujinx.Graphics.Shader.Decoders;
|
using Ryujinx.Graphics.Shader.Decoders;
|
||||||
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
|
using Ryujinx.Graphics.Shader.IntermediateRepresentation;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -127,6 +128,8 @@ namespace Ryujinx.Graphics.Shader.Translation
|
||||||
|
|
||||||
regIndex++;
|
regIndex++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
regIndex = BitUtils.AlignUp(regIndex, 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue