From: Matt Turner Date: Fri, 22 Aug 2014 00:01:15 +0000 (-0700) Subject: i965/disasm: Add break/cont/halt to list of has_uip(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bef7a025ebd8bbe278b2740441db34484568021c;p=mesa.git i965/disasm: Add break/cont/halt to list of has_uip(). Reviewed-by: Kenneth Graunke --- 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