mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
glsl: Remove frag color initialization
This commit is contained in:
parent
3a2dd1b483
commit
cbce9ddd4a
1 changed files with 0 additions and 9 deletions
|
@ -92,15 +92,6 @@ void EmitPhiMove(EmitContext& ctx, const IR::Value& phi_value, const IR::Value&
|
||||||
|
|
||||||
void EmitPrologue(EmitContext& ctx) {
|
void EmitPrologue(EmitContext& ctx) {
|
||||||
InitializeOutputVaryings(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&) {}
|
void EmitEpilogue(EmitContext&) {}
|
||||||
|
|
Loading…
Reference in a new issue