1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 15:21:44 +00:00

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.IntermediateRepresentation;
using System.Collections.Generic;
@ -127,6 +128,8 @@ namespace Ryujinx.Graphics.Shader.Translation
regIndex++;
}
regIndex = BitUtils.AlignUp(regIndex, 4);
}
}
}