summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-07-20 22:30:34 +0200
committerwwylele <wwylele@gmail.com>2017-07-20 22:30:34 +0200
commit49602139c8cca0bf20e9c6f95ff8243751401578 (patch)
tree4f36603a83c718f3a4ae80734150e6c9ca628292 /src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp
parentdebugger/shader: print the invert flag for JMPU (diff)
downloadyuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar.gz
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar.bz2
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar.lz
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar.xz
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.tar.zst
yuzu-49602139c8cca0bf20e9c6f95ff8243751401578.zip
Diffstat (limited to 'src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp')
-rw-r--r--src/citra_qt/debugger/graphics/graphics_vertex_shader.cpp4
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 1301a3fed..7f4ec0c52 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: