2019-10-13 03:02:07 -03:00
|
|
|
namespace Ryujinx.Graphics.GAL
|
|
|
|
{
|
|
|
|
public struct Capabilities
|
|
|
|
{
|
|
|
|
public bool SupportsAstcCompression { get; }
|
|
|
|
|
2019-12-06 19:37:00 -03:00
|
|
|
public int MaximumViewportDimensions { get; }
|
2019-11-30 23:53:09 -03:00
|
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
|
|
|
|
public Capabilities(
|
|
|
|
bool supportsAstcCompression,
|
2019-12-06 19:37:00 -03:00
|
|
|
int maximumViewportDimensions,
|
2019-11-30 23:53:09 -03:00
|
|
|
int storageBufferOffsetAlignment)
|
2019-10-13 03:02:07 -03:00
|
|
|
{
|
2019-11-30 23:53:09 -03:00
|
|
|
SupportsAstcCompression = supportsAstcCompression;
|
2019-12-06 19:37:00 -03:00
|
|
|
MaximumViewportDimensions = maximumViewportDimensions;
|
2019-11-30 23:53:09 -03:00
|
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
2019-10-13 03:02:07 -03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|