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/Threed/ThreedClass.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/Engine/Threed') diff --git a/Ryujinx.Graphics.Gpu/Engine/Threed/ThreedClass.cs b/Ryujinx.Graphics.Gpu/Engine/Threed/ThreedClass.cs index ad6a1d0e..37c8fec2 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Threed/ThreedClass.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Threed/ThreedClass.cs @@ -183,6 +183,15 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed _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