projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe28b8
)
i965: Add break statement at end of BRW_OPCODE_CONTINUE case.
author
Vinson Lee
<vlee@freedesktop.org>
Wed, 2 Jan 2013 01:02:38 +0000
(17:02 -0800)
committer
Vinson Lee
<vlee@freedesktop.org>
Thu, 3 Jan 2013 06:30:13 +0000
(22:30 -0800)
Fixes missing break in switch defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_emit.c
b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index 8a93ced760ff892c57b8219d099d3fd97313903c..bd9c182d665f57d529daeded61e515cb6ec36157 100644
(file)
--- 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)