From bef7a025ebd8bbe278b2740441db34484568021c Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 21 Aug 2014 17:01:15 -0700 Subject: [PATCH] i965/disasm: Add break/cont/halt to list of has_uip(). Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_disasm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.30.2