Ryujinx/Ryujinx.Graphics.GAL/Capabilities.cs

26 lines
1.0 KiB
C#
Raw Normal View History

2019-10-13 00:02:07 -06:00
namespace Ryujinx.Graphics.GAL
{
public struct Capabilities
{
public bool SupportsAstcCompression { get; }
public bool SupportsNonConstantTextureOffset { get; }
2019-10-13 00:02:07 -06:00
public int MaximumViewportDimensions { get; }
public int MaximumComputeSharedMemorySize { get; }
public int StorageBufferOffsetAlignment { get; }
public Capabilities(
bool supportsAstcCompression,
bool supportsNonConstantTextureOffset,
int maximumViewportDimensions,
int maximumComputeSharedMemorySize,
int storageBufferOffsetAlignment)
2019-10-13 00:02:07 -06:00
{
SupportsAstcCompression = supportsAstcCompression;
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
MaximumViewportDimensions = maximumViewportDimensions;
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
2019-10-13 00:02:07 -06:00
}
}
}