Mesa (master): i965/disasm: Add break/cont/halt to list of has_uip().
Matt Turner
mattst88 at kemper.freedesktop.org
Fri Aug 29 02:07:26 UTC 2014
Module: Mesa
Branch: master
Commit: bef7a025ebd8bbe278b2740441db34484568021c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bef7a025ebd8bbe278b2740441db34484568021c
Author: Matt Turner <mattst88 at gmail.com>
Date: Thu Aug 21 17:01:15 2014 -0700
i965/disasm: Add break/cont/halt to list of has_uip().
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 65c6f23..b73ada8 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
More information about the mesa-commit
mailing list