2019-10-13 08:02:07 +02:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct Capabilities
|
|
|
|
{
|
2019-12-11 07:54:18 +01:00
|
|
|
public bool SupportsAstcCompression { get; }
|
2020-05-27 11:00:21 +02:00
|
|
|
public bool SupportsImageLoadFormatted { get; }
|
2019-12-11 07:54:18 +01:00
|
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
2021-05-16 20:43:27 +02:00
|
|
|
public bool SupportsMismatchingViewFormat { get; }
|
2020-05-28 01:03:07 +02:00
|
|
|
public bool SupportsViewportSwizzle { get; }
|
2019-10-13 08:02:07 +02:00
|
|
|
|
2020-05-28 01:03:07 +02:00
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
|
|
public float MaximumSupportedAnisotropy { get; }
|
|
|
|
public int StorageBufferOffsetAlignment { get; }
|
2020-03-30 23:38:52 +02:00
|
|
|
|
2019-12-01 03:53:09 +01:00
|
|
|
public Capabilities(
|
2020-03-30 23:38:52 +02:00
|
|
|
bool supportsAstcCompression,
|
2020-05-27 11:00:21 +02:00
|
|
|
bool supportsImageLoadFormatted,
|
2020-03-30 23:38:52 +02:00
|
|
|
bool supportsNonConstantTextureOffset,
|
2021-05-16 20:43:27 +02:00
|
|
|
bool supportsMismatchingViewFormat,
|
2020-05-28 01:03:07 +02:00
|
|
|
bool supportsViewportSwizzle,
|
2020-03-30 23:38:52 +02:00
|
|
|
int maximumComputeSharedMemorySize,
|
2020-05-28 01:03:07 +02:00
|
|
|
float maximumSupportedAnisotropy,
|
|
|
|
int storageBufferOffsetAlignment)
|
2019-10-13 08:02:07 +02:00
|
|
|
{
|
2019-12-11 07:54:18 +01:00
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
2020-05-27 11:00:21 +02:00
|
|
|
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
2019-12-11 07:54:18 +01:00
|
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
2021-05-16 20:43:27 +02:00
|
|
|
SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
|
2020-05-28 01:03:07 +02:00
|
|
|
SupportsViewportSwizzle = supportsViewportSwizzle;
|
2019-12-11 07:54:18 +01:00
|
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
2020-05-28 01:03:07 +02:00
|
|
|
MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
|
2019-12-11 07:54:18 +01:00
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
2019-10-13 08:02:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|