aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/CodeGen
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-02-11 15:52:20 -0300
committerGitHub <noreply@github.com>2022-02-11 19:52:20 +0100
commitf861f0bca2767f74478bc444a7a057d05cc96638 (patch)
tree5c89b5500ad5f5ab7a9e9f50766a681524f91a33 /Ryujinx.Graphics.Shader/CodeGen
parent571496d243eb3aaffb35beaae60f390eed3f0ee0 (diff)
Fix missing geometry shader passthrough inputs (#3106)
* Fix missing geometry shader passthrough inputs * Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/CodeGen')
-rw-r--r--Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
index 55d5551c..c955a616 100644
--- a/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
+++ b/Ryujinx.Graphics.Shader/CodeGen/Glsl/Declarations.cs
@@ -490,7 +490,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
}
else
{
- int usedAttributes = context.Config.UsedInputAttributes;
+ int usedAttributes = context.Config.UsedInputAttributes | context.Config.PassthroughAttributes;
while (usedAttributes != 0)
{
int index = BitOperations.TrailingZeroCount(usedAttributes);