Mesa (master): vc4: Add missing break statement.

Eric Anholt anholt at kemper.freedesktop.org
Thu Sep 1 00:07:43 UTC 2016


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

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Aug 29 11:23:35 2016 -0700

vc4: Add missing break statement.

This opcode isn't used yet, so it didn't affect anything.  Caught by
Coverity, reported to me by imirkin.

---

 src/gallium/drivers/vc4/vc4_qpu_emit.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/vc4/vc4_qpu_emit.c b/src/gallium/drivers/vc4/vc4_qpu_emit.c
index 79588b3..4d371c0 100644
--- a/src/gallium/drivers/vc4/vc4_qpu_emit.c
+++ b/src/gallium/drivers/vc4/vc4_qpu_emit.c
@@ -434,6 +434,7 @@ vc4_generate_code_block(struct vc4_compile *c,
 
                 case QOP_LOAD_IMM_I2:
                         queue(block, qpu_load_imm_i2(dst, qinst->src[0].index));
+                        break;
 
                 case QOP_ROT_MUL:
                         /* Rotation at the hardware level occurs on the inputs




More information about the mesa-commit mailing list