diff options
| author | wwylele <wwylele@gmail.com> | 2017-07-20 23:30:34 +0300 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2017-07-20 23:30:34 +0300 |
| commit | d9a05eec0b195ca5e2ce486bbc0087f5edb5cd06 (patch) | |
| tree | 4f36603a83c718f3a4ae80734150e6c9ca628292 | |
| parent | b5711f9f54b3c68d6a108ba5e6c2d2e5f56cd93c (diff) | |
debugger/shader: display LOOP
| -rw-r--r-- | src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp index 1301a3fedc..7f4ec0c52e 100644 --- a/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp +++ b/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: |
