diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-11-08 13:18:46 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-08 13:18:46 -0300 |
| commit | 911ea38e939459c652c6e27a28599340a61267dc (patch) | |
| tree | e0e22a504b67f51625a7c23dd8157bada6841f77 /Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs | |
| parent | 3dee712164e635fd3a0d2e9d359a7d11a80bf675 (diff) | |
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
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Translation/TranslatorContext.cs | 4 |
1 files changed, 1 insertions, 3 deletions
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 _); |
