vc4: Add missing break statement.
authorEric Anholt <eric@anholt.net>
Mon, 29 Aug 2016 18:23:35 +0000 (11:23 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 1 Sep 2016 00:06:54 +0000 (17:06 -0700)
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

index 79588b3f51c7383b650c52cdde9a8e66f62ac019..4d371c06b87e2198a7fcdcc2cad527f3c2bc4a8c 100644 (file)
@@ -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