2019-10-13 02:02:07 -04:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct Capabilities
|
|
|
|
{
|
2019-12-11 01:54:18 -05:00
|
|
|
public bool SupportsAstcCompression { get; }
|
|
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
2019-10-13 02:02:07 -04:00
|
|
|
|
2019-12-08 21:55:22 -05:00
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
|
|
public int StorageBufferOffsetAlignment { get; }
|
2019-11-30 21:53:09 -05:00
|
|
|
|
2020-03-30 17:38:52 -04:00
|
|
|
public float MaxSupportedAnisotropy { get; }
|
|
|
|
|
2019-11-30 21:53:09 -05:00
|
|
|
public Capabilities(
|
2020-03-30 17:38:52 -04:00
|
|
|
bool supportsAstcCompression,
|
|
|
|
bool supportsNonConstantTextureOffset,
|
|
|
|
int maximumComputeSharedMemorySize,
|
|
|
|
int storageBufferOffsetAlignment,
|
|
|
|
float maxSupportedAnisotropy)
|
2019-10-13 02:02:07 -04:00
|
|
|
{
|
2019-12-11 01:54:18 -05:00
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
2020-03-30 17:38:52 -04:00
|
|
|
MaxSupportedAnisotropy = maxSupportedAnisotropy;
|
2019-10-13 02:02:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|