mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 20:05:45 +00:00
212e472c9f
* This might help AMD a bit * Removal of old workaround.
35 lines
No EOL
1.6 KiB
C#
35 lines
No EOL
1.6 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsImageLoadFormatted { get; }
|
|
public bool SupportsNonConstantTextureOffset { get; }
|
|
public bool SupportsMismatchingViewFormat { get; }
|
|
public bool SupportsViewportSwizzle { get; }
|
|
|
|
public int MaximumComputeSharedMemorySize { get; }
|
|
public float MaximumSupportedAnisotropy { get; }
|
|
public int StorageBufferOffsetAlignment { get; }
|
|
|
|
public Capabilities(
|
|
bool supportsAstcCompression,
|
|
bool supportsImageLoadFormatted,
|
|
bool supportsNonConstantTextureOffset,
|
|
bool supportsMismatchingViewFormat,
|
|
bool supportsViewportSwizzle,
|
|
int maximumComputeSharedMemorySize,
|
|
float maximumSupportedAnisotropy,
|
|
int storageBufferOffsetAlignment)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
|
|
SupportsViewportSwizzle = supportsViewportSwizzle;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
}
|
|
}
|
|
} |