mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 06:06:44 +00:00
23 lines
No EOL
868 B
C#
23 lines
No EOL
868 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
public Capabilities(
|
|
bool supportsAstcCompression,
|
|
bool supportsNonConstantTextureOffset,
|
|
int maximumComputeSharedMemorySize,
|
|
int storageBufferOffsetAlignment)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
}
|
|
}
|
|
} |