[Mesa-dev] [PATCH] ilo: Add missing break statement in aos_tex TGSI_OPCODE_TEX2 case.
Vinson Lee
vlee at freedesktop.org
Sun May 5 12:51:42 PDT 2013
Fixes "Missing break in switch" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/gallium/drivers/ilo/shader/toy_tgsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/ilo/shader/toy_tgsi.c b/src/gallium/drivers/ilo/shader/toy_tgsi.c
index c2b1da5..046c646 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;
--
1.8.1.3
More information about the mesa-dev
mailing list