[Mesa-dev] [PATCH 2/4] i965/disasm: Add break/cont/halt to list of has_uip().

Matt Turner mattst88 at gmail.com
Mon Aug 25 18:41:55 PDT 2014


---
 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
-- 
1.8.5.5



More information about the mesa-dev mailing list