1
1
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-08-23 05:26:26 -05:00

Fix geometry shader passthrough fallback being used when feature is supported (#3525)

* Fix geometry shader passthrough fallback being used when feature is supported

* Shader cache version bump
This commit is contained in:
gdkchan
2022-08-02 03:44:30 -03:00
committed by GitHub
parent f92650fcff
commit ed0b10c81f
2 changed files with 2 additions and 2 deletions

View File

@@ -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();