The WHILE instruction doesn't have UIP. It only has JIP.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
pad(file, 64);
err |= src2_3src(file, inst);
} else {
- if (opcode == BRW_OPCODE_ENDIF) {
+ if (opcode == BRW_OPCODE_ENDIF || opcode == BRW_OPCODE_WHILE) {
format(file, " %d", gen8_jip(inst));
} else if (opcode == BRW_OPCODE_IF ||
opcode == BRW_OPCODE_ELSE ||
- opcode == BRW_OPCODE_WHILE ||
opcode == BRW_OPCODE_BREAK ||
opcode == BRW_OPCODE_CONTINUE ||
opcode == BRW_OPCODE_HALT) {