summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-06-20 07:47:56 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:39 +0200
commitcbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e (patch)
treee3b0ec02561191263c3c05a066860c9fb2aded7a
parentglasm: Implement SetAttribute ViewportMask (diff)
downloadyuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar.gz
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar.bz2
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar.lz
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar.xz
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.tar.zst
yuzu-cbce9ddd4a6d948c6d08cbe5f4bb7e228eb4c85e.zip
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_special.cpp9
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&
void EmitPrologue(EmitContext& ctx) {
InitializeOutputVaryings(ctx);
-
- if (ctx.stage == Stage::Fragment && ctx.profile.need_declared_frag_colors) {
- for (size_t index = 1; index < ctx.info.stores_frag_color.size(); ++index) {
- if (ctx.info.stores_frag_color[index]) {
- continue;
- }
- ctx.Add("frag_color{}=vec4(0,0,0,1);", index);
- }
- }
}
void EmitEpilogue(EmitContext&) {}