summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-03-09 14:48:45 +0100
committerJannik Vogel <email@jannikvogel.de>2016-03-15 20:01:25 +0100
commit9aad2f29bb5106c840badcce8027f3e0271dfe1f (patch)
treebbe4cc86926927a1f380fb4a1a0c84ffc2836487 /src/citra_qt/debugger
parentUpdate nihstro to latest master (diff)
downloadyuzu-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.cpp12
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;
}