Fix missing geometry shader passthrough inputs (#3106)

* Fix missing geometry shader passthrough inputs

* Shader cache version bump
This commit is contained in:
gdkchan 2022-02-11 15:52:20 -03:00 committed by GitHub
parent 571496d243
commit f861f0bca2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

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