diff options
Diffstat (limited to 'src/shader_recompiler/frontend')
| -rw-r--r-- | src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp index c2443c886..1abe0dda6 100644 --- a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp +++ b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp | |||
| @@ -15,6 +15,7 @@ void ExitFragment(TranslatorVisitor& v) { | |||
| 15 | const std::array<bool, 4> mask{sph.ps.EnabledOutputComponents(render_target)}; | 15 | const std::array<bool, 4> mask{sph.ps.EnabledOutputComponents(render_target)}; |
| 16 | for (u32 component = 0; component < 4; ++component) { | 16 | for (u32 component = 0; component < 4; ++component) { |
| 17 | if (!mask[component]) { | 17 | if (!mask[component]) { |
| 18 | ++src_reg; | ||
| 18 | continue; | 19 | continue; |
| 19 | } | 20 | } |
| 20 | v.ir.SetFragColor(render_target, component, v.F(src_reg)); | 21 | v.ir.SetFragColor(render_target, component, v.F(src_reg)); |