diff options
author | Tony Wasserka <neobrainx@gmail.com> | 2015-04-21 23:16:43 +0200 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2015-08-16 13:19:40 +0200 |
commit | 6a5d560c4f3e58a388964a5fb9720b3b93211a67 (patch) | |
tree | 5985bd795e1b69aab35c1bb21f1eb02ef1b90edf /src | |
parent | Merge pull request #1033 from bbarenblat/master (diff) | |
download | yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar.gz yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar.bz2 yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar.lz yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar.xz yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.tar.zst yuzu-6a5d560c4f3e58a388964a5fb9720b3b93211a67.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/citra_qt/debugger/graphics_vertex_shader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/debugger/graphics_vertex_shader.cpp b/src/citra_qt/debugger/graphics_vertex_shader.cpp index 302e22d7a..b7882741d 100644 --- a/src/citra_qt/debugger/graphics_vertex_shader.cpp +++ b/src/citra_qt/debugger/graphics_vertex_shader.cpp @@ -130,13 +130,13 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con print_input_indexed_compact(output, src1, swizzle.negate_src1, swizzle.SelectorToString(false).substr(0,1), instr.common.AddressRegisterName()); output << " " << instr.common.compare_op.ToString(instr.common.compare_op.x) << " "; - print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(false).substr(0,1)); + print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(true).substr(0,1)); output << ", "; print_input_indexed_compact(output, src1, swizzle.negate_src1, swizzle.SelectorToString(false).substr(1,1), instr.common.AddressRegisterName()); output << " " << instr.common.compare_op.ToString(instr.common.compare_op.y) << " "; - print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(false).substr(1,1)); + print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(true).substr(1,1)); break; } @@ -167,7 +167,7 @@ QVariant GraphicsVertexShaderModel::data(const QModelIndex& index, int role) con // TODO: In some cases, the Address Register is used as an index for SRC2 instead of SRC1 if (instr.opcode.Value().GetInfo().subtype & OpCode::Info::Src2) { SourceRegister src2 = instr.common.GetSrc2(src_is_inverted); - print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(false)); + print_input(output, src2, swizzle.negate_src2, swizzle.SelectorToString(true)); } break; } |