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

Author: Vinson Lee <[email protected]>
Date:   Sun May  5 12:51:42 2013 -0700

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 <[email protected]>
Reviewed-by: Chia-I Wu <[email protected]>

---

 src/gallium/drivers/ilo/shader/toy_tgsi.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to