From 911ea38e939459c652c6e27a28599340a61267dc Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 8 Nov 2021 13:18:46 -0300 Subject: Support shader gl_Color, gl_SecondaryColor and gl_TexCoord built-ins (#2817) * Support shader gl_Color, gl_SecondaryColor and gl_TexCoord built-ins * Shader cache version bump * Fix back color value on fragment shader * Disable IPA multiplication for fixed function attributes and back color selection --- Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs') diff --git a/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs b/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs index b19e39af..b4e61cb6 100644 --- a/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs +++ b/Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs @@ -136,9 +136,7 @@ namespace Ryujinx.Graphics.Shader.Translation { if (nextStage != null) { - _config.MergeOutputUserAttributes( - nextStage._config.UsedInputAttributes, - nextStage._config.UsedInputAttributesPerPatch); + _config.MergeFromtNextStage(nextStage._config); } FunctionCode[] code = EmitShader(_program, _config, initializeOutputs: other == null, out _); -- cgit v1.2.3