diff options
| author | Berkan Diler <b.diler@gmx.de> | 2022-02-17 21:38:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-17 21:38:50 +0100 |
| commit | 9ca040c0ff66e8ad928b6fb109401a5b4b53a74d (patch) | |
| tree | d8dd00bf459a2c894ff393c09afd60e96b57bcc4 /Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs | |
| parent | 7e9011673b1593aa2b318e312e0b31379e2e57e4 (diff) | |
Use ReadOnlySpan<byte> compiler optimization for static data (#3130)
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs')
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs b/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs index f82ca761..acebd8ab 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Decoder.cs @@ -15,7 +15,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9 public ISurface CreateSurface(int width, int height) => new Surface(width, height); - private static readonly byte[] LiteralToFilter = new byte[] + private static ReadOnlySpan<byte> LiteralToFilter => new byte[] { Constants.EightTapSmooth, Constants.EightTap, |
