aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-08-11 18:07:37 -0300
committerGitHub <noreply@github.com>2022-08-11 18:07:37 -0300
commita5ff0024fb33964c802e1712e5b11a52390603e7 (patch)
treefdc0b7781541215cd728b8e0288b729f73dbad88 /Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs
parentf9661a54d21c3020783d14fd9935bb7b741a6915 (diff)
Rename ToSpan to AsSpan (#3556)1.1.211
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs b/Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs
index 09f1df76..5baf2a1a 100644
--- a/Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/TransformFeedbackDescriptor.cs
@@ -52,7 +52,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
/// <returns>Span of varying locations</returns>
public ReadOnlySpan<byte> AsSpan()
{
- return MemoryMarshal.Cast<uint, byte>(VaryingLocations.ToSpan()).Slice(0, Math.Min(128, VaryingCount));
+ return MemoryMarshal.Cast<uint, byte>(VaryingLocations.AsSpan()).Slice(0, Math.Min(128, VaryingCount));
}
}
}