summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-08-21 17:01:15 -0700
committerMatt Turner <mattst88@gmail.com>2014-08-28 19:06:27 -0700
commitbef7a025ebd8bbe278b2740441db34484568021c (patch)
treea902990ff4600f1cd9eb553e6562883e4cf65132 /src/mesa
parent383eccb77e3a2e4f4788455ada9ca7b4497ec8c7 (diff)
i965/disasm: Add break/cont/halt to list of has_uip().
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 65c6f23ead6..b73ada87c55 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -110,7 +110,10 @@ has_jip(struct brw_context *brw, enum opcode opcode)
return opcode == BRW_OPCODE_IF ||
opcode == BRW_OPCODE_ELSE ||
opcode == BRW_OPCODE_ENDIF ||
- opcode == BRW_OPCODE_WHILE;
+ opcode == BRW_OPCODE_WHILE ||
+ opcode == BRW_OPCODE_BREAK ||
+ opcode == BRW_OPCODE_CONTINUE ||
+ opcode == BRW_OPCODE_HALT;
}
static bool