diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-09-10 10:20:23 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 13:20:23 +0000 |
| commit | 619ac86bd03fcafdcae19f8fc5ad7d90780c194b (patch) | |
| tree | 81638c9e0d617d7139c9924d9a5de3fa4bf1c33e /Ryujinx.Graphics.OpenGL | |
| parent | 7a1ab71c7376bcc3d043c09c9ac1172637955e54 (diff) | |
Do not output ViewportIndex on SPIR-V if GPU does not support it (#3644)
* Do not output ViewportIndex on SPIR-V if GPU does not support it
* Bump shader cache version
Diffstat (limited to 'Ryujinx.Graphics.OpenGL')
| -rw-r--r-- | Ryujinx.Graphics.OpenGL/OpenGLRenderer.cs | 1 |
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? |
