aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-08-25 23:16:41 -0300
committerGitHub <noreply@github.com>2022-08-26 02:16:41 +0000
commit923089a29825cad8159a63616d14dcbd7161cb3c (patch)
tree99c7e39baba29a743dcccbdb046b2db3d5148d45 /Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
parentd9aa15eb243bc1b40892c9fcfcbb0e9ef66cfa63 (diff)
Fast path for Inline-to-Memory texture data transfers (#3610)1.1.233
* Fast path for Inline-to-Memory texture data transfers * Only do it for block linear textures to be on the safe side
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs b/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
index e5b39aa6..e46d5c48 100644
--- a/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
+++ b/Ryujinx.Graphics.OpenGL/Image/TextureBuffer.cs
@@ -58,6 +58,11 @@ namespace Ryujinx.Graphics.OpenGL.Image
throw new NotSupportedException();
}
+ public void SetData(ReadOnlySpan<byte> data, int layer, int level, Rectangle<int> region)
+ {
+ throw new NotSupportedException();
+ }
+
public void SetStorage(BufferRange buffer)
{
if (_buffer != BufferHandle.Null &&