From ed2f5ede0f8d8f58390745f5e237bbfea36397fe Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 24 Jun 2021 19:54:50 -0300 Subject: 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 --- Ryujinx.Graphics.GAL/Capabilities.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Ryujinx.Graphics.GAL') 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; -- cgit v1.2.3