summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-01-01 17:02:38 -0800
committerVinson Lee <[email protected]>2013-01-02 22:30:13 -0800
commit622d96aae499445f12861214354a5b9f63e3a738 (patch)
tree55fb7981604d854d8dc5a4992b7af65594f476ab /src
parentbfe28b8d938c4082e9334e4ccaf423fcd1625154 (diff)
i965: Add break statement at end of BRW_OPCODE_CONTINUE case.
Fixes missing break in switch defect reported by Coverity. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_emit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 8a93ced760f..bd9c182d665 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -2397,6 +2397,7 @@ brw_set_uip_jip(struct brw_compile *p)
assert(insn->bits3.break_cont.uip != 0);
assert(insn->bits3.break_cont.jip != 0);
+ break;
case BRW_OPCODE_ENDIF:
if (block_end_ip == 0)