aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-08-02 03:44:30 -0300
committerGitHub <noreply@github.com>2022-08-02 08:44:30 +0200
commited0b10c81f1e9133c8e24beb5efd824c6bce4470 (patch)
tree3b1c8440cb5c4995c40d6bc75904632975e07596 /Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
parentf92650fcffa69cc45899b73e14d3dc7316b05d44 (diff)
Fix geometry shader passthrough fallback being used when feature is supported (#3525)1.1.203
* Fix geometry shader passthrough fallback being used when feature is supported * Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/EmitterContext.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Translation/EmitterContext.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
index 51823240..e8b682d0 100644
--- a/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
+++ b/Ryujinx.Graphics.Shader/Translation/EmitterContext.cs
@@ -248,7 +248,7 @@ namespace Ryujinx.Graphics.Shader.Translation
this.Copy(Attribute(index + 12), w);
}
- if (Config.GpPassthrough)
+ if (Config.GpPassthrough && !Config.GpuAccessor.QueryHostSupportsGeometryShaderPassthrough())
{
int inputVertices = Config.GpuAccessor.QueryPrimitiveTopology().ToInputVertices();