From 04dce402ac94679c5439038be1c8ce090e7ad4cb Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 12 Jul 2021 16:48:57 -0300 Subject: Implement a fast path for I2M transfers (#2467) --- Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/Engine/Compute/ComputeClass.cs') 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 @@ -68,6 +68,15 @@ namespace Ryujinx.Graphics.Gpu.Engine.Compute _i2mClass.LaunchDma(ref Unsafe.As(ref _state.State), argument); } + /// + /// Pushes a block of data to the Inline-to-Memory engine. + /// + /// Data to push + public void LoadInlineData(ReadOnlySpan data) + { + _i2mClass.LoadInlineData(data); + } + /// /// Pushes a word of data to the Inline-to-Memory engine. /// -- cgit v1.2.3