mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-10 15:41:44 +00:00
Fix missing geometry shader passthrough inputs (#3106)
* Fix missing geometry shader passthrough inputs * Shader cache version bump
This commit is contained in:
parent
571496d243
commit
f861f0bca2
2 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
/// <summary>
|
||||
/// Version of the codegen (to be changed when codegen or guest format change).
|
||||
/// </summary>
|
||||
private const ulong ShaderCodeGenVersion = 3012;
|
||||
private const ulong ShaderCodeGenVersion = 3106;
|
||||
|
||||
// Progress reporting helpers
|
||||
private volatile int _shaderCount;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue