|
|
@ -1696,7 +1696,6 @@ void EmitContext::DefineOutputs(const IR::Program& program) { |
|
|
Decorate(frag_color[index], spv::Decoration::Location, index); |
|
|
Decorate(frag_color[index], spv::Decoration::Location, index); |
|
|
Name(frag_color[index], fmt::format("frag_color{}", index)); |
|
|
Name(frag_color[index], fmt::format("frag_color{}", index)); |
|
|
} |
|
|
} |
|
|
break; |
|
|
|
|
|
if (info.stores_frag_depth) { |
|
|
if (info.stores_frag_depth) { |
|
|
frag_depth = DefineOutput(*this, F32[1], std::nullopt); |
|
|
frag_depth = DefineOutput(*this, F32[1], std::nullopt); |
|
|
Decorate(frag_depth, spv::Decoration::BuiltIn, spv::BuiltIn::FragDepth); |
|
|
Decorate(frag_depth, spv::Decoration::BuiltIn, spv::BuiltIn::FragDepth); |
|
|
|