Mesa (master): aco: fix missing break in label_instruction()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 21 07:34:09 UTC 2020


Module: Mesa
Branch: master
Commit: 1ad9a8a884eccffb2a450746e5cda8d14da82004
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ad9a8a884eccffb2a450746e5cda8d14da82004

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed May 20 19:55:56 2020 +0200

aco: fix missing break in label_instruction()

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5129>

---

 src/amd/compiler/aco_optimizer.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/amd/compiler/aco_optimizer.cpp b/src/amd/compiler/aco_optimizer.cpp
index ab9b0f5f6e7..04385c1fe80 100644
--- a/src/amd/compiler/aco_optimizer.cpp
+++ b/src/amd/compiler/aco_optimizer.cpp
@@ -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 */



More information about the mesa-commit mailing list