Ver Fonte

debugger/shader: display LOOP

wwylele há 9 anos atrás
pai
commit
49602139c8

+ 3 - 1
src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp

@@ -236,7 +236,9 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con
 
                 switch (opcode.EffectiveOpCode()) {
                 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;
 
                 default: