1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-30 20:32:02 +00:00

Fix regression caused by wrong SB descriptor offset (#1316)

This commit is contained in:
gdkchan 2020-06-22 08:48:32 -03:00 committed by GitHub
parent a78a69a6e7
commit 96951b7d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
ulong cbDescAddress = BufferManager.GetComputeUniformBufferAddress(0);
int cbDescOffset = 0x260 + cb.Slot * 0x10;
int cbDescOffset = 0x260 + (cb.Slot - 8) * 0x10;
cbDescAddress += (ulong)cbDescOffset;