aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Capabilities.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2021-06-24 19:54:50 -0300
committerGitHub <noreply@github.com>2021-06-25 00:54:50 +0200
commited2f5ede0f8d8f58390745f5e237bbfea36397fe (patch)
treea197861cf93d1e279a288fe0be32aa43cae5cb9a /Ryujinx.Graphics.GAL/Capabilities.cs
parenteac659e37bf2ad8398a959c91f7b30017e4ad7f3 (diff)
Fix texture sampling with depth compare and LOD level or bias (#2404)
* Fix texture sampling with depth compare and LOD level or bias * Shader cache version bump * nit: Sorting
Diffstat (limited to 'Ryujinx.Graphics.GAL/Capabilities.cs')
-rw-r--r--Ryujinx.Graphics.GAL/Capabilities.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs
index e388f0e5..d0c63bf2 100644
--- a/Ryujinx.Graphics.GAL/Capabilities.cs
+++ b/Ryujinx.Graphics.GAL/Capabilities.cs
@@ -4,8 +4,9 @@ namespace Ryujinx.Graphics.GAL
{
public bool SupportsAstcCompression { get; }
public bool SupportsImageLoadFormatted { get; }
- public bool SupportsNonConstantTextureOffset { get; }
public bool SupportsMismatchingViewFormat { get; }
+ public bool SupportsNonConstantTextureOffset { get; }
+ public bool SupportsTextureShadowLod { get; }
public bool SupportsViewportSwizzle { get; }
public int MaximumComputeSharedMemorySize { get; }
@@ -15,8 +16,9 @@ namespace Ryujinx.Graphics.GAL
public Capabilities(
bool supportsAstcCompression,
bool supportsImageLoadFormatted,
- bool supportsNonConstantTextureOffset,
bool supportsMismatchingViewFormat,
+ bool supportsNonConstantTextureOffset,
+ bool supportsTextureShadowLod,
bool supportsViewportSwizzle,
int maximumComputeSharedMemorySize,
float maximumSupportedAnisotropy,
@@ -24,8 +26,9 @@ namespace Ryujinx.Graphics.GAL
{
SupportsAstcCompression = supportsAstcCompression;
SupportsImageLoadFormatted = supportsImageLoadFormatted;
- SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
SupportsMismatchingViewFormat = supportsMismatchingViewFormat;
+ SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset;
+ SupportsTextureShadowLod = supportsTextureShadowLod;
SupportsViewportSwizzle = supportsViewportSwizzle;
MaximumComputeSharedMemorySize = maximumComputeSharedMemorySize;
MaximumSupportedAnisotropy = maximumSupportedAnisotropy;