debugger/shader: print the invert flag for JMPU
This commit is contained in:
parent
8375fd2aba
commit
b5609e1578
|
@ -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