diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-03-20 13:55:07 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 13:55:07 -0300 |
commit | 79408b68c3e72c26d42f858089d97d77d58b44d9 (patch) | |
tree | 9aaa12a877030dc17b4333eefe886be7fb8eb820 /Ryujinx.Graphics.Nvdec/Image/SurfaceReader.cs | |
parent | d461d4f68bf64f008336845ae8a25af4f69ec9ed (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.cs | 2 |
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); |