aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-11 03:54:18 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commitf2c85c5d58a0aeda5d5fe2d7a980cc7284330288 (patch)
treee9a3b2100de28120cd52239b5af9615b750ec352 /Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
parent3323a3a042c85ce88926771159fc041b5576de60 (diff)
Support non-constant texture offsets on non-NVIDIA gpus
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
index d54c1942..648e073c 100644
--- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
@@ -355,7 +355,8 @@ namespace Ryujinx.Graphics.Gpu.Shader
return new ShaderCapabilities(
_context.Capabilities.MaximumViewportDimensions,
_context.Capabilities.MaximumComputeSharedMemorySize,
- _context.Capabilities.StorageBufferOffsetAlignment);
+ _context.Capabilities.StorageBufferOffsetAlignment,
+ _context.Capabilities.SupportsNonConstantTextureOffset);
}
}
} \ No newline at end of file