diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_special.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp index 92aa1b168..6420aaa21 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp | |||
| @@ -92,15 +92,6 @@ void EmitPhiMove(EmitContext& ctx, const IR::Value& phi_value, const IR::Value& | |||
| 92 | 92 | ||
| 93 | void EmitPrologue(EmitContext& ctx) { | 93 | void EmitPrologue(EmitContext& ctx) { |
| 94 | InitializeOutputVaryings(ctx); | 94 | InitializeOutputVaryings(ctx); |
| 95 | |||
| 96 | if (ctx.stage == Stage::Fragment && ctx.profile.need_declared_frag_colors) { | ||
| 97 | for (size_t index = 1; index < ctx.info.stores_frag_color.size(); ++index) { | ||
| 98 | if (ctx.info.stores_frag_color[index]) { | ||
| 99 | continue; | ||
| 100 | } | ||
| 101 | ctx.Add("frag_color{}=vec4(0,0,0,1);", index); | ||
| 102 | } | ||
| 103 | } | ||
| 104 | } | 95 | } |
| 105 | 96 | ||
| 106 | void EmitEpilogue(EmitContext&) {} | 97 | void EmitEpilogue(EmitContext&) {} |