aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-03-20 13:55:07 -0300
committerGitHub <noreply@github.com>2022-03-20 13:55:07 -0300
commit79408b68c3e72c26d42f858089d97d77d58b44d9 (patch)
tree9aaa12a877030dc17b4333eefe886be7fb8eb820 /Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs
parentd461d4f68bf64f008336845ae8a25af4f69ec9ed (diff)
De-tile GOB when DMA copying from block linear to pitch kind memory regions (#3207)1.1.80
* De-tile GOB when DMA copying from block linear to pitch kind memory regions * XML docs + nits * Remove using * No flush for regular buffer copies * Add back ulong casts, fix regression due to oversight
Diffstat (limited to 'Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs b/Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs
index a8199932..039a2583 100644
--- a/Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs
+++ b/Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs
@@ -16,7 +16,7 @@ namespace Ryujinx.Graphics.Nvdec.Image
int width = surface.Width;
int height = surface.Height;
int stride = surface.Stride;
-
+
ReadOnlySpan<byte> luma = gmm.DeviceGetSpan(lumaOffset, GetBlockLinearSize(width, height, 1));
ReadLuma(surface.YPlane.AsSpan(), luma, stride, width, height);