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.GAL/Capabilities.cs | |
parent | 7a1ab71c7376bcc3d043c09c9ac1172637955e54 (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.GAL/Capabilities.cs')
-rw-r--r-- | Ryujinx.Graphics.GAL/Capabilities.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/Capabilities.cs b/Ryujinx.Graphics.GAL/Capabilities.cs index 60f5f1f0..3138a43b 100644 --- a/Ryujinx.Graphics.GAL/Capabilities.cs +++ b/Ryujinx.Graphics.GAL/Capabilities.cs @@ -26,6 +26,7 @@ namespace Ryujinx.Graphics.GAL public readonly bool SupportsNonConstantTextureOffset; public readonly bool SupportsShaderBallot; public readonly bool SupportsTextureShadowLod; + public readonly bool SupportsViewportIndex; public readonly bool SupportsViewportSwizzle; public readonly bool SupportsIndirectParameters; @@ -59,6 +60,7 @@ namespace Ryujinx.Graphics.GAL bool supportsNonConstantTextureOffset, bool supportsShaderBallot, bool supportsTextureShadowLod, + bool supportsViewportIndex, bool supportsViewportSwizzle, bool supportsIndirectParameters, uint maximumUniformBuffersPerStage, @@ -89,6 +91,7 @@ namespace Ryujinx.Graphics.GAL SupportsNonConstantTextureOffset = supportsNonConstantTextureOffset; SupportsShaderBallot = supportsShaderBallot; SupportsTextureShadowLod = supportsTextureShadowLod; + SupportsViewportIndex = supportsViewportIndex; SupportsViewportSwizzle = supportsViewportSwizzle; SupportsIndirectParameters = supportsIndirectParameters; MaximumUniformBuffersPerStage = maximumUniformBuffersPerStage; |