aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-07-12 16:48:57 -0300
committerGitHub <noreply@github.com>2021-07-12 16:48:57 -0300
commit04dce402ac94679c5439038be1c8ce090e7ad4cb (patch)
treec7478e7eb87061400bab37daf4f2f69cf387d9f2 /Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs
parent9b08abc644c4afcb1b4eb59bfbe8057727ad9d70 (diff)
Implement a fast path for I2M transfers (#2467)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs b/Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs
index ac8b1186..a0304308 100644
--- a/Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs
+++ b/Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs
@@ -69,6 +69,15 @@ namespace Ryujinx.Graphics.Gpu.Engine.Compute
}
/// <summary>
+ /// Pushes a block of data to the Inline-to-Memory engine.
+ /// </summary>
+ /// <param name="data">Data to push</param>
+ public void LoadInlineData(ReadOnlySpan<int> data)
+ {
+ _i2mClass.LoadInlineData(data);
+ }
+
+ /// <summary>
/// Pushes a word of data to the Inline-to-Memory engine.
/// </summary>
/// <param name="argument">Method call argument</param>