aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-09-10 10:20:23 -0300
committerGitHub <noreply@github.com>2022-09-10 13:20:23 +0000
commit619ac86bd03fcafdcae19f8fc5ad7d90780c194b (patch)
tree81638c9e0d617d7139c9924d9a5de3fa4bf1c33e /Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs
parent7a1ab71c7376bcc3d043c09c9ac1172637955e54 (diff)
Do not output ViewportIndex on SPIR-V if GPU does not support it (#3644)1.1.259
* Do not output ViewportIndex on SPIR-V if GPU does not support it * Bump shader cache version
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs
index 4df81cef..0b9acf10 100644
--- a/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs
+++ b/Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs
@@ -120,6 +120,7 @@ namespace Ryujinx.Graphics.OpenGL
supportsNonConstantTextureOffset: HwCapabilities.SupportsNonConstantTextureOffset,
supportsShaderBallot: HwCapabilities.SupportsShaderBallot,
supportsTextureShadowLod: HwCapabilities.SupportsTextureShadowLod,
+ supportsViewportIndex: true,
supportsViewportSwizzle: HwCapabilities.SupportsViewportSwizzle,
supportsIndirectParameters: HwCapabilities.SupportsIndirectParameters,
maximumUniformBuffersPerStage: 13, // TODO: Avoid hardcoding those limits here and get from driver?