From 96951b7d0468ebcdb3300925d3896a6e3045a21e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 22 Jun 2020 08:48:32 -0300 Subject: [PATCH] Fix regression caused by wrong SB descriptor offset (#1316) --- Ryujinx.Graphics.Gpu/Engine/Compute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.Graphics.Gpu/Engine/Compute.cs b/Ryujinx.Graphics.Gpu/Engine/Compute.cs index 0386df95..9f0034eb 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Compute.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Compute.cs @@ -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;