From 5e4eb5bbfe0c8a2a60e4f3fdcbf276f1cce220fa Mon Sep 17 00:00:00 2001 From: chrelliott978 Date: Tue, 6 Jan 2026 01:43:25 +0100 Subject: [PATCH] Update src/shader_recompiler/backend/spirv/spirv_emit_context.cpp --- src/shader_recompiler/backend/spirv/spirv_emit_context.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp index 970d360c21..d52765611f 100644 --- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp +++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp @@ -1695,12 +1695,8 @@ void EmitContext::DefineOutputs(const IR::Program& program) { frag_color[index] = DefineOutput(*this, output_type, std::nullopt); Decorate(frag_color[index], spv::Decoration::Location, index); Name(frag_color[index], fmt::format("frag_color{}", index)); - } else { - frag_color[index] = DefineOutput(*this, F32[4], std::nullopt); - Decorate(frag_color[index], spv::Decoration::Location, index); - Name(frag_color[index], fmt::format("frag_color{}", index)); - } } + break; if (info.stores_frag_depth) { frag_depth = DefineOutput(*this, F32[1], std::nullopt); Decorate(frag_depth, spv::Decoration::BuiltIn, spv::BuiltIn::FragDepth);