From 4ba9c9c5be52f280a0934ceac66706c4bb2a353f Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 5 May 2013 12:51:42 -0700 Subject: 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 --- src/gallium/drivers/ilo/shader/toy_tgsi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/ilo') 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; -- cgit v1.2.3