mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-23 21:13:20 +00:00
debugger/shader: print the invert flag for JMPU
This commit is contained in:
parent
8375fd2aba
commit
b5609e1578
1 changed files with 4 additions and 0 deletions
|
@ -263,6 +263,10 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
|
||||||
|
|
||||||
output << ") ";
|
output << ") ";
|
||||||
} else if (opcode_info.subtype & OpCode::Info::HasUniformIndex) {
|
} 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 << ' ';
|
output << 'b' << instr.flow_control.bool_uniform_id << ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue