diff options
author | Jannik Vogel <email@jannikvogel.de> | 2016-03-09 14:48:45 +0100 |
---|---|---|
committer | Jannik Vogel <email@jannikvogel.de> | 2016-03-15 20:01:25 +0100 |
commit | 9aad2f29bb5106c840badcce8027f3e0271dfe1f (patch) | |
tree | bbe4cc86926927a1f380fb4a1a0c84ffc2836487 /src/citra_qt/debugger | |
parent | Update nihstro to latest master (diff) | |
download | yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar.gz yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar.bz2 yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar.lz yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar.xz yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.tar.zst yuzu-9aad2f29bb5106c840badcce8027f3e0271dfe1f.zip |
Diffstat (limited to 'src/citra_qt/debugger')
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index 4b676f1b1..d648d4640 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -179,9 +179,17 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con AlignToColumn(kOutputColumnWidth); print_input(output, src1, swizzle.negate_src1, SelectorToString(swizzle.src1_selector)); AlignToColumn(kInputOperandColumnWidth); - print_input(output, src2, swizzle.negate_src2, SelectorToString(swizzle.src2_selector)); + if (src_is_inverted) { + print_input(output, src2, swizzle.negate_src2, SelectorToString(swizzle.src2_selector)); + } else { + print_input(output, src2, swizzle.negate_src2, SelectorToString(swizzle.src2_selector), true, instr.mad.AddressRegisterName()); + } AlignToColumn(kInputOperandColumnWidth); - print_input(output, src3, swizzle.negate_src3, SelectorToString(swizzle.src3_selector)); + if (src_is_inverted) { + print_input(output, src3, swizzle.negate_src3, SelectorToString(swizzle.src3_selector), true, instr.mad.AddressRegisterName()); + } else { + print_input(output, src3, swizzle.negate_src3, SelectorToString(swizzle.src3_selector)); + } AlignToColumn(kInputOperandColumnWidth); break; } |