diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-11-18 15:28:40 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 19:28:40 +0100 |
| commit | eafee34feebd432151809df402f3f696e4d93d08 (patch) | |
| tree | 6c4fe83e41ae3b7eceeb2762d950800cbcc4c7c9 /Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs | |
| parent | 7c3b559830f0cd466ea7bc01743cca26ae48989a (diff) | |
Improvements with new .NET 5 functions or bugfixes (#1714)
* Improvements with new .NET 5 functions or bugfixes
* This no longer needs to be unsafe
Diffstat (limited to 'Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs')
| -rw-r--r-- | Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs b/Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs index a7c6d148..641188f8 100644 --- a/Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs +++ b/Ryujinx.Graphics.Nvdec.Vp9/Common/BitUtils.cs @@ -7,8 +7,7 @@ namespace Ryujinx.Graphics.Nvdec.Vp9.Common { internal static class BitUtils { - // FIXME: Enable inlining here after AVX2 gather bug is fixed. - // [MethodImpl(MethodImplOptions.AggressiveInlining)] + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static byte ClipPixel(int val) { return (byte)((val > 255) ? 255 : (val < 0) ? 0 : val); |
