From c2f754196793fc6ad47334c70f4ef5b47011ab42 Mon Sep 17 00:00:00 2001 From: Frodo Baggins Date: Fri, 30 Aug 2024 15:07:36 -0700 Subject: [PATCH] fix clang-format --- src/shader_recompiler/frontend/translate/vector_alu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shader_recompiler/frontend/translate/vector_alu.cpp b/src/shader_recompiler/frontend/translate/vector_alu.cpp index e658456b..7fef9137 100644 --- a/src/shader_recompiler/frontend/translate/vector_alu.cpp +++ b/src/shader_recompiler/frontend/translate/vector_alu.cpp @@ -980,7 +980,8 @@ void Translator::V_BFM_B32(const GcnInst& inst) { void Translator::V_FFBH_U32(const GcnInst& inst) { const IR::U32 src0{GetSrc(inst.src[0])}; - // Gcn wants the MSB position counting from the left, but SPIR-V counts from the rightmost (LSB) position + // Gcn wants the MSB position counting from the left, but SPIR-V counts from the rightmost (LSB) + // position const IR::U32 msb_pos = ir.FindUMsb(src0); const IR::U32 pos_from_left = ir.ISub(ir.Imm32(31), msb_pos); // Select 0xFFFFFFFF if src0 was 0