citra-emu
/
citra
Archived
1
0
Fork 0

debugger/shader: print the invert flag for JMPU

This commit is contained in:
wwylele 2017-07-20 23:18:07 +03:00
parent 8375fd2aba
commit b5609e1578
1 changed files with 4 additions and 0 deletions

View File

@ -263,6 +263,10 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
output << ") ";
} else if (opcode_info.subtype & OpCode::Info::HasUniformIndex) {
if (opcode.EffectiveOpCode() == OpCode::Id::JMPU &&
(instr.flow_control.num_instructions & 1) == 1) {
output << '!';
}
output << 'b' << instr.flow_control.bool_uniform_id << ' ';
}