aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-08 23:55:22 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit0d9672f3aefde019de4023a872bb655960ef3e71 (patch)
treea2d1362c00ac0f0137dfb35e0128af5537ae0296 /Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
parent375ee0ba9640c213bba727e85c15493700425557 (diff)
Use maximum shared memory size supported by hardware
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
index 6e3a42a2..02775798 100644
--- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
+++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs
@@ -352,6 +352,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
{
return new ShaderCapabilities(
_context.Capabilities.MaximumViewportDimensions,
+ _context.Capabilities.MaximumComputeSharedMemorySize,
_context.Capabilities.StorageBufferOffsetAlignment);
}
}