aco: fix missing break in label_instruction()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 May 2020 17:55:56 +0000 (19:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 May 2020 07:00:02 +0000 (09:00 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5129>

src/amd/compiler/aco_optimizer.cpp

index ab9b0f5f6e742083dd06d743cc70bea6c6a10cb5..04385c1fe805b4ba8b789cfad4cb54beaf883356 100644 (file)
@@ -1073,6 +1073,7 @@ void label_instruction(opt_ctx &ctx, Block& block, aco_ptr<Instruction>& instr)
          else
             ctx.info[instr->definitions[0].tempId()].set_literal(v);
       }
+      break;
    }
    case aco_opcode::v_mul_f32: { /* omod */
       /* TODO: try to move the negate/abs modifier to the consumer instead */