aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-06-22 08:48:32 -0300
committerGitHub <noreply@github.com>2020-06-22 13:48:32 +0200
commit96951b7d0468ebcdb3300925d3896a6e3045a21e (patch)
treee8912c26ab28c62f2f094375453c9e9302cffa6e
parenta78a69a6e7d460a5e5aa7adb82c3073cc3b7a48f (diff)
Fix regression caused by wrong SB descriptor offset (#1316)
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/Compute.cs2
1 files changed, 1 insertions, 1 deletions
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;