| 1234567891011121314151617181920212223242526272829303132333435 |
- namespace Ryujinx.Graphics.GAL
- {
- public struct Capabilities
- {
- public bool SupportsAstcCompression { get; }
- public bool SupportsImageLoadFormatted { get; }
- public bool SupportsNonConstantTextureOffset { get; }
- public bool SupportsMismatchingViewFormat { get; }
- public bool SupportsViewportSwizzle { get; }
- public int MaximumComputeSharedMemorySize { get; }
- public float MaximumSupportedAnisotropy { get; }
- public int StorageBufferOffsetAlignment { get; }
- public Capabilities(
- bool supportsAstcCompression,
- bool supportsImageLoadFormatted,
- bool supportsNonConstantTextureOffset,
- bool supportsMismatchingViewFormat,
- bool supportsViewportSwizzle,
- int maximumComputeSharedMemorySize,
- float maximumSupportedAnisotropy,
- int storageBufferOffsetAlignment)
- {
- SupportsAstcCompression = supportsAstcCompression;
- SupportsImageLoadFormatted = supportsImageLoadFormatted;
- SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
- SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
- SupportsViewportSwizzle = supportsViewportSwizzle;
- MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
- MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
- StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
- }
- }
- }
|