diff options
Diffstat (limited to 'Ryujinx.Graphics.GAL/Target.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Target.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/Target.cs b/Ryujinx.Graphics.GAL/Target.cs index a62d628a..e20bd3c8 100644 --- a/Ryujinx.Graphics.GAL/Target.cs +++ b/Ryujinx.Graphics.GAL/Target.cs @@ -13,4 +13,12 @@ namespace Ryujinx.Graphics.GAL CubemapArray, TextureBuffer } + + public static class TargetExtensions + { + public static bool IsMultisample(this Target target) + { + return target == Target.Texture2DMultisample || target == Target.Texture2DMultisampleArray; + } + } }
\ No newline at end of file |