yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

debugger/shader: display LOOP

This commit is contained in:
wwylele 2017-07-20 23:30:34 +03:00
parent b5609e1578
commit 49602139c8
1 changed files with 3 additions and 1 deletions

View File

@ -236,7 +236,9 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
switch (opcode.EffectiveOpCode()) { switch (opcode.EffectiveOpCode()) {
case OpCode::Id::LOOP: case OpCode::Id::LOOP:
output << "(unknown instruction format)"; output << 'i' << instr.flow_control.int_uniform_id << " (end on 0x"
<< std::setw(4) << std::right << std::setfill('0') << std::hex
<< (4 * instr.flow_control.dest_offset) << ")";
break; break;
default: default: