mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-26 12:03:01 +00:00
0b6d206daa
* Omit image format if possible, and fix BA bit * Match extension name
30 lines
No EOL
1.2 KiB
C#
30 lines
No EOL
1.2 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsImageLoadFormatted { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
public float MaxSupportedAnisotropy { get; }
|
|
|
|
public Capabilities(
|
|
bool supportsAstcCompression,
|
|
bool supportsImageLoadFormatted,
|
|
bool supportsNonConstantTextureOffset,
|
|
int maximumComputeSharedMemorySize,
|
|
int storageBufferOffsetAlignment,
|
|
float maxSupportedAnisotropy)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
MaxSupportedAnisotropy = maxSupportedAnisotropy;
|
|
}
|
|
}
|
|
} |