mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-31 01:59:59 -06:00
Fix regression caused by wrong SB descriptor offset (#1316)
This commit is contained in:
@ -86,7 +86,7 @@ namespace Ryujinx.Graphics.Gpu.Engine
|
|||||||
|
|
||||||
ulong cbDescAddress = BufferManager.GetComputeUniformBufferAddress(0);
|
ulong cbDescAddress = BufferManager.GetComputeUniformBufferAddress(0);
|
||||||
|
|
||||||
int cbDescOffset = 0x260 + cb.Slot * 0x10;
|
int cbDescOffset = 0x260 + (cb.Slot - 8) * 0x10;
|
||||||
|
|
||||||
cbDescAddress += (ulong)cbDescOffset;
|
cbDescAddress += (ulong)cbDescOffset;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user