summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-05-05 12:51:42 -0700
committerChia-I Wu <[email protected]>2013-05-07 12:15:48 +0800
commit4ba9c9c5be52f280a0934ceac66706c4bb2a353f (patch)
tree191ab782f0cd149db3248158d19f6fce2bd72182 /src/gallium/drivers/ilo
parentc9cf83b587fbc679df5ed445bfa12f3227f68a6f (diff)
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]>
Diffstat (limited to 'src/gallium/drivers/ilo')
-rw-r--r--src/gallium/drivers/ilo/shader/toy_tgsi.c1
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 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;