aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/IGpuAccessor.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.Shader/IGpuAccessor.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.Shader/IGpuAccessor.cs')
-rw-r--r--Ryujinx.Graphics.Shader/IGpuAccessor.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/Ryujinx.Graphics.Shader/IGpuAccessor.cs
index 6b584e53..26a8cafd 100644
--- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs
+++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs
@@ -74,6 +74,11 @@
return true;
}
+ bool QuerySupportsTextureShadowLod()
+ {
+ return true;
+ }
+
TextureFormat QueryTextureFormat(int handle, int cbufSlot = -1)
{
return TextureFormat.R8G8B8A8Unorm;