From: Vinson Lee Date: Sun, 5 May 2013 19:51:42 +0000 (-0700) Subject: ilo: Add missing break statement in aos_tex TGSI_OPCODE_TEX2 case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ba9c9c5be52f280a0934ceac66706c4bb2a353f;p=mesa.git ilo: Add missing break statement in aos_tex TGSI_OPCODE_TEX2 case. Fixes "Missing break in switch" defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Chia-I Wu --- diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c b/src/gallium/drivers/ilo/shader/toy_tgsi.c index c2b1da5ed55..046c64628a7 100644 --- a/src/gallium/drivers/ilo/shader/toy_tgsi.c +++ b/src/gallium/drivers/ilo/shader/toy_tgsi.c @@ -357,6 +357,7 @@ aos_tex(struct toy_compiler *tc, break; case TGSI_OPCODE_TEX2: opcode = TOY_OPCODE_TGSI_TEX2; + break; case TGSI_OPCODE_TXB2: opcode = TOY_OPCODE_TGSI_TXB2; break;