mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-05 02:32:01 +00:00
a15b951721
* Viewport swizzle support on NV and clip origin * Initialize default viewport swizzle state, emulate viewport swizzle on shaders when not supported * Address PR feedback
32 lines
No EOL
1.4 KiB
C#
32 lines
No EOL
1.4 KiB
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct Capabilities
|
|
{
|
|
public bool SupportsAstcCompression { get; }
|
|
public bool SupportsImageLoadFormatted { get; }
|
|
public bool SupportsNonConstantTextureOffset { 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 supportsViewportSwizzle,
|
|
int maximumComputeSharedMemorySize,
|
|
float maximumSupportedAnisotropy,
|
|
int storageBufferOffsetAlignment)
|
|
{
|
|
SupportsAstcCompression = supportsAstcCompression;
|
|
SupportsImageLoadFormatted = supportsImageLoadFormatted;
|
|
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
|
|
SupportsViewportSwizzle = supportsViewportSwizzle;
|
|
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
|
|
MaximumSupportedAnisotropy = maximumSupportedAnisotropy;
|
|
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
|
|
}
|
|
}
|
|
} |