mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 09:21:15 +01:00
Fix regression caused by wrong SB descriptor offset (#1316)
This commit is contained in:
1 parent
a78a69a6e7
commit
96951b7d04
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user