2019-10-13 02:02:07 -04:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct Capabilities
|
|
|
|
{
|
|
|
|
public bool SupportsAstcCompression { get; }
|
|
|
|
|
2019-12-08 21:55:22 -05:00
|
|
|
public int MaximumViewportDimensions { get; }
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
|
|
public int StorageBufferOffsetAlignment { get; }
|
2019-11-30 21:53:09 -05:00
|
|
|
|
|
|
|
public Capabilities(
|
|
|
|
bool supportsAstcCompression,
|
2019-12-06 17:37:00 -05:00
|
|
|
int maximumViewportDimensions,
|
2019-12-08 21:55:22 -05:00
|
|
|
int maximumComputeSharedMemorySize,
|
2019-11-30 21:53:09 -05:00
|
|
|
int storageBufferOffsetAlignment)
|
2019-10-13 02:02:07 -04:00
|
|
|
{
|
2019-12-08 21:55:22 -05:00
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
|
|
MaximumViewportDimensions = maximumViewportDimensions;
|
|
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
2019-10-13 02:02:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|