Align register index between output targets on pixel shaders (#1559)

This commit is contained in:
gdkchan 2020-09-21 00:45:04 -03:00 committed by GitHub
parent 0158dc4db3
commit 90ab28d1c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
} }
} }
} }