i965/disasm: Add break/cont/halt to list of has_uip().
authorMatt Turner <mattst88@gmail.com>
Fri, 22 Aug 2014 00:01:15 +0000 (17:01 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 29 Aug 2014 02:06:27 +0000 (19:06 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_disasm.c

index 65c6f23ead64a9fac8e8ef0057092ec0c90bd254..b73ada87c55eefbd2c37a6b93044e59963bb2176 100644 (file)
@@ -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