From 3c0ec51fa84e68d5a111d3428964a6d631e14bd3 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:31:53 +0200 Subject: [PATCH] clang format --- src/shader_recompiler/frontend/control_flow_graph.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/shader_recompiler/frontend/control_flow_graph.cpp b/src/shader_recompiler/frontend/control_flow_graph.cpp index 4a671b3c6..8c3122b28 100644 --- a/src/shader_recompiler/frontend/control_flow_graph.cpp +++ b/src/shader_recompiler/frontend/control_flow_graph.cpp @@ -142,9 +142,11 @@ void CFG::EmitDivergenceLabels() { curr_begin = -1; continue; } - // If all instructions in the scope ignore exec masking, we shouldn't insert a scope. + // If all instructions in the scope ignore exec masking, we shouldn't insert a + // scope. const auto start = inst_list.begin() + curr_begin + 1; - if (!std::ranges::all_of(start, inst_list.begin() + index, IgnoresExecMask, &GcnInst::opcode)) { + if (!std::ranges::all_of(start, inst_list.begin() + index, IgnoresExecMask, + &GcnInst::opcode)) { // Add a label to the instruction right after the open scope call. // It is the start of a new basic block. const auto& save_inst = inst_list[curr_begin];