2019-10-13 00:02:07 -06:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct Capabilities
|
|
|
|
{
|
2019-12-10 23:54:18 -07:00
|
|
|
public bool SupportsAstcCompression { get; }
|
|
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
2019-10-13 00:02:07 -06:00
|
|
|
|
2019-12-08 19:55:22 -07:00
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
|
|
public int StorageBufferOffsetAlignment { get; }
|
2019-11-30 19:53:09 -07:00
|
|
|
|
|
|
|
public Capabilities(
|
|
|
|
bool supportsAstcCompression,
|
2019-12-10 23:54:18 -07:00
|
|
|
bool supportsNonConstantTextureOffset,
|
2019-12-08 19:55:22 -07:00
|
|
|
int maximumComputeSharedMemorySize,
|
2019-11-30 19:53:09 -07:00
|
|
|
int storageBufferOffsetAlignment)
|
2019-10-13 00:02:07 -06:00
|
|
|
{
|
2019-12-10 23:54:18 -07:00
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
2019-10-13 00:02:07 -06:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|