aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL')
-rw-r--r--Ryujinx.Graphics.GAL/Capabilities.cs55
1 files changed, 31 insertions, 24 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs
index d0c63bf2..937c3f5b 100644
--- a/Ryujinx.Graphics.GAL/Capabilities.cs
+++ b/Ryujinx.Graphics.GAL/Capabilities.cs
@@ -2,37 +2,44 @@ namespace Ryujinx.Graphics.GAL
{
public struct Capabilities
{
- public bool SupportsAstcCompression { get; }
- public bool SupportsImageLoadFormatted { get; }
- public bool SupportsMismatchingViewFormat { get; }
+ public bool HasFrontFacingBug { get; }
+ public bool HasVectorIndexingBug { get; }
+
+ public bool SupportsAstcCompression { get; }
+ public bool SupportsImageLoadFormatted { get; }
+ public bool SupportsMismatchingViewFormat { get; }
public bool SupportsNonConstantTextureOffset { get; }
- public bool SupportsTextureShadowLod { get; }
- public bool SupportsViewportSwizzle { get; }
+ public bool SupportsTextureShadowLod { get; }
+ public bool SupportsViewportSwizzle { get; }
- public int MaximumComputeSharedMemorySize { get; }
- public float MaximumSupportedAnisotropy { get; }
- public int StorageBufferOffsetAlignment { get; }
+ public int MaximumComputeSharedMemorySize { get; }
+ public float MaximumSupportedAnisotropy { get; }
+ public int StorageBufferOffsetAlignment { get; }
public Capabilities(
- bool supportsAstcCompression,
- bool supportsImageLoadFormatted,
- bool supportsMismatchingViewFormat,
- bool supportsNonConstantTextureOffset,
- bool supportsTextureShadowLod,
- bool supportsViewportSwizzle,
- int maximumComputeSharedMemorySize,
+ bool hasFrontFacingBug,
+ bool hasVectorIndexingBug,
+ bool supportsAstcCompression,
+ bool supportsImageLoadFormatted,
+ bool supportsMismatchingViewFormat,
+ bool supportsNonConstantTextureOffset,
+ bool supportsTextureShadowLod,
+ bool supportsViewportSwizzle,
+ int maximumComputeSharedMemorySize,
float maximumSupportedAnisotropy,
- int storageBufferOffsetAlignment)
+ int storageBufferOffsetAlignment)
{
- SupportsAstcCompression = supportsAstcCompression;
- SupportsImageLoadFormatted = supportsImageLoadFormatted;
- SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
+ HasFrontFacingBug = hasFrontFacingBug;
+ HasVectorIndexingBug = hasVectorIndexingBug;
+ SupportsAstcCompression = supportsAstcCompression;
+ SupportsImageLoadFormatted = supportsImageLoadFormatted;
+ SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
- SupportsTextureShadowLod = supportsTextureShadowLod;
- SupportsViewportSwizzle = supportsViewportSwizzle;
- MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
- MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
- StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
+ SupportsTextureShadowLod = supportsTextureShadowLod;
+ SupportsViewportSwizzle = supportsViewportSwizzle;
+ MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
+ MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
+ StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
}
}
} \ No newline at end of file