Browse Source

Fix: Remove erroneous break statement in Fragment shader output handling The break statement at lin

pull/3279/head
chrelliott978 4 weeks ago
committed by crueter
parent
commit
f770e73ce3
  1. 1
      src/shader_recompiler/backend/spirv/spirv_emit_context.cpp

1
src/shader_recompiler/backend/spirv/spirv_emit_context.cpp

@ -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);

Loading…
Cancel
Save