aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL
diff options
context:
space:
mode:
authorXpl0itR <xpl0itr@outlook.com>2020-03-30 22:38:52 +0100
committerGitHub <noreply@github.com>2020-03-31 08:38:52 +1100
commit12d49c37d219950ccb22c3979ecb0b34262a7155 (patch)
treeac6e73776a332e833d0f59d1b72f281eaff07098 /Ryujinx.Graphics.GAL
parent5a52ca5071425e3f9600576679bec609e7cead89 (diff)
Make max anisotropy configurable (#1043)
* Make max anisotropy configurable * Move opengl command to opengl project * Add GUI option
Diffstat (limited to 'Ryujinx.Graphics.GAL')
-rw-r--r--Ryujinx.Graphics.GAL/Capabilities.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs
index b75ceb94..8ea4c02a 100644
--- a/Ryujinx.Graphics.GAL/Capabilities.cs
+++ b/Ryujinx.Graphics.GAL/Capabilities.cs
@@ -8,16 +8,20 @@ namespace Ryujinx.Graphics.GAL
public int MaximumComputeSharedMemorySize { get; }
public int StorageBufferOffsetAlignment { get; }
+ public float MaxSupportedAnisotropy { get; }
+
public Capabilities(
- bool supportsAstcCompression,
- bool supportsNonConstantTextureOffset,
- int maximumComputeSharedMemorySize,
- int storageBufferOffsetAlignment)
+ bool supportsAstcCompression,
+ bool supportsNonConstantTextureOffset,
+ int maximumComputeSharedMemorySize,
+ int storageBufferOffsetAlignment,
+ float maxSupportedAnisotropy)
{
SupportsAstcCompression = supportsAstcCompression;
SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
StorageBufferOffsetAlignment = storageBufferOffsetAlignment;
+ MaxSupportedAnisotropy = maxSupportedAnisotropy;
}
}
} \ No newline at end of file