From f2c85c5d58a0aeda5d5fe2d7a980cc7284330288 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 11 Dec 2019 03:54:18 -0300 Subject: Support non-constant texture offsets on non-NVIDIA gpus --- Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs') 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 -- cgit v1.2.3