diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-09-11 05:26:56 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-09-11 05:31:20 +0200 |
commit | 4c3bd33be25867050a6a3a7a09597b239dbb1283 (patch) | |
tree | 36b50af1afc2959abbe00330b6f3fbc4ab03d368 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Use open-source shared fonts if no dumped file is available (#1269) (diff) | |
download | yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar.gz yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar.bz2 yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar.lz yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar.xz yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.tar.zst yuzu-4c3bd33be25867050a6a3a7a09597b239dbb1283.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 762e58aad..e350113f1 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -1023,7 +1023,7 @@ private: // TODO(Subv): Figure out how dual-source blending is configured in the Switch. for (u32 component = 0; component < 4; ++component) { if (header.IsColorComponentOutputEnabled(render_target, component)) { - shader.AddLine(fmt::format("color[{}][{}] = {};", render_target, component, + shader.AddLine(fmt::format("FragColor{}[{}] = {};", render_target, component, regs.GetRegisterAsFloat(current_reg))); ++current_reg; } |