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